#N canvas 153 56 730 458 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: header-size in bytes; #X text 91 194 1.item: samplerate in Hz; #X text 91 204 2.item: file-name; #X text 91 234 5.item: 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: 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 304 (eg. big endian "aiff" is natural format on Macintosh-machines) ; #X text 91 214 3.item: sound-data-length in samples; #X text 91 244 6.item: sample-resolution in bytes; #X text 75 388 IEM KUG; #X text 55 376 musil; #X text 89 376 @; #X text 97 376 iem.at; #X text 58 398 Graz \, Austria; #X text 10 365 (c) Thomas Musil 2000 - 2008; #X text 90 325 8.item: format code (1 .. linear PCM); #X text 286 335 (3 .. IEEE-float); #X text 286 345 (6 .. 8 bit ALAW); #X text 286 355 (7 .. 8 bit MULAW); #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;