aboutsummaryrefslogtreecommitdiff
path: root/iemhelp/help-mp3play~.pd
blob: ac596703411b7697b931280b318ca3279156a1de (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
#N canvas 219 14 747 605 10;
#X obj 118 308 mp3play~;
#X msg 130 153 start;
#X msg 145 177 stop;
#X msg 157 201 pause;
#X msg 118 91 open \$1;
#X obj 118 71 openpanel;
#X msg 118 50 bang;
#X text 18 5 MPEG LAYER III PLAYER;
#N canvas 217 0 624 445 output 0;
#X obj 451 183 t b;
#X obj 451 133 f;
#X obj 451 83 inlet;
#X text 457 52 mute;
#X obj 451 208 f;
#X msg 538 201 0;
#X msg 451 108 bang;
#X obj 451 158 moses 1;
#X obj 538 176 t b f;
#X obj 510 140 moses 1;
#X obj 141 131 dbtorms;
#X obj 510 115 r master-lvl;
#X obj 141 45 r master-lvl;
#X obj 451 233 s master-lvl;
#X obj 80 141 inlet~;
#X obj 312 64 inlet;
#X text 312 41 level;
#X obj 312 123 s master-lvl;
#X msg 141 251 set \$1;
#X obj 141 314 outlet;
#X msg 327 87 \; pd dsp 1;
#X obj 141 177 line~;
#X obj 80 215 *~;
#X obj 41 245 dac~;
#X obj 141 154 pack 0 50;
#X text 52 115 audio;
#X text 151 113 show level;
#X obj 26 141 inlet~;
#X obj 26 214 *~;
#X obj 152 202 loadbang;
#X msg 152 228 95;
#X connect 0 0 4 0;
#X connect 1 0 7 0;
#X connect 2 0 6 0;
#X connect 4 0 13 0;
#X connect 5 0 13 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 24 0;
#X connect 11 0 1 1;
#X connect 11 0 9 0;
#X connect 12 0 10 0;
#X connect 12 0 18 0;
#X connect 14 0 22 0;
#X connect 15 0 17 0;
#X connect 15 0 20 0;
#X connect 18 0 19 0;
#X connect 21 0 28 1;
#X connect 21 0 22 1;
#X connect 22 0 23 1;
#X connect 24 0 21 0;
#X connect 27 0 28 0;
#X connect 28 0 23 0;
#X connect 29 0 30 0;
#X connect 30 0 19 0;
#X restore 116 450 pd output;
#X floatatom 154 427 0 0 0 0 - - -;
#X msg 192 432 MUTE;
#X text 227 431 <-- output amplitude;
#X text 247 335 player bangs out here when finished;
#X text 171 151 start the player;
#X text 203 195 push pause to interrupt. push pause again (or play)
to resume playing;
#X text 155 51 click here to select file;
#X obj 169 334 print EOF;
#X msg 166 224 open_again;
#X text 250 224 reopen the file after stop;
#X text 181 170 stop the player and close the file. You habe to push
stop before you open a new file.;
#X text 27 487 The player supports mono and stereo MPEG Layer III files.
Any bitrate is supported - but we have tested 128Kb/s and 32 Kb/s only.
;
#X text 27 528 The sample rate of the output depends on the system
sample rate of pd:;
#X text 25 555 If the sample rate of pd is set to 44100 \, files having
the sample rates of 44100 \, 22050 and 11025 are correctly played \,
other files will be transposed.;
#X text 18 20 V 0.1 Thomas Musil \, Norbert Math - IEM;
#X floatatom 152 392 8 0 0 0 - - -;
#X text 218 393 sec;
#X floatatom 169 283 6 0 0 0 - - -;
#X msg 178 247 open_again_at;
#X text 222 283 offset in sec;
#X obj 38 72 openpanel;
#X msg 38 51 bang;
#X msg 38 122 open_at \$1;
#X text 126 121 open_at: open a selected file to play \, beginning
at offset;
#X text 173 90 open: open a selected file to play;
#X text 281 247 reopen the file at offset after stop;
#X text 181 308 no argument \, mp3play~ prints file-header to console
;
#X text 258 392 current playing-time;
#X obj 18 225 tgl 15 0 empty empty empty 20 8 0 10 -262144 -1 -1 0
1;
#X obj 18 245 dsp;
#X floatatom 18 303 5 0 0 0 - - -;
#X text 65 303 %;
#X obj 152 365 speedlim 50;
#X floatatom 34 271 5 0 0 0 - - -;
#X text 77 273 %;
#X msg 517 291 open test1.mp3;
#X obj 554 237 loadbang;
#X text 518 309 this music is composed;
#X text 529 319 by Bernhard Lang;
#X text 508 329 "Hommage an Martin Arnold";
#X text 515 428 IEM KUG;
#X text 499 416 musil;
#X text 529 416 @;
#X text 535 416 iem.at;
#X text 450 405 (c) Thomas Musil 2000 - 2005;
#X text 498 438 Graz \, Austria;
#X connect 0 0 8 0;
#X connect 0 1 8 1;
#X connect 0 2 41 0;
#X connect 0 3 16 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 5 0 4 0;
#X connect 6 0 5 0;
#X connect 8 0 9 0;
#X connect 9 0 8 2;
#X connect 10 0 8 3;
#X connect 17 0 0 0;
#X connect 26 0 0 1;
#X connect 27 0 0 0;
#X connect 29 0 31 0;
#X connect 30 0 29 0;
#X connect 31 0 0 0;
#X connect 37 0 38 0;
#X connect 38 0 39 0;
#X connect 38 1 42 0;
#X connect 41 0 24 0;
#X connect 44 0 0 0;