Announcement

Collapse
No announcement yet.

Tryin to send a specific midi-value with a toggle button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tryin to send a specific midi-value with a toggle button



    Hi there!

    I have a problem, i try to control the grid-parameter for ableton live.

    This parameter is controlled by a soft-knob and has 16 levels (1 Bar; 3/4; 1/2; 1/3; 1/4; 1/6 and so on..)

    Now i want to control it with my iPad and with buttons. I use it with TouchOSC and OSCulator.

    I don´t wanna control each level, i wanna control only 1/4, 1/8, 1/16 and 1/32 with a click on

    a button that is specify for one grid.


    I have try to realize it with scaling but i´m failed. What i have to config if i have 4 buttons which control it?

    for example:


    /EFX/toggle1 In. min =0,0 In. max = 40,0(?) cap activated?

    /EFX/toggle2 In. min =41,0 In. max = 60,0(?) cap activated?

    /EFX/toggle3 In. min =61,0 In. max = 80,0(?) cap activated?

    /EFX/toggle3 In. min =81,0 In. max = 127,0(?) cap activated?


    or


    /EFX/toggle1 In. min =0,0 In. max = 0,32(?) cap activated?

    /EFX/toggle2 In. min =0,33 In. max = 0,47(?) cap activated?

    /EFX/toggle3 In. min =0,48 In. max = 0,63(?) cap activated?

    /EFX/toggle3 In. min =0,64 In. max = 1,0(?) cap activated?


    both does not work


    Thanks for Help.


  • #2


    You are on a good way, but what you need to change is the output min and max.

    If you use a button in TouchOSC, its output is between 0 and 1, so that is what should be the input min and max.


    Also, make sure you are using the latest version (2.10) because it makes it easier to assign MIDI valuesas you did you can directly type the values as a MIDI number.


    Finally, you want your button to send the same value for the on and off positions, so you just put the same value in the output min and output max fields. For instance, you could configure things like this:


    /EFX/toggle1 In. min =0,0 In. max = 1 Out min = 41 Out max = 41

    ...


    Don't bother with the cap checkbox, it is useful only if you want to trigger the event only if the button is pushed or released but not both.


    Best,

    Cam

    Comment


    • #3


      Thanks for answer, i did it before i read your post!

      Another questing for you:


      When i have a poti on my ipad, called "/efx/toggle1"

      and i set the input-value


      In. min=0,0 In. max= 0,5


      and output to


      Out min= 0,0 Out max=1


      What it does? A coarser resolution?

      Comment


      • #4


        Another questing for you:
        Another QUESTION for you... is better...

        Comment


        • #5


          One more question:

          Is it possible to control my plugin "Looper" with a LED on my iPad?




          Here you see my TouchOSCsurface.


          LED1 should light up when playing a loop, so when Button1 is active in the next picture.

          The same is true for Button2 and LED2!




          Comment


          • #6


            Okay... i did it all... thx for this program!

            Comment


            • #7


              Hey Electrow,

              Sorry for not answering earlier.

              About the LEDs: there are several tutorials about leds on this website, check the documentation section, or search the forum for "touchosc LEDs" in the Goggle custom search box you should have interesting answers.


              And for the input min/max values question :

              Basically with input min/max you tell OSCulator what is the range of the input as you know it. With output min/max, you give the range of the output.


              So, if you use input min = 0.0, input max = 0.5 (and leave output min/max to the defaults), you scale the signal by 2. Thus, if the input value is 1, the output value will be 2.


              Cam

              Comment

              Working...
              X