I need a way to send 4 non standard midi messages using one knob or combo box

Home Forums General Programming I need a way to send 4 non standard midi messages using one knob or combo box

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #69477
    memorysplice
    Participant
      • Topics: 14
      • Replies: 59
      • Total: 73

      I have these 5 messages that control the fx on the synth that I am coding a panel for.

      message 1

      Thru

      
      00  F0 41 10 00 00 00 0E 12  18 00 02 00 00 7F 32 32  | A            22|
      10  01 00 40 00 40 00 40 00  40 00 00 00 00 08 00 00  |  @ @ @ @       |
      20  00 7A F7                                          | z |
      

      Distortion

      
      00  F0 41 10 00 00 00 0E 12  18 00 02 00 01 7F 32 32  | A            22|
      10  01 00 40 00 40 00 40 00  40 00 00 00 00 08 00 05  |  @ @ @ @       |
      20  00 08 00 06 0E 08 00 00  02 08 00 07 0F 30 F7     |             0 |
      

      Fuzz

      
      00  F0 41 10 00 00 00 0E 12  18 00 02 00 02 7F 32 32  | A            22|
      10  01 00 40 00 40 00 40 00  40 00 00 00 00 08 00 04  |  @ @ @ @       |
      20  06 08 00 06 04 08 00 00  03 08 00 07 0F 33 F7     |             3 |
      

      Compression

      
      00  F0 41 10 00 00 00 0E 12  18 00 02 00 03 7F 32 32  | A            22|
      10  01 00 40 00 40 00 40 00  40 00 00 00 00 08 00 02  |  @ @ @ @       |
      20  08 08 00 00 03 08 00 00  09 08 00 00 00 08 00 03  |                |
      30  02 3C F7                                          | < |
      

      Bit Crusher

      
      00  F0 41 10 00 00 00 0E 12  18 00 02 00 04 7F 32 32  | A            22|
      10  01 00 40 00 40 00 40 00  40 00 00 00 00 08 00 07  |  @ @ @ @       |
      20  0F 08 00 04 0B 08 00 04  06 08 00 05 05 25 F7     |             % |
      

      How do I create a knob or combo box to transmit the message to change the fx type.

      #69478
      goodweather
      Participant
        • Topics: 45
        • Replies: 550
        • Total: 595
        • ★★★

        Do you want to send all at once or each separately (for example having a button setting the value of each effect)?
        I have the latter on my Pro 2…
        Let me know and I explain you any of the option. Rather easy in fact… 🙂

        #69479
        memorysplice
        Participant
          • Topics: 14
          • Replies: 59
          • Total: 73

          I am wanting to send them separately. Think a knob or a switch that goes from fx1, fx2, fx3, fx4 and bypass.

          #69480
          goodweather
          Participant
            • Topics: 45
            • Replies: 550
            • Total: 595
            • ★★★

            Then I see 2 options…

            • create a uiImageSlider (if for example each effect can go from 0 to 127 or 255 or whatever) or a uiImageButton (if you prefer a switch)
            • Option 1: create a “OnChange” method that you will attach to the “Called when modulator change” property. In that method you will insert the following code:
              mbTemp= MemoryBlock ({0xF0, 0x01, 0x2C, 0x03}) -- Replace this with the first part of your sysex
              mbTemp:append(value) -- add this at the right position if the value is changing when you turn the knob
              mbTemp:append({0xF0, 0x01, 0x2C, 0x03}) -- Replace this with the end of your sysex
              panel:sendMidiMessageNow(CtrlrMidiMessage(mbTemp)) -- To send to your synth
            • Option 2 (didn’t test this myself – search on the forum for example): at modulator level you can enter a sysex string in the Midi – Sysex formula property. I suppose there is a way to specific that one digit should be the current value of the modulator…

            Good luck…

            #69483
            goodweather
            Participant
              • Topics: 45
              • Replies: 550
              • Total: 595
              • ★★★

              You can also build your message as:

              msg = string.format("F0 01 2C 06 F7")
              panel:sendMidiMessageNow(CtrlrMidiMessage(msg))
            Viewing 5 posts - 1 through 5 (of 5 total)
            • The forum ‘Programming’ is closed to new topics and replies.
            There is currently 0 users and 115 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