1
#N canvas 7 31 1178 587 12;
5
#X floatatom 546 382 0 0 0;
9
#X obj 441 544 print this;
10
#X obj 544 544 print that;
11
#X obj 560 356 print done;
12
#X msg 593 80 tempo 1;
13
#X text 18 51 The qlist object reads text files containing time-tagged
14
Pd messages. You can have them sequenced automatically (by sending
15
a "bang" message \, possibly changing speed via "tempo" messages) or
16
manually via the "rewind" and "next" messages.;
17
#X text 15 136 To run the qlist automatically \, send it a "read" message
18
(the filename is relative to the directory the patch is in) and later
19
a "bang." Messages in the file are separated by semicolons. Optional
20
leading numbers are delay times in milliseconds. If the tempo is diffrerent
21
from 1 the messages are sent faster or slower accordingly. Messages
22
should start with a symbol giving the destination object. In the file
23
"qlist.q" used here \, the messages go to objects "this" and "that"
24
which are receives below.;
25
#X text 17 281 To run it manually \, send "rewind" followed by "next".
26
All messages not preceeded by numbers are sent. As soon as a message
27
starting with one or more numbers is encountered \, the numbers are
28
output as a list. There are many ways you could design a sequencer
30
#X text 668 48 sequence automatically;
31
#X text 670 79 set relative tempo;
32
#X text 668 105 go to beginning (and stop);
33
#X text 668 132 single-step forward;
34
#X text 713 273 read a file;
35
#X text 777 300 write one;
36
#X text 552 404 This outlet gets a list of leading numbers for the
37
next message \, for you to use in designing your own sequencer.;
38
#X msg 586 274 read qlist.txt;
39
#X msg 586 300 write /tmp/qlist.txt;
40
#X text 21 493 see also:;
41
#X obj 97 493 textfile;
42
#X text 22 362 You can also record textual messages and save them to
43
a file. Send "clear" to empty the qlist and "add" to add messages (terminated
44
with semicolons.) The message \, "add2" adds a list of atoms without
45
finishing with a semicolon in case you want to make variable-length
48
#X msg 589 216 add 500 this is another message;
49
#X msg 590 242 add2 that;
50
#X text 666 187 empty the qlist;
51
#X text 882 217 add a message to a qlist;
52
#X text 683 240 add a message to a qlist but don't terminate it;
53
#X text 653 341 This outlet gets a bang when you hit the end of the
54
sequence. In the file "qlist.txt" the end is delayed 1000 milliseconds
55
after the last message.;
56
#X text 379 470 These receives are invoked in the file "qlist.txt"
59
#X text 132 15 - text-based sequencer;
60
#X text 668 158 single-step forward SUPRESSING MESSAGE-SENDING;
61
#X msg 591 161 next 1;
62
#X text 921 558 updated for Pd version 0.35;