Forum
    • Categories
    • Register
    • Login

    Capturing CC values for Assigned Controllers....

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 12 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LindonL
      Lindon
      last edited by

      So I have a couple of LAF-ed sliders to represent Pitch Wheel and Modulation Wheel

      c368b2bb-5ee3-4320-b1a3-8a98edcb0e97-image.png

      In my on Controller call back I look for their CC numbers and move them accordingly...

      function onController()
      {
      	if(Message.getControllerNumber() == 1)
      	{
      		 ModulationControlDisplay.setValue(Message.getControllerValue());
      	};
      
      	if(Message.getControllerNumber() == 128)
      	{
      		PitchControlDisplay.setValue(Message.getControllerValue());
      	};
      }
      

      This all works fine - I wiggle either of these and the sliders get re-drawn.... until.....

      I assign CC1 to some on-screen widget..... now wiggling the Mod Wheel moves this on-screen widget...but I dont get to see the CC value showing up in my script, so the LAF-ed wheel never gets redrawn....

      Do we have a work around?

      HISE Development for hire.
      www.channelrobot.com

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @Lindon
        last edited by

        @Lindon This be what you're needing: https://docs.hise.audio/scripting/scripting-api/midiautomationhandler/index.html

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @David Healey
          last edited by

          @David-Healey yes thank you - perfect.

          HISE Development for hire.
          www.channelrobot.com

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          22

          Online

          2.3k

          Users

          13.7k

          Topics

          118.8k

          Posts