aboutsummaryrefslogtreecommitdiff
path: root/iemhelp/help-soundfile_info.pd
blob: 919c2cfabd8d0ef51e3d978653add1e477c7697d (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
#N canvas 153 56 717 404 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 214 3.item: <float> multi-channel-sound-data-length in samples

;

#X text 91 234 5.item: <float> number of channels;

#X text 91 244 6.item: <float> single-sample-size in bytes;

#X text 7 2 soundfile_info;

#X text 130 2 show the header-data of a wav-file;

#X text 24 303 (c) musil@iem.kug.ac.at;

#X text 61 316 IEM KUG;

#X text 36 328 graz \, austria 2003;

#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 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;