Hey. Im pretty new to pd and im a bit confused. Im working on my Diploma, a light show for a Band called Brandt Brauer Frick. You can see a layout graphic here http://www.sebastian-selbach.com/wp-content/uploads/2011/08/Stage.jpg. The light-show will be composed in Ableton Live an i need a sort of preview screen for midi data. My question is how do i get the velocity of one singel Midi note.
I know that i can isolate the channel with notein 1 but how does it work for the midi note? thanks in advance.
-
Midi/notein - isolate midi note + velocity
-
Hi,
The second outlet of [notein] will give you the velocity, the first outlet is the pitch.
-
Thanks for your replie. The second outlet reads the velocity of all pitches/notes in a midi track. For eyample I have a midi track with several notes and each note has his own velocity. Now i just want to have the velocity of one note for eample C-2.
-
There's an object called [pack] that you can use to create pairs or lists of data.
Pack the the output of [notein 1] so that you have a list with the following data: 'pitch velocity'
Then you can use the [route] object to strip out these list pairs according to a certain pitch value. For example [route 16] would filter out all C-2 notes.
So a [route 16] object would output all velocity values that have a corresponding pitch value of 16.e.g:
[notein 1]
| |
[pack f f]
|
[route 16]
|
'velocity values for C-2'