Hi, I just started using speex recently and I've been having problem with Speex ver. 1.1.10 decoder. I used Speex to encode a wav file to spx then decode it back to wav file to see the voice quality that results from different speex options. Somehow, I couldn't get the original wav file back. I used both Speex ver 1.1.6 and ver 1.1.10 to both encode and decode, despite the same output file sizes, the output file from ver 1.1.10 decoder only lasts for a few seconds (the file is supposed to be a few minutes long). I have also tried decoding the wav file that was encoded with ver 1.1.10 encoder with ver 1.1.6 decoder and it works fine.. So I supposed the problem is in the ver 1.1.10 decoder. Have anyone experienced the same problem? Any suggestions or comments would be really appreciated Thanks heaps __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Are you using speexenc/speexdec? Which plateform? Jean-Marc Le mardi 27 septembre 2005 ? 17:32 -0700, Christina Saputra a ?crit :> Hi, > > I just started using speex recently and I've been > having problem with Speex ver. 1.1.10 decoder. I used > Speex to encode a wav file to spx then decode it back > to wav file to see the voice quality that results from > different speex options. Somehow, I couldn't get the > original wav file back. I used both Speex ver 1.1.6 > and ver 1.1.10 to both encode and decode, despite the > same output file sizes, the output file from ver > 1.1.10 decoder only lasts for a few seconds (the file > is supposed to be a few minutes long). > > I have also tried decoding the wav file that was > encoded with ver 1.1.10 encoder with ver 1.1.6 decoder > and it works fine.. So I supposed the problem is in > the ver 1.1.10 decoder. > > Have anyone experienced the same problem? Any > suggestions or comments would be really appreciated > > Thanks heaps > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >
Hi, Thanks for the fast reply Yes I'm using speexenc/speexdec with Debian --- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> wrote:> Are you using speexenc/speexdec? Which plateform? > > Jean-Marc > Le mardi 27 septembre 2005 ? 17:32 -0700, Christina > Saputra a ?crit : > > Hi, > > > > I just started using speex recently and I've been > > having problem with Speex ver. 1.1.10 decoder. I > used > > Speex to encode a wav file to spx then decode it > back > > to wav file to see the voice quality that results > from > > different speex options. Somehow, I couldn't get > the > > original wav file back. I used both Speex ver > 1.1.6 > > and ver 1.1.10 to both encode and decode, despite > the > > same output file sizes, the output file from ver > > 1.1.10 decoder only lasts for a few seconds (the > file > > is supposed to be a few minutes long). > > > > I have also tried decoding the wav file that was > > encoded with ver 1.1.10 encoder with ver 1.1.6 > decoder > > and it works fine.. So I supposed the problem is > in > > the ver 1.1.10 decoder. > > > > Have anyone experienced the same problem? Any > > suggestions or comments would be really > appreciated > > > > Thanks heaps > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > _______________________________________________ > > Speex-dev mailing list > > Speex-dev@xiph.org > > http://lists.xiph.org/mailman/listinfo/speex-dev > > >__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
OK, it seems like I screwed up the wav header code between 1.1.8 and 1.1.9. Everything seems fine (playing to soundcard also works), except that the length reported for the wav is too short, which is why it stops player. Actually forcing the player to continue past the end gives the whole file. I'll check what went wrong and try to fix it when I have some time. It's likely in speexdec.c or wav_io.c in case you want to look at it. Note to others, there's nothing wrong with libspeex or even speexenc. The only thing that doesn't work is when using speexdec to decode to wav. Jean-Marc Le mardi 27 septembre 2005 ? 17:32 -0700, Christina Saputra a ?crit :> Hi, > > I just started using speex recently and I've been > having problem with Speex ver. 1.1.10 decoder. I used > Speex to encode a wav file to spx then decode it back > to wav file to see the voice quality that results from > different speex options. Somehow, I couldn't get the > original wav file back. I used both Speex ver 1.1.6 > and ver 1.1.10 to both encode and decode, despite the > same output file sizes, the output file from ver > 1.1.10 decoder only lasts for a few seconds (the file > is supposed to be a few minutes long). > > I have also tried decoding the wav file that was > encoded with ver 1.1.10 encoder with ver 1.1.6 decoder > and it works fine.. So I supposed the problem is in > the ver 1.1.10 decoder. > > Have anyone experienced the same problem? Any > suggestions or comments would be really appreciated > > Thanks heaps > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >
OK, that was a stupid error in the le_int prototype. It's fixed in svn now. Jean-Marc Le mercredi 28 septembre 2005 ? 11:53 +1000, Jean-Marc Valin a ?crit :> OK, it seems like I screwed up the wav header code between 1.1.8 and > 1.1.9. Everything seems fine (playing to soundcard also works), except > that the length reported for the wav is too short, which is why it stops > player. Actually forcing the player to continue past the end gives the > whole file. I'll check what went wrong and try to fix it when I have > some time. It's likely in speexdec.c or wav_io.c in case you want to > look at it. Note to others, there's nothing wrong with libspeex or even > speexenc. The only thing that doesn't work is when using speexdec to > decode to wav. > > Jean-Marc > > Le mardi 27 septembre 2005 ? 17:32 -0700, Christina Saputra a ?crit : > > Hi, > > > > I just started using speex recently and I've been > > having problem with Speex ver. 1.1.10 decoder. I used > > Speex to encode a wav file to spx then decode it back > > to wav file to see the voice quality that results from > > different speex options. Somehow, I couldn't get the > > original wav file back. I used both Speex ver 1.1.6 > > and ver 1.1.10 to both encode and decode, despite the > > same output file sizes, the output file from ver > > 1.1.10 decoder only lasts for a few seconds (the file > > is supposed to be a few minutes long). > > > > I have also tried decoding the wav file that was > > encoded with ver 1.1.10 encoder with ver 1.1.6 decoder > > and it works fine.. So I supposed the problem is in > > the ver 1.1.10 decoder. > > > > Have anyone experienced the same problem? Any > > suggestions or comments would be really appreciated > > > > Thanks heaps > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > _______________________________________________ > > Speex-dev mailing list > > Speex-dev@xiph.org > > http://lists.xiph.org/mailman/listinfo/speex-dev > > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >