Restarting a program every time you change a value in the Inspector is inconvenient. With tweak-*
nodes, you can adjust values while the program is running.
On the current patch we added a tweak-number
linked to IVAL
already.
Let’s learn how to add new tweaks to your program and control them in runtime.
tweak-number
node to the patch.tweak-number
’s output pin to count
’s STEP
pin.2.0
and press Enter.clock
’s IVAL
pin.Take a note how the changes are immediately applied while you are in the simulation mode. Try some other values and see how they behave.
Use Up/Down keyboard keys in the Inspector to adjust numeric values by 0.1. Hold Shift to adjust by 1.0.