VALUES TO HOST IN EDIT MODE

Home Forums General Programming VALUES TO HOST IN EDIT MODE

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10408
    KALYWAY
    Participant
      • Topics: 9
      • Replies: 23
      • Total: 32

      hello i have removed some thing in ctrlrslider.cpp you can see :
      near line 78

      {
      if (sliderThatWasMoved == &ctrlrSlider)
      {
      //kalyway disabled this to send values from sliders to host also in edit mode : //

      // if ((bool)owner.getOwner().getEditor()->getProperty(Ids::uiPanelEditMode) == true)

      setComponentValue (ctrlrSlider.getValue(), true);

      }
      }

      is this a good fix ? if i use the ctrlr plugin in edit mode on some host i can test directly the midi settings off my component (cc sysex .etc …) !!!
      isn’t IT ?

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

        You are only half correct, edit mode is a special mode where some things do’nt get update (because modulators are removed/added), only exiting the edit mode will actually update all internals in Ctrlr to make it work (a lot of MIDI stuff happens when edit mode is switched on->off, this happens on every Ctrlr start).

        So i wouldn’t change that, i was asked to do something oposite really, i was asked for a complete silence when in edit mode (no MIDI, no VST, no LUA).

        #10410
        KALYWAY
        Participant
          • Topics: 9
          • Replies: 23
          • Total: 32

          ok , ok , you are more correct than me ! , i have activated the values sending in edit mode it’s a personal choices for tests/dev
          complete silence in edit mode it’s a good default setting for your software

          kalyway.

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