[Speex-dev] click at end of playback
abunetta at gmail.com
Wed Jul 6 23:28:16 PDT 2005
I am currently pressed for time, but I will try to take a look at it.
From: Jean-Marc Valin [mailto:Jean-Marc.Valin at USherbrooke.ca]
Sent: Thursday, July 07, 2005 08:48
To: David Resnick
Cc: speex-dev at xiph.org
Subject: RE: [Speex-dev] click at end of playback
If you have a couple minutes, it probably wouldn't be hard to see where
the bug is (I just don't have time this week). It would have to do with
the granulepos computation in speexenc.
Le jeudi 07 juillet 2005 à 08:41 +0300, David Resnick a écrit :
> Thank you very much for your immediate attention!
> I've exported my wav files to raw files before encoding and the click is
> gone. That sure beats discarding the last packet, which was the workaround
> "solution" I was going to implement...
> Best regards,
> David Resnick
> -----Original Message-----
> From: Jean-Marc Valin [mailto:Jean-Marc.Valin at USherbrooke.ca]
> Sent: Thursday, July 07, 2005 03:05
> To: David Resnick
> Cc: speex-dev at xiph.org
> Subject: Re: [Speex-dev] click at end of playback
> Actually, I just tried again with the wav file directly and it just
> seems to be a bug with the way the speexenc utility handles wav files.
> The problem doesn't occur with the equivalent raw file (which I used for
> testing). It's probably really stupid anyway.
> Le mercredi 06 juillet 2005 à 14:00 +0300, David Resnick a écrit :
> > I am using speexenc/speexdec to convert WAV files to Speex and then
> > play them back. At the end of playback for some files there is a tick
> > sound heard that isnt in the original WAV file.
> > I have no prior experience with sound encoding/decoding; does someone
> > have a direction I could investigate to fix this problem? Ive
> > embedded speexlib into my application and it works great, it be a
> > shame if these ticks caused us to reject the use of speex.
> > Version used is 1.1.6 (Im using this version because I need the
> > prepared library files for ARM) and Im compiling with MS VC++ 2003.
> > Im attaching samples of original WAV files as well as the resulting
> > SPX files. The good sample finishes cleanly and the bad one doesnt
> > (actually in this case it is more of a double click at the end). Both
> > samples were converted using the vbr switch.
> > Id be curious to find out even just that both files play back
> > properly for you.
> > Thanks in advance,
> > David Resnick
> > _______________________________________________
> > Speex-dev mailing list
> > Speex-dev at xiph.org
> > http://lists.xiph.org/mailman/listinfo/speex-dev
Jean-Marc Valin <Jean-Marc.Valin at USherbrooke.ca>
Universite de Sherbrooke
More information about the Speex-dev