Debian Codegraph @

mp3fileout~-help.pd

raw
1 #N canvas 11 -3 941 684 10;
2 #X msg 35 594 \; pd dsp 1;
3 #X text 432 123 <-- settings for mp3 stream;
4 #X text 492 177 1 = joint stereo (default);
5 #X text 456 165 mode: 0 = stereo;
6 #X text 492 189 2 = dual channel;
7 #X msg 101 594 \; pd dsp 0;
8 #X obj 551 317 dac~;
9 #X msg 368 80 disconnect;
10 #X floatatom 221 227 5 0 0;
11 #X obj 221 199 mp3streamout~;
12 #X msg 367 54 connect localhost 5000;
13 #X msg 767 69 bang;
14 #X obj 767 89 openpanel;
15 #X obj 766 186 soundfiler;
16 #X floatatom 767 210 10 0 0;
17 #X obj 767 111 t s b;
18 #X obj 767 148 pack s s;
19 #X msg 766 169 read -resize \$1 \$2;
20 #X obj 803 111 float \$0;
21 #X text 755 50 Step 1 : Load a sound file;
22 #X obj 767 128 route float;
23 #X obj 123 149 tabplay~ \$0-sample;
24 #X msg 123 120 bang;
25 #X obj 114 627 table \$0-sample;
26 #X obj 821 148 makefilename %d-sample;
27 #X text 371 34 Step 2 : connect the streamer;
28 #X text 8 100 Step 3 : emit a sound through the streamer;
29 #X obj 234 276 env~;
30 #X obj 67 310 timer;
31 #X obj 207 276 > 0;
32 #X obj 159 276 route 1;
33 #X obj 122 276 t b f;
34 #X floatatom 121 340 5 0 0;
35 #X obj 80 276 spigot;
36 #X msg 102 256 0;
37 #X msg 130 256 1;
38 #X text 453 135 (bitrate \, mode \, quality);
39 #X text 453 227 Note : resampling is not supported for now;
40 #X text 454 238 Note : see the README for allowed bitrate;
41 #X text 30 9 mp3live~ : mp3streamout~ / mp3streamin~;
42 #X text 30 20 peer-to-peer mp3 streaming \, written by [email protected]
43 ;
44 #X msg 342 147 mpeg 32 2 9;
45 #X text 492 202 3 = mono ( not supported );
46 #X text 455 153 bitrate: bitrate of stream \, def. 128kbit/s;
47 #X text 452 215 quality: 5 = high \, 9 = low;
48 #X text 85 360 streamer latency (ms);
49 #X obj 35 573 loadbang;
50 #X msg 343 123 mpeg 128 0 5;
51 #X obj 536 270 mp3streamin~ 5000 1;
52 #X symbolatom 639 300 10 0 0;
53 #X text 622 316 Incomer's address;
54 #X floatatom 229 496 5 0 0;
55 #X floatatom 327 498 5 0 0;
56 #X text 282 366 Step 3 bis : emit a file through the streamer;
57 #X msg 298 386 bang;
58 #X msg 299 423 open \$1;
59 #X msg 393 410 disconnect;
60 #X msg 393 391 connect localhost 5000;
61 #X msg 393 429 start;
62 #X msg 438 430 stop;
63 #X obj 298 406 openpanel;
64 #X text 292 522 Number of frames emitted;
65 #X text 160 515 Connection state;
66 #X text 31 36 Warning : mp3fileout~ will not read ANY mp3 file \,;
67 #X text 30 46 but \, at least \, those produced with mp3write~.;
68 #X msg 474 430 resume;
69 #X msg 524 429 seek 10000;
70 #X text 391 503 A bang is emitted at the end of the file;
71 #X obj 301 454 mp3fileout~;
72 #X obj 389 485 print thisistheend;
73 #X connect 7 0 9 0;
74 #X connect 9 0 8 0;
75 #X connect 10 0 9 0;
76 #X connect 11 0 12 0;
77 #X connect 12 0 15 0;
78 #X connect 13 0 14 0;
79 #X connect 15 0 16 0;
80 #X connect 15 1 18 0;
81 #X connect 16 0 17 0;
82 #X connect 17 0 13 0;
83 #X connect 18 0 20 0;
84 #X connect 20 0 24 0;
85 #X connect 21 0 9 0;
86 #X connect 21 0 9 1;
87 #X connect 22 0 21 0;
88 #X connect 22 0 28 0;
89 #X connect 22 0 35 0;
90 #X connect 24 0 16 1;
91 #X connect 27 0 29 0;
92 #X connect 28 0 32 0;
93 #X connect 29 0 30 0;
94 #X connect 30 0 31 0;
95 #X connect 31 0 33 0;
96 #X connect 32 0 34 0;
97 #X connect 33 0 28 1;
98 #X connect 34 0 33 1;
99 #X connect 35 0 33 1;
100 #X connect 41 0 9 0;
101 #X connect 46 0 0 0;
102 #X connect 47 0 9 0;
103 #X connect 48 0 6 0;
104 #X connect 48 0 27 0;
105 #X connect 48 1 6 1;
106 #X connect 48 2 49 0;
107 #X connect 54 0 60 0;
108 #X connect 55 0 68 0;
109 #X connect 56 0 68 0;
110 #X connect 57 0 68 0;
111 #X connect 58 0 68 0;
112 #X connect 59 0 68 0;
113 #X connect 60 0 55 0;
114 #X connect 65 0 68 0;
115 #X connect 66 0 68 0;
116 #X connect 68 0 51 0;
117 #X connect 68 1 52 0;
118 #X connect 68 2 69 0;