aboutsummaryrefslogtreecommitdiff
path: root/externals/build/doc/help-sfread~.pd
blob: 5cc1058faf19d69de436c3589560bb36aaefec85 (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
#N canvas 89 114 600 456 8;
#X msg 34 135 bang;
#X obj 228 324 dac~;
#X msg 70 218 1;
#X floatatom 348 128;
#X text 14 33 file to open;
#X text 33 116 start playback;
#X msg 70 240 0;
#X text 34 10 SFREAD;
#X text 34 21 =======;
#X text 346 96 playback speed (defaults to 1);
#X text 93 8 The file should have the systems samplerate (44100) and endianess matching the machine.;
#X text 25 257 pause on/off during playback;
#X text 277 46 resets sound to position;
#X msg 322 63 200;
#X text 288 164 instatiation: sfread <channels> <skip>;
#X text 276 35 start position in samples (defaults to <skip>);
#X floatatom 231 102;
#X msg 172 114 loop 1;
#X msg 152 94 loop 0;
#X msg 364 224 size;
#X floatatom 336 275;
#X text 333 205 Get the size (in frames);
#X obj 207 164 sfread~ 2 62;
#X msg 14 85 open \$1;
#X obj 14 66 openpanel;
#X msg 69 66 bang;
#X msg 365 249 state;
#X connect 0 0 22 0;
#X connect 2 0 22 0;
#X connect 3 0 22 2;
#X connect 6 0 22 0;
#X connect 13 0 22 1;
#X connect 16 0 22 1;
#X connect 17 0 22 0;
#X connect 18 0 22 0;
#X connect 19 0 22 0;
#X connect 22 0 1 0;
#X connect 22 1 1 1;
#X connect 22 2 20 0;
#X connect 23 0 22 0;
#X connect 24 0 23 0;
#X connect 25 0 24 0;
#X connect 26 0 22 0;