Hi, I am experiencing some unfortunate problems when encoding WAV files to spx using version 1.0.4. A "click" which is not present in the original WAV file is added to the end of the spx file. Is this a known problem, and if so, which version of the encoder should I switch to... and if I have to switch the encoder, will I also have to switch the version of the decoder? Sincerely, Anders S. Johansen, SecondGuess ApS
dear Anders, the speex encoder really does not know when you are ending a wave file. most probably there is a one-off error in your loop that reads the wave file and you are incorrectly reading the end of the wave file. btw, it will be much better to use the 1.1.6 version. it is clean and the binary is avaialbe from the website. very few of us remember 1.1.6. Any particular reason why you have to use 1.0.4? - farhan On Tue, 14 Dec 2004, Anders S. Johansen wrote:> Hi, > > I am experiencing some unfortunate problems when encoding WAV files to spx > using version 1.0.4. A "click" which is not present in the original WAV file > is added to the end of the spx file. > > Is this a known problem, and if so, which version of the encoder should I > switch to... and if I have to switch the encoder, will I also have to switch > the version of the decoder? > > Sincerely, > Anders S. Johansen, SecondGuess ApS > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >
> I am experiencing some unfortunate problems when encoding WAV files to > spx using version 1.0.4. A "click" which is not present in the original > WAV file is added to the end of the spx file.My first guess would be that you have a DC offset in your signal. In that case, 1.1.6 could be better (because of the gapless implementation if you're using speexenc/speexdec), but the best solution would be to remove that DC offset. If that's not the problem (no DC offset), then it would be worth investigating. Jean-Marc -- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> Universit? de Sherbrooke
Jean-Marc Valin wrote:>>I am experiencing some unfortunate problems when encoding WAV files to >>spx using version 1.0.4. A "click" which is not present in the original >>WAV file is added to the end of the spx file. > > > My first guess would be that you have a DC offset in your signal. In > that case, 1.1.6 could be better (because of the gapless implementation > if you're using speexenc/speexdec), but the best solution would be to > remove that DC offset. If that's not the problem (no DC offset), then it > would be worth investigating.Hmmm, I could post one of the files that exhibit the problem (34Kb) for diagnistics... How's that? Unfortunately my area of comp sci doesn't extend to signal processing, and my girlfriend is only now entering her second semester in the SP class :) Of course I'll investigate the use of 1.1.6 too. Can 1.0.4 decode files compressed with 1.1.6? A
Ashhar Farhan wrote:> > dear Anders, > > the speex encoder really does not know when you are ending a wave file. > most probably there is a one-off error in your loop that reads the wave > file and you are incorrectly reading the end of the wave file.Hmmm, I am using code ripped verbatim from speexenc. Are there any known bugs of this kind in that?> btw, it will be much better to use the 1.1.6 version. it is clean and > the binary is avaialbe from the website. very few of us remember 1.1.6. > Any particular reason why you have to use 1.0.4?Well, it /is/ the latest stable release :) A