Called when a modulator value changes and dead link

Home Forums General Programming Called when a modulator value changes and dead link

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #70486
    m.tarenskeen
    Participant
      • Topics: 30
      • Replies: 113
      • Total: 143
      • ★★

      When I initialize “when a modulator value changes”, the template starts with

      --
      -- Called when a modulator value changes
      -- @mod   http://ctrlr.org/api/class_ctrlr_modulator.html
      -- @value    new numeric value of the modulator
      --

      I can understand the value thing, but what can I do with the mod variable?
      The link http://ctrlr.org/api/class_ctrlr_modulator.html gives a 404 error.

      • This topic was modified 7 years, 3 months ago by m.tarenskeen.
      #70491
      Possemo
      Participant
        • Topics: 14
        • Replies: 638
        • Total: 652
        • ★★★

        This selects the actual modulator. Here an example:

        if mod:getComponent():getProperty(“uiType”)==”uiFixedSlider” then…

        This looks at the actual modulator if its uiType is “uiFixedSlider”.

        #70506
        m.tarenskeen
        Participant
          • Topics: 30
          • Replies: 113
          • Total: 143
          • ★★

          Thanks for clarifying. I think I can use that.

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