#N canvas 387 44 1040 601 12;
#X obj 489 341 qlist;
#X msg 509 109 rewind;
#X msg 515 134 next;
#X floatatom 489 425 0 0 0 0 - - - 0;
#X msg 489 57 bang;
#X obj 521 400 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 447 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 38 461 see also:;
#X obj 41 485 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 602 385 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 472 523 These receives are invoked in the file "qlist.txt"
in this directory., f 36;
#X obj 54 16 qlist;
#X text 107 17 - text-based sequencer;
#X text 574 159 single-step forward SUPPRESSING MESSAGE-SENDING;
#X msg 521 160 next 1;
#X text 48 541 updated for Pd version 0.35;
#X msg 479 32 print;
#X text 525 31 print contents to Pd window;
#X obj 521 377 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc
#000000 #000000;
#X obj 112 486 text sequence;
#X text 214 486 <= newer and better replacement for qlist, f 22;
#X obj 747 512 r this;
#X obj 840 512 r that;
#X obj 840 547 print that;
#X obj 747 547 print this;
#X text 546 337 <= you can also click on qlist to see its contents
and edit it \, just like a "text define" object, f 52;
#X connect 0 0 3 0;
#X connect 0 1 37 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 4 0 0 0;
#X connect 6 0 0 0;
#X connect 17 0 0 0;
#X connect 18 0 0 0;
#X connect 22 0 0 0;
#X connect 23 0 0 0;
#X connect 24 0 0 0;
#X connect 33 0 0 0;
#X connect 35 0 0 0;
#X connect 37 0 5 0;
#X connect 40 0 43 0;
#X connect 41 0 42 0;
