M.H. ten Berge wrote:
Dan S wrote:
Hi -
If you look at the two outputs below you'll see that newmessage.wav
has some extra info embedded in it - possibly newmessage.wav is
actually a BWF-format file?
http://en.wikipedia.org/wiki/Broadcast_Wave_Format
Dan
sndfile-info *.wav
Version : libsndfile-1.0.19
========================================
File : newmessage.wav
Length : 23994
RIFF : 23986
WAVE
fmt : 16
Format : 0x1 => WAVE_FORMAT_PCM
Channels : 2
Sample Rate : 44100
Block Align : 4
Bit Width : 16
Bytes/sec : 176400
data : 23868
LIST : 74
INFO
ISFT : Sonic Foundry Sound Forge 6.0
IENG :
ICRD : 2005-05-16
End
----------------------------------------
Sample Rate : 44100
Frames : 5967
Channels : 2
Format : 0x00010002
Sections : 1
Seekable : TRUE
Duration : 00:00:00.135
Signal Max : 32768 (0.00 dB)
========================================
File : voicemail.wav
Length : 57536
RIFF : 57528
WAVE
fmt : 16
Format : 0x1 => WAVE_FORMAT_PCM
Channels : 1
Sample Rate : 44100
Block Align : 2
Bit Width : 16
Bytes/sec : 88200
data : 57492
End
----------------------------------------
Sample Rate : 44100
Frames : 28746
Channels : 1
Format : 0x00010002
Sections : 1
Seekable : TRUE
Duration : 00:00:00.652
Signal Max : 32768 (0.00 dB)
========================================
Total Duration : 00:00:00.787
But apart from the advanced metadata, there's a much more fundamental
difference: the first file listed above is stereo, the second is mono...
The problem is that ring.wav (the same directory,
http://git.gnome.org/cgit/ekiga/tree/sounds) is also stereo, same sample
rate, and it works without problem.
--
Eugen