Midi echo in vst mode after midiMessageReceived

Home Forums General Programming Midi echo in vst mode after midiMessageReceived

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #569
    DMM
    Participant
      • Topics: 6
      • Replies: 46
      • Total: 52

      I’m having some trouble with midiMassageReceived in vst mode.
      When I send a programdump to the panel all the modulators send their value back to the synth.
      This only happens in the vst mode.
      Does anyone know what’s wrong?

      #3989
      dasfaker
      Keymaster
        • Topics: 80
        • Replies: 793
        • Total: 873
        • ★★★

        I think you have to use setModulatorValue(value, false, [u:10o68drk]false[/u:10o68drk],true). If you set the underlined false to true it will send the value to the midi device

        #3990
        DMM
        Participant
          • Topics: 6
          • Replies: 46
          • Total: 52

          Thank you dasfaker! Problem solved.

          Strange thing is that you have to do it in the whole list.
          I dit try to set half of the list to (false ,false ,true)) with no effect.

          I’m stil having troubles with random updating of the modulators with the same sysex string.
          Any idea where that problem is coming from?

          #3991
          atom
          Keymaster
            • Topics: 159
            • Replies: 2945
            • Total: 3104
            • ★★★★★

            Could you be more specific? What sysex is comming in and witch modulators are reacting to it. Also if u disable your lua method does it still happen?

            #3992
            DMM
            Participant
              • Topics: 6
              • Replies: 46
              • Total: 52

              The problem is only my lua method related (midiMessageReceived).
              When i send an patchdump sysexstring the modulators don’t update to the right value. (99,9% sure i’ve got the right bytes)
              When i’m sending de same patchdump a second time the modulators go to a diverend value. (did check the midimonitor to see
              if the sysexstring is exactly the same)

              I’ll make a button with an complete patchdump string and make a midiloop to see if i can recreate the problem without the synth.

              #3993
              DMM
              Participant
                • Topics: 6
                • Replies: 46
                • Total: 52

                Value update issue solved!
                My bad;-)
                Did not get the method right.
                My error (programData = midiMessage:getLuaData():getRange(7,66))
                Changed it to (programData = midiMessage:getLuaData():getRange(1,66))
                Now everything works fine!

              Viewing 6 posts - 1 through 6 (of 6 total)
              • The forum ‘Programming’ is closed to new topics and replies.
              There is currently 0 users and 132 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