What's wrong? Cannot load Microsoft RIFF/WAVE info

18 views Asked by At

/* Sound info dump, from Stanford's Microsoft RIFF description/layout: https://ccrma.stanford.edu/courses/422-winter-2014/projects/WaveFormat/ */

`$ git clone https://github.com/ETERNALBLUEbullrun/sounddemo.git && cd sounddemo

~/sounddemo $ ./run.sh

input: "input.wav", 3138126 == sz, 0x46464952 == inputHead == 'RIFF'; Microsoft RIFF. 3138118 == buffSz, 0x45564157 == format == 'WAVE'; Microsoft (WAV) sound.

16 == wave.Subchunk1Size, 2 == wave.NumChannels, 44100 == wave.SampleRate, 176400 == wave.ByteRate, 4 == wave.BlockAlign, 16 == wave.BitsPerSample, 1 == wave.AudioFormat; PCM. 26 == wave.Subchunk2Size, 5453494c == wave.Subchunk2ID, should == 'data'.

-1 == fread(inputBuff, 3138126, 1, 0xb400006f7d499d18)

~/sounddemo $`

Had uncompressed input.wav (not from repo,)

thought demo would parse all sound info.

0

There are 0 answers