aboutsummaryrefslogtreecommitdiff
path: root/mp3write~-help.pd
blob: 0e575ba771b33edaadda0e25ae41b26fab662c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#N canvas 168 244 736 325 10;
#X floatatom 53 24 0 40 16000;
#X msg 168 278 \; pd dsp 1;
#X text 287 196 <-- settings for mp3 stream;
#X text 310 226 bitrate: bitrate of stream \, def. 224kbit/s;
#X text 347 250 1 = joint stereo (default);
#X text 307 288 quality: 1 = high \, 9 = low;
#X text 308 208 (samplerate \, bitrate \, mode \, quality);
#X text 311 238 mode: 0 = stereo;
#X text 347 262 2 = dual channel;
#X text 347 275 3 = mono;
#X msg 171 143 print;
#X msg 234 278 \; pd dsp 0;
#X obj 51 59 osc~ 440;
#X msg 169 174 mpeg 44100 128 1 4;
#X msg 171 121 truncate;
#X msg 171 98 append;
#X msg 170 72 stop;
#X msg 170 49 start;
#X text 370 24 Open a file before any operations;
#X text 228 95 Set recording mode to append ( which is the default
);
#X text 208 48 Start recording;
#X text 231 118 Set recording mode to truncate;
#X text 218 142 Print settings;
#X floatatom 116 258 10 0 0;
#X text 10 254 Bytes written;
#X text 208 71 Stop recording ( this also writes a tag );
#X msg 169 198 mpeg 44100 8 3 5;
#X msg 170 25 open /tmp/track1.mp3;
#X obj 116 234 mp3write~;
#X connect 0 0 12 0;
#X connect 10 0 28 0;
#X connect 12 0 28 0;
#X connect 12 0 28 1;
#X connect 13 0 28 0;
#X connect 14 0 28 0;
#X connect 15 0 28 0;
#X connect 16 0 28 0;
#X connect 17 0 28 0;
#X connect 26 0 28 0;
#X connect 27 0 28 0;
#X connect 28 0 23 0;