And with this method you can even do something like:
[select C4 C#4 D4 ...] | | | [60( [61( [62( ...
and then copy it and paste it several times and change the arguments and messages. (Saves a TON of mouse clicks!)
Note, I'm note sure if midi 60 is really C4 off the top of my head!
~Kyle
On 9/26/07, Frank Barknecht fbar@footils.org wrote:
I think, the pdmtl collection has some objects for this. But it's not hard to make your own and maybe it's a good excercise. One basic idea could be to use [select] or [route] to route symbols accordingly. For example
[select C C# D ...] | | | [60( [61( [62( ...
It's a bit tedious to patch this for all notes, but make an abstraction out of it and you only need to do it once and then can reuse that abstraction your whole Pd life.
Hint: Don't make a [select] with 128 arguments, instead use several [select]s and connect the last and first inlets like:
[select a b c d ... i j ]/[select k l m ... o] ...
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list