Send Sysex in a Method

Home Forums General Programming Send Sysex in a Method

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #117629
    jmarco
    Participant
      • Topics: 9
      • Replies: 22
      • Total: 31
      • ★

      Hello.

      Is it possible to send a SysEx message from a method? I have a bug in a button, where I want to send a Sysex msg and call a method in a click usual way, but Ctrlr doesn’t let me.

      So I decided to do so, but I cann’t.

      If someone please can give a hand… 🙂

      Thanks in advance.

      João Marco

      #117631
      dnaldoog
      Participant
        • Topics: 4
        • Replies: 480
        • Total: 484
        • ★★

        Can you show us the code or panel?

        #117632
        jmarco
        Participant
          • Topics: 9
          • Replies: 22
          • Total: 31
          • ★

          Hello, Dnalnoog.

          I’ve found it!

          panel:sendMidiMessageNow(CtrlrMidiMessage(“f0 42 30 4c 7e 1a 00 f7″))

          Well, now Ctrlr begins to open my spirit to MIDI – Lua is a simple languange but can be deep and complex.

          I’m compiling some codes to get into programing in a faster way.

          IS there some dictionary with Ctrlr lines? For example:

          To send MIDI:
          panel:sendMidiMessageNow(CtrlrMidiMessage(” your Sysex here”))
          something like that would simplify all my life! 🙂

          Thanks for your answer.

          João Marco

          #117638
          Tedjuh
          Participant
            • Topics: 9
            • Replies: 97
            • Total: 106
            • ★★

            Nope.. no dictionary. Best thing to do is to look at other panels.. look at demo panels in your ctrlr folder. You can even take a long hard look at the juice classes.

            The forum has a search function. The forum itself is a good information source to teach you how to program certain things.

            Daunting, I know.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The forum ‘Programming’ is closed to new topics and replies.
          There is currently 0 users and 76 guests online
          No users are currently active
          Forum Statistics
          Threads: 2,495, Posts: 17,374, Members: 77,605
          Most users ever online was 12 on January 22, 2019 3:47 pm
          Ctrlr