#N canvas 539 295 609 448 10;
#X declare -path zexy -lib zexy;
#X obj 436 322 sfplay 2;
#X obj 38 325 sfrecord 2;
#X msg 436 140 help;
#X msg 436 166 open test.raw l;
#X msg 436 189 start;
#X msg 485 189 bang;
#X msg 525 189 1;
#X msg 436 212 stop;
#X msg 525 212 0;
#X msg 436 261 goto 100;
#X msg 436 238 rewind;
#X msg 507 296 done;
#X obj 507 321 print;
#X msg 38 141 help;
#X msg 38 190 start;
#X msg 38 214 stop;
#X msg 38 238 close;
#X msg 38 166 open test.raw l;
#X msg 38 263 bang;
#X floatatom 38 351 0 0 0 0 - - - 0;
#X text 72 351 status (1-recording / 0-not_recording);
#X obj 45 301 osc~ 100;
#X obj 113 301 osc~ 578;
#X msg 436 287 close;
#X text 122 19 a little harddisk-recording system;
#X text 77 264 retrigger status-output;
#X text 135 325 sfrecord/sfplay <num. of channels>;
#X text 53 49 this makes it possible to do multi-track recordings;
#X text 52 64 up to now \, the "sfrecord" only supports .RAW format;
#X text 51 78 "sfplay" can skip any header \, if you know it's size:: just call "sfplay <num.of.chan> <skip.bytes>";
#X floatatom 471 356 0 0 0 0 - - - 0;
#N canvas 160 49 495 266 output 0;
#X obj 338 160 t b;
#X obj 338 110 f;
#X obj 338 60 inlet;
#X text 344 29 mute;
#X obj 338 185 f;
#X msg 425 178 0;
#X msg 338 85 bang;
#X obj 338 135 moses 1;
#X obj 425 153 t b f;
#X obj 397 117 moses 1;
#X obj 143 148 dbtorms;
#X obj 22 181 inlet~;
#X obj 259 41 inlet;
#X text 259 18 level;
#X msg 156 65 set \$1;
#X obj 156 89 outlet;
#X msg 274 64 \; pd dsp 1;
#X obj 143 194 line~;
#X obj 22 212 *~;
#X obj 22 241 dac~;
#X obj 143 171 pack 0 50;
#X text 20 158 audio;
#X text 153 110 show level;
#X obj 143 42 r \$0master-lvl;
#X obj 259 100 s \$0master-lvl;
#X obj 397 92 r \$0master-lvl;
#X obj 338 210 s \$0master-lvl;
#X obj 72 181 inlet~;
#X obj 72 212 *~;
#X text 70 158 audio;
#X connect 0 0 4 0;
#X connect 1 0 7 0;
#X connect 2 0 6 0;
#X connect 4 0 26 0;
#X connect 5 0 26 0;
#X connect 6 0 1 0;
#X connect 7 0 0 0;
#X connect 7 1 8 0;
#X connect 8 0 5 0;
#X connect 9 1 4 1;
#X connect 10 0 20 0;
#X connect 11 0 18 0;
#X connect 12 0 16 0;
#X connect 12 0 24 0;
#X connect 14 0 15 0;
#X connect 17 0 18 1;
#X connect 17 0 28 1;
#X connect 18 0 19 0;
#X connect 20 0 17 0;
#X connect 23 0 10 0;
#X connect 23 0 14 0;
#X connect 25 0 1 1;
#X connect 25 0 9 0;
#X connect 27 0 28 0;
#X connect 28 0 19 1;
#X restore 437 378 pd output;
#X msg 500 356 MUTE;
#X text 111 363 output amplitude;
#X text 435 9 part of zexy;
#N canvas 589 163 494 344 META 0;
#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 145 AUTHOR IOhannes m zmoelnig;
#X text 12 45 DESCRIPTION a little harddisk recording system;
#X text 12 65 INLET_0 float bang help open start stop rewind goto close;
#X text 12 105 OUTLET_N signal;
#X text 12 125 OUTLET_R bang;
#X text 12 85 INLET_1 float;
#X text 12 5 KEYWORDS signal soundfile;
#X obj 41 244 declare -path zexy -lib zexy;
#X restore 528 417 pd META;
#X floatatom 514 272 5 0 0 2 undocumented - - 0;
#X text 212 164 open <name> <endianity>;
#X text 54 106 you might be able to change the <skip.bytes> via the 2nd inlet of sfplay \, but that's a hidden feature.;
#X connect 0 0 31 0;
#X connect 0 1 31 1;
#X connect 0 2 11 0;
#X connect 1 0 19 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X connect 8 0 0 0;
#X connect 9 0 0 0;
#X connect 10 0 0 0;
#X connect 11 0 12 0;
#X connect 13 0 1 0;
#X connect 14 0 1 0;
#X connect 15 0 1 0;
#X connect 16 0 1 0;
#X connect 17 0 1 0;
#X connect 18 0 1 0;
#X connect 21 0 1 0;
#X connect 22 0 1 1;
#X connect 23 0 0 0;
#X connect 30 0 31 2;
#X connect 31 0 30 0;
#X connect 32 0 31 3;
#X connect 36 0 0 1;
