diff options
Diffstat (limited to 'examples/test-streaming-mp3.pd')
-rw-r--r-- | examples/test-streaming-mp3.pd | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/examples/test-streaming-mp3.pd b/examples/test-streaming-mp3.pd new file mode 100644 index 0000000..b097d78 --- /dev/null +++ b/examples/test-streaming-mp3.pd @@ -0,0 +1,98 @@ +#N canvas 252 67 986 678 10; +#X declare -lib unauthorized; +#X msg 63 88 bang; +#X obj 63 108 openpanel; +#X obj 63 130 t s b; +#X obj 63 167 pack s s; +#X obj 99 130 float \$0; +#X text 51 69 Step 1 : Load a sound file; +#X obj 117 167 makefilename %d-sample; +#X msg 443 310 \; pd dsp 1; +#X msg 509 310 \; pd dsp 0; +#X obj 454 284 loadbang; +#X obj 62 247 mp3streamout~; +#X floatatom 63 270 5 0 0 0 - - -; +#X obj 62 211 readsf~; +#X msg 62 188 open \$1 \$2; +#X msg 33 178 1; +#X msg 265 215 disconnect; +#X obj 63 147 route float; +#X msg 569 77 bang; +#X obj 569 97 openpanel; +#X obj 569 119 t s b; +#X obj 569 156 pack s s; +#X obj 605 119 float \$0; +#X text 557 58 Step 1 : Load a sound file; +#X obj 623 156 makefilename %d-sample; +#X obj 568 236 mp3streamout~; +#X floatatom 569 259 5 0 0 0 - - -; +#X obj 568 200 readsf~; +#X msg 568 177 open \$1 \$2; +#X msg 539 167 1; +#X msg 784 207 disconnect; +#X obj 569 136 route float; +#X obj 364 492 dac~; +#X obj 361 468 *~; +#X floatatom 416 495 5 0 0 0 - - -; +#X symbolatom 459 467 15 0 0 0 - - -; +#X obj 407 470 / 100; +#X obj 122 500 dac~; +#X obj 119 476 *~; +#X floatatom 174 503 5 0 0 0 - - -; +#X symbolatom 217 475 10 0 0 0 - - -; +#X obj 165 478 / 100; +#X obj 96 449 mp3streamin~ 5001 1; +#X obj 345 440 mp3streamin~ 5000 1; +#X msg 777 179 connect yves 5001; +#X msg 246 258 mpeg 32 2 5; +#X msg 246 258 mpeg 32 2 5; +#X msg 246 294 mpeg 224 2 5; +#X msg 258 187 connect localhost 5000; +#X msg 263 155 connect dregs 5000; +#X obj 816 13 import unauthorized; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 13 0; +#X connect 4 0 16 0; +#X connect 6 0 3 1; +#X connect 9 0 7 0; +#X connect 10 0 11 0; +#X connect 12 0 10 0; +#X connect 12 0 10 1; +#X connect 13 0 12 0; +#X connect 14 0 12 0; +#X connect 15 0 10 0; +#X connect 16 0 6 0; +#X connect 17 0 18 0; +#X connect 18 0 19 0; +#X connect 19 0 20 0; +#X connect 19 1 21 0; +#X connect 20 0 27 0; +#X connect 21 0 30 0; +#X connect 23 0 20 1; +#X connect 24 0 25 0; +#X connect 26 0 24 0; +#X connect 26 0 24 1; +#X connect 27 0 26 0; +#X connect 28 0 26 0; +#X connect 29 0 24 0; +#X connect 30 0 23 0; +#X connect 32 0 31 0; +#X connect 32 0 31 1; +#X connect 33 0 35 0; +#X connect 35 0 32 1; +#X connect 37 0 36 0; +#X connect 37 0 36 1; +#X connect 38 0 40 0; +#X connect 40 0 37 1; +#X connect 41 0 37 0; +#X connect 41 2 39 0; +#X connect 42 0 32 0; +#X connect 42 2 34 0; +#X connect 43 0 24 0; +#X connect 44 0 10 0; +#X connect 46 0 10 0; +#X connect 47 0 10 0; +#X connect 48 0 10 0; |