In the screenshot you can see a simple setup
4 steps triggering a vst ( microtonic ) over midi .
They are all triggering the same note but with a different velcocity
I used a trig bang bang for each gate so that first the velocity is triggered -then the note , however sometimes the velocity value does not match with the trigger , previous velocity is used for current trigger etc.
All help is welcome
-
Best method to get velcity paieed with note ( midi)
-
@gentleclockdivider Unless there is a bug in purr data that is not possible (looking of course only at a screenshot).
To be double double sure.... you can pass the note and velocity into [makenote] as a list (see the help file)... so for example...
[spigot]
|
[36 68(
|
[makenote]David.
-
@whale-av
Yes , but evenually I want the velocity to be variable for each step , perhaps I could make a list 66 ,$1 , were 66 is note nr and $1 variable for velocity
No it's working properly
edit ..I am using plugdata
-
Quick question , when I bang trigger the message that has a variable ,everything's ok
WHen bang the message directly (clicking message) , the variable is not kept in memory .
-
@gentleclockdivider That's right. The $1 takes the value of the incoming float. If there is a list arriving then a $2 would take the value of the second item in the list.... $3 the third etc.
But they don't hold the value.
You can use [f] to store a float, or [symbol] to store a symbol, and [list] to store a list.$1 $2 etc. is quite powerful as you can swap the order and make composite symbols.... eg. $2$1
As you have found though, a comma between 2 items in a list will send them onward one after the other, and not as a list.
David.