Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: good.wav Type: audio/wav Size: 7430 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20050706/a77cade6/good-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: bad.wav Type: audio/wav Size: 10062 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20050706/a77cade6/bad-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: good.spx Type: application/octet-stream Size: 1426 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20050706/a77cade6/good-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: bad.spx Type: application/octet-stream Size: 2573 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20050706/a77cade6/bad-0001.obj
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 isn?t in the original WAV file.I see it, but not if I encode myself with 1.1.6. You probably used another version for encoding.> I have no prior experience with sound encoding/decoding; does someone > have a direction I could investigate to fix this problem? I?ve > embedded speexlib into my application and it works great, it be a > shame if these ?ticks? caused us to reject the use of speex.The problem (which might not even be there anymore) would not be in Speex (libspeex) itself, but merely in the command line tool(s). It be a shame if these caused you to buy an expensive codec instead ;-)> Version used is 1.1.6 (I?m using this version because I need the > prepared library files for ARM) and I?m compiling with MS VC++ 2003.You sure you *encoded* the file with 1.1.6. Also, there's a known (minor) issue with gapless for very short files that only contain one Ogg page.> I?d be curious to find out even just that both files play back > properly for you.I get the tick when decoding bad.spx, but encoding+decoding bad.wav works fine for both 1.1.6 and 1.1.10. Jean-Marc> > > Thanks in advance, > > > > David Resnick > > > > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev-- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> Universit? de Sherbrooke
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. Jean-Marc 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 isn?t 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? I?ve > 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 (I?m using this version because I need the > prepared library files for ARM) and I?m compiling with MS VC++ 2003. > > > > I?m attaching samples of original WAV files as well as the resulting > SPX files. The good sample finishes cleanly and the bad one doesn?t > (actually in this case it is more of a double click at the end). Both > samples were converted using the ?vbr switch. > > > > I?d 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@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev-- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> Universit? de Sherbrooke
Thank you very much for your immediate attention! I've exported my wav files to raw files before encoding and the click is now 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@USherbrooke.ca] Sent: Thursday, July 07, 2005 03:05 To: David Resnick Cc: speex-dev@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. Jean-Marc 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 isn?t 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? I?ve > 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 (I?m using this version because I need the > prepared library files for ARM) and I?m compiling with MS VC++ 2003. > > > > I?m attaching samples of original WAV files as well as the resulting > SPX files. The good sample finishes cleanly and the bad one doesn?t > (actually in this case it is more of a double click at the end). Both > samples were converted using the ?vbr switch. > > > > I?d 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@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev-- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> Universit? de Sherbrooke