blob: 631960c918fb66efd7e52d9c3579824ee1b94cc6 (
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
|
#N canvas 153 56 725 412 10;
#X obj 31 45 openpanel;
#X obj 31 26 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 31 92 read \$1;
#X obj 31 166 soundfile_info;
#X obj 31 217 print;
#X text 40 146 "read"-message needs a symbol (soundfile in wave format)
;
#X symbolatom 131 75 66 0 0 0 - - -;
#X text 50 184 "list"-message output with 7 items;
#X text 91 224 4.item: <float> header-size in bytes;
#X text 91 194 1.item: <float> samplerate in Hz;
#X text 91 204 2.item: <symbol> file-name;
#X text 91 234 5.item: <float> number of channels;
#X text 7 2 soundfile_info;
#X text 130 2 show the header-data of a wav-file;
#X text 91 254 7.item: <symbol> endianness ("l" for little);
#X text 260 264 ("b" for big);
#X text 214 279 (eg. little endian "wav" is natural format on Intel-machines)
;
#X text 214 314 (eg. big endian "aiff" is natural format on Macintosh-machines)
;
#X text 91 214 3.item: <float> sound-data-length in samples;
#X text 91 244 6.item: <float> sample-resolution in bytes;
#X text 95 328 IEM KUG;
#X text 79 316 musil;
#X text 109 316 @;
#X text 115 316 iem.at;
#X text 30 305 (c) Thomas Musil 2000 - 2005;
#X text 78 338 Graz \, Austria;
#X connect 0 0 2 0;
#X connect 0 0 6 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
|