Home › Forums › General › Using Ctrlr › UiButton on/off values
- This topic has 7 replies, 4 voices, and was last updated 9 years, 10 months ago by enrique.
-
AuthorPosts
-
June 25, 2014 at 9:54 pm #25285
Hello I am new here, and sorry for my english, my question is:
I wont to send a program change with this toggle button, i have to send a program change when is on, and another when is off.
Sorry, i know that is simple, but I dnt Know.
Thanks in advanceJune 26, 2014 at 11:01 am #25298hi
on the modulator properties menu
set MIDI message type to ProgChange
set Value for ON state and Value for OFF state
there is a lot of properties so at first you need to look carefullyJune 28, 2014 at 7:43 pm #25396I’m not sure why it is not sending the on value there but “1” :
An Idea ?
Thanks
Attachments:
You must be logged in to view attached files.June 28, 2014 at 11:43 pm #25402Thank you very much, Zeoka for your help. I try to change values On state and Off state on componenet, but makes nothing.
Perhaps you say that I have to change this values on the yellow mark of the attached document.
I have a doepfer maq 16/3 sequencer, and what I wont to do is send a program change 17 with the on button to say step ON and program change 32 with the off button to say step OFF.
Thanks again.
EnriqueAttachments:
You must be logged in to view attached files.June 29, 2014 at 10:49 am #25414Are mim and enrique the same people here?
T…what I wont to do is send a program change 17 with the on button to say step ON and program change 32 with the off button to say step OFF.
To do that you would simply put the value of the program change in the “button values” property field of the button like so:
Off = 32
On = 17mim – I would try that, and ignore the fact for now that “Value for on state” etc does not reflect the hardcoded values you’re designating in the button values field.
in ctrlr if you want to assign fixed values (for things like combo boxes or non 1-127 knobs) just use a fixed image slider or combo box with the value name first and the actual value being sent next w/ the = between the two. ..
combobox values might be something like:
off = 0
on = 1
something else = 2or something like when a knob doesn’t go from 0-127:
0=0
1=16
2=32
3=48
4=64
5=80
6=96
7=112Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen
June 29, 2014 at 12:52 pm #25419Thanks msepsis !
LOL we are not the same guy. Enrique has problem with Program Change and I have problem with Control Change. I figured I’d used this thread since it is on topic for my problem.
I ended up using a combo box for my on/off state to set the value of 64 if it is ON. Nice idea.
I’ll have some test and release my (hideous) Jomox MBase 11 control panel.
- This reply was modified 9 years, 10 months ago by mim.
June 30, 2014 at 12:12 am #25453The uiToggle button works but not the UIbutton
Enrique Use the toggle button as you mentioned before instead of uiButton
set the value ON and OFF where Mim shows us
or possible to do a simple script in “Called when the value change”
or use expression in yellow on your pic
but I don’t know how to put non logical expressions
maybe just
32,17 or modulatorValue = 32,modulatorValue = 17
Anyone use expressions with chaotic values to send ? ex 12,5,18,17,14
Edit
Tried this on uiButton : modulatorValue + 32,modulatorValue + 17
strange results : cd20 ,cd21 😀
SO THE TOGGLE IS OK : c0 20,c0 11- This reply was modified 9 years, 10 months ago by zeoka.
June 30, 2014 at 9:11 pm #25486Thanks Zeoka and Msepsis I resolve with your apreciated help, it was easy, only put some values in “button values” , but with your help.
Another question, there are some tutorial about that program?.
Not with the xml, because I Know nothing about that, I would like to know how to change Uibuttons of the panel and if it is posible to import:
Thanks again and sorry about my english, I come from Spain. -
AuthorPosts
- The forum ‘Using Ctrlr’ is closed to new topics and replies.