#N canvas 0 0 634 373 10; #X obj 243 283 step~; #X obj 243 309 print~; #X msg 186 236 bang; #X floatatom 283 259 0 0 0 0 - - -; #X floatatom 243 237 0 0 0 0 - - -; #X obj 186 259 t b b; #X obj 243 259 t f b; #X text 50 20 step~ ::; #X text 50 70 IN1 :; #X text 50 110 IN2 :; #X text 50 180 note :; #X text 100 20 produces a unit:step:sequence or a rectangle:window ; #X text 100 70 define \, how many samples after the float::bang:message the rectangle:window will start; #X text 100 110 define the length of the rectangle:window choosing 1 will produce a dirac:impulse :: unit:sample:sequence) choosing 0 will make the rectangle infinitely long :: unit:step:sequence; #X text 100 180 1 sample equals 1:over:samplerate secs; #X text 235 217 position; #X text 303 239 length; #X msg 186 283 1; #N canvas 0 0 566 451 application 0; #X obj 98 198 sig~ 440; #X obj 98 221 osc~; #X obj 98 245 *~; #X obj 159 221 osc~; #X obj 159 245 *~; #X obj 159 198 sig~ 550; #X floatatom 98 173 0 0 0 0 - - -; #X floatatom 159 173 0 0 0 0 - - -; #X obj 286 199 sig~ -1; #X obj 238 199 step~; #X msg 268 176 0; #X msg 301 176 44100; #X floatatom 348 176 0 0 0 0 - - -; #X msg 238 152 bang; #X text 203 128 toggle::press; #X text 48 33 This \, of course \, is a quite barbarious use of the step~-object; #X text 134 61 but it was fast to do and I do think it illustrates the way it works.; #X floatatom 188 352 0 0 0 0 - - -; #N canvas 159 26 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 83 148 dbtorms; #X obj 22 181 inlet~; #X obj 199 41 inlet; #X text 199 18 level; #X msg 96 65 set \$1; #X obj 96 89 outlet; #X msg 214 64 \; pd dsp 1; #X obj 83 194 line~; #X obj 22 212 *~; #X obj 22 241 dac~; #X obj 83 171 pack 0 50; #X text 20 158 audio; #X text 93 110 show level; #X obj 83 42 r \$0master-lvl; #X obj 199 100 s \$0master-lvl; #X obj 397 92 r \$0master-lvl; #X obj 338 210 s \$0master-lvl; #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 18 0 19 0; #X connect 18 0 19 1; #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 restore 159 380 pd output; #X msg 217 352 MUTE; #X text 183 333 output amplitude; #X obj 159 300 +~; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 21 0; #X connect 3 0 4 0; #X connect 4 0 21 0; #X connect 5 0 3 0; #X connect 6 0 0 0; #X connect 7 0 5 0; #X connect 8 0 4 1; #X connect 9 0 2 1; #X connect 9 0 4 1; #X connect 10 0 9 1; #X connect 11 0 9 1; #X connect 12 0 9 1; #X connect 13 0 9 0; #X connect 17 0 18 1; #X connect 18 0 17 0; #X connect 19 0 18 2; #X connect 21 0 18 0; #X restore 397 187 pd application; #N canvas 460 154 494 344 META 0; #X text 12 155 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 135 AUTHOR IOhannes m zmoelnig; #X text 12 45 DESCRIPTION produces a unit:step:sequence or a rectangle window; #X text 12 75 INLET_0 float bang; #X text 12 95 INLET_1 float; #X text 12 115 OUTLET_0 signal; #X text 12 5 KEYWORDS signal conversion; #X restore 571 342 pd META; #X connect 0 0 1 0; #X connect 2 0 5 0; #X connect 3 0 0 1; #X connect 4 0 6 0; #X connect 5 0 0 0; #X connect 5 1 17 0; #X connect 6 0 0 0; #X connect 6 1 1 0; #X connect 17 0 1 0;