I have created my first complete PD template.
And its working almost fine.
I still have a problem that i do not get fixed.
How can i send data when i release a toggle button?
Greets,
Bob
Beginners question: Toggle button state
I have created my first complete PD template.
And its working almost fine.
I still have a problem that i do not get fixed.
How can i send data when i release a toggle button?
Greets,
Bob
Hi cyberbob,
I don't know if I can surely understand your question.
Would this be helpful?
[toggle]
|
[moses 0.5]
| |
[bang( [bang(
With this, what you have is when toggle's value becomes 0 (zero) left bang is triggered. If the value becomes 1, right bang is triggered.
After each bang you just throw in what you have in mind to be triggered.
Or you can try something with the "spigot" object
Hmm i am trying, but did not had that much luck yet.
What i am trying to do is fake an toggle state.
I have a button that lits up an led when i press it the first time. Then it sends 127 to midiyoke. When i press that button again, it sends 0 to midiyoke.
To correctly interface with the software i am using it with. This toggle button needs to send 127 when i press the button, and when i release the button.
The software i use does not have feedback of midi, and i like to see the status of the leds, cause then i dont need to watch my monitor.
PS. I just troed it, but i dont seem to get it working.
in the current output i need to press 2x to activate or deactivate the function.
current =
[OSCroute /toggle4 ]
|
Oops! Looks like something went wrong!