#N canvas 278 34 1057 555 12;
#X obj 489 331 qlist;
#X msg 509 109 rewind;
#X msg 515 134 next;
#X floatatom 489 385 0 0 0 0 - - -;
#X msg 489 57 bang;
#X obj 577 468 r this;
#X obj 680 468 r that;
#X obj 577 497 print this;
#X obj 680 497 print that;
#X obj 521 359 print done;
#X msg 500 83 tempo 1;
#X text 21 54 The qlist object reads text files containing time-tagged
Pd messages. You can have them sequenced automatically (by sending
a "bang" message \, possibly changing speed via "tempo" messages) or
manually via the "rewind" and "next" messages.;
#X text 18 139 To run the qlist automatically \, send it a "read" message
(the filename is relative to the directory the patch is in) and later
a "bang." Messages in the file are separated by semicolons. Optional
leading numbers are delay times in milliseconds. If the tempo is different
from 1 the messages are sent faster or slower accordingly. Messages
should start with a symbol giving the destination object. In the file
"qlist.q" used here \, the messages go to objects "this" and "that"
which are receives below.;
#X text 20 284 To run it manually \, send "rewind" followed by "next".
All messages not preceded by numbers are sent. As soon as a message
starting with one or more numbers is encountered \, the numbers are
output as a list. There are many ways you could design a sequencer
around this.;
#X text 525 57 sequence automatically;
#X text 559 82 set relative tempo;
#X text 559 110 go to beginning (and stop);
#X text 551 133 single-step forward;
#X text 648 260 read a file;
#X text 699 283 write one;
#X text 488 407 This outlet gets a list of leading numbers for the
next message \, for you to use in designing your own sequencer.;
#X msg 541 260 read qlist.txt;
#X msg 547 283 write /tmp/qlist.txt;
#X text 64 482 see also:;
#X obj 140 482 textfile;
#X text 25 365 You can also record textual messages and save them to
a file. Send "clear" to empty the qlist and "add" to add messages (terminated
with semicolons.) The message \, "add2" adds a list of atoms without
finishing with a semicolon in case you want to make variable-length
messages.;
#X msg 527 186 clear;
#X msg 532 213 add 500 this is another message;
#X msg 537 237 add2 that;
#X text 573 186 empty the qlist;
#X text 758 214 add a message to a qlist;
#X text 610 236 add a message to a qlist but don't terminate it;
#X text 614 344 This outlet gets a bang when you hit the end of the
sequence. In the file "qlist.txt" the end is delayed 1000 milliseconds
after the last message.;
#X text 315 475 These receives are invoked in the file "qlist.txt"
in this directory., f 35;
#X obj 54 16 qlist;
#X text 115 18 - text-based sequencer;
#X text 574 159 single-step forward SUPPRESSING MESSAGE-SENDING;
#X msg 521 160 next 1;
#X text 821 481 updated for Pd version 0.35;
#X msg 479 32 print;
#X text 525 31 print contents to Pd window;
#X connect 0 0 3 0;
#X connect 0 1 9 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 4 0 0 0;
#X connect 5 0 7 0;
#X connect 6 0 8 0;
#X connect 10 0 0 0;
#X connect 21 0 0 0;
#X connect 22 0 0 0;
#X connect 26 0 0 0;
#X connect 27 0 0 0;
#X connect 28 0 0 0;
#X connect 37 0 0 0;
#X connect 39 0 0 0;
