[PD] length of [list] and how to pipe a [list]

Frank Barknecht fbar at footils.org
Wed May 31 21:42:15 CEST 2006


Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:

> or you can build something similar to pipe on your own using [del]
> and [list] etc.

To clarify what I mean here see attached little patch. Note that the
delay times are "inter onset times", that is, delay times between
every event, and not absolute delays like [pipe] uses. You can convert
between these two kinds of delay times for example by substraction of
successive times, if you have absolute delays in the beginning, but
you need to sort the events first in that case.

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__
-------------- next part --------------
#N canvas 314 230 554 482 10;
#X obj 100 241 del;
#X obj 116 304 list;
#X obj 100 181 list split 1;
#X obj 100 211 t b f;
#X obj 116 339 print;
#X obj 100 151 textfile;
#X msg 125 119 rewind \, bang;
#X obj 86 267 t b b;
#X msg 100 58 clear \, add 0 a \, add 1000 a b \, add 500 a b c;
#X text 125 99 Play it;
#X obj 24 119 r \$0-next;
#X obj 43 304 s \$0-next;
#X text 100 34 Fill it with "delay value[s]" lists;
#X connect 0 0 7 0;
#X connect 1 0 4 0;
#X connect 2 0 3 0;
#X connect 2 1 1 1;
#X connect 3 0 0 0;
#X connect 3 1 0 1;
#X connect 5 0 2 0;
#X connect 6 0 5 0;
#X connect 7 0 11 0;
#X connect 7 1 1 0;
#X connect 8 0 5 0;
#X connect 10 0 5 0;


More information about the Pd-list mailing list