hi again,
forgot to put the link
http://megalego.free.fr/pd/patko/list-sequence/
ciao
----- "patko" colet.patrice@free.fr a écrit :
Hello,
----- "jm jones" juanmjv@gmail.com a écrit :
Hi, Im learning pd, making my first patch. I'm reading Johannes Kreidler book "loadbang", but I want to learn some things right
now
: ) I make a BPM metro (bpm number / 60000 to metro right inlet), but I
[expr (60/$f1)*1000] makes a BPM to ms converter
dont know how to connect that to other sections in the patch.
what about using [send] and [receive] ?
For example, I have an abstraction with a sequence of frequencies and a metro. I want that subpatch/abstraction to be "launched" in time according to the global bpm metro, but maintaining the value of
his
own metro.
I would put the metro value as an abstraction variable, like $1, but protect it by using $0 of main patch as a variable too. it would give sommething like [freq-seq $0 500], then the values would be retrieved through an object's variable called with dollar number
[metro $2] for retrieving time value, and [send $2-freqs] for sending value,
then [receive $0-freqs] in main patch.
the freqs could be stored in a table inside the abstraction, but they would need to be filled by the main patch.
Also you might be interested about an abstraction I've made for this kind of sequencing... it's called [list-tuplet], and rather use [delay] instead of [metro] for eventually processing asymmetric time intervals, it still needs improvements, and the help file is kinda crappy, but you might find it interesting in your project.
Thanks in advance.
-- JM Jones
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Patrice Colet