Hello, im trying to send a message to vline~ to read an array that has a Gaussian envelope and id like to change the values in the message dynamically so the patch reads the array faster or slower.
I read a way to do this somewhere in Andy Farnell´s book and i remember it has something to do with a message box and "set" but i cant seem to make it work...
I´ve attached a small patch.
Thanks in advance.
-
Make message boxes work as number boxes
-
You don't need [set( for this. You can just use $ variables. For example:
(some number)
|
[0 $1, 1 $1 $1(
|
[vline~]All of the $1's will get replaced by the incoming number. Take a look at Help -> Browser -> PureData -> 2.control.examples -> 14.dollarsigns.pd.
-
this solved my problem, thank you.
-
hmm... now everytime i type a number it sounds twice, like if it was triggering the envelope twice...
-
oh nevermind i solved that one. thanks again.