Asigning values to combo box ALWAYS send midi

Home Forums General Programming Asigning values to combo box ALWAYS send midi

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #55659
    artofnois
    Participant
      • Topics: 26
      • Replies: 40
      • Total: 66

      When I recive a sysex message and translate to panel modulators, the Combobox allways send associated midi message, which is a problem changing again the synth value.
      I trid with setModulatorValue, setValue, …..

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

        Yes, it’s annoying.

        Until this is solved, you could do the following (not tested): Before assigning values, change the midi message type of all needed combos to none, so the don’t output any midi message, assign the values and restore the midi message type of the combos.

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

          There is a special method to control the Combo as a GUI only component, and you can change the contents of the combo without it doing anything else.

          c = panel:getCombo(“myCombo”)
          c:setText (“Value 1”, true)

          (true means DONT send change message, this is the only place where JUCE has this the other way aroung, instead of true meaning YES SEND CHANGE message this is the other way around)

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

            But this only displays the new content in the combo, and as soon you click on the combo to show the list of elements, the new content is gone and the old list is still there.

          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 67 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