#N canvas 372 89 905 708 10; #X text 182 94 good; #X text 632 94 bad; #X obj 102 516 env~; #X floatatom 102 544 5 0 0 0 - - -, f 5; #X text 117 571 don't forget to switch 'dsp' on.; #X text 146 522 (3) audio output; #X msg 602 244 bang; #X obj 613 268 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 638 270 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X msg 584 222 nonexist.wav; #X floatatom 646 294 5 0 0 0 - - -, f 5; #X text 614 410 ERRORS...; #X text 780 683 dianaband; #X text 780 703 2016; #X text 111 137 (1) sound filename! (wav/aiff); #X floatatom 162 342 5 0 0 0 - - -, f 5; #X msg 135 255 1; #X msg 145 282 0; #X obj 155 314 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X msg 165 373 -1; #X msg 103 165 somesound.wav; #X text 206 340 effect!; #X text 201 373 reverse-playback; #X text 134 225 (2) play! - by playback speed.; #X text 180 254 play.; #X text 188 283 pause.; #X text 183 311 play/pause toggle.; #X floatatom 667 339 5 0 0 3 if_u_do_this_before_loading.. - -, f 5; #X obj 170 442 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X text 174 465 (4) rewind sound file \; (back to the starting position) ; #X obj 55 512 dac~; #X obj 103 476 wav2~; #X obj 105 687 wav2~; #X msg 127 625 0; #X obj 127 647 t b a; #X text 183 626 stop (pause and rewind); #X obj 602 365 wav2~; #X text 14 12 NOTE!! filename will be searched relative to 'wav~' patch's location. so copy and keep it nearby to the main patch. e.g. the very same folder or ./lib/ and use ../data/*.wav etc.; #X connect 2 0 3 0; #X connect 6 0 36 0; #X connect 7 0 36 0; #X connect 8 0 36 0; #X connect 9 0 36 0; #X connect 10 0 36 0; #X connect 15 0 31 1; #X connect 16 0 31 1; #X connect 17 0 31 1; #X connect 18 0 31 1; #X connect 19 0 31 1; #X connect 20 0 31 0; #X connect 27 0 36 1; #X connect 28 0 31 2; #X connect 31 0 2 0; #X connect 31 0 30 0; #X connect 31 0 30 1; #X connect 33 0 34 0; #X connect 34 0 32 2; #X connect 34 1 32 1;