Asheesh Vashishtha
2004-Aug-06 15:02 UTC
[speex-dev] Difference in Encoding of files on Pocket PC vis-à-vis desktop
Hi all, I've created a Speex decoder for Pocket PC so that I can play Speex files from within my .NET CF app. But there has been a problem while playing the files on my Pocket PC. I encode a wav file on the desktop using Speexenc.exe (Speex- 1.1.5) and then copy this file to my Pocket PC where I playback using my decoder library. But the sound quality is extremely poor and completely broken. I can't make a word out of the encoded speex file. However, if I encode the Speex file using the code on my iPAQ and playback the same file using the decoder library, I get a pretty decent sound. My approach is to simply bundle the encoded speex files with my application since I only need to use the decoding part, and play back the output to the device but somehow the 2 files sound so different. Is there some difference with a wav file encoded on the desktop to that on the Pocket PC? Can't I use the wav file encoded on the desktop directly with my Pocket PC decoder? I'd really appreciate if anyone could shed some light on this. Thanks & regards, Asheesh <p><p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Jean-Marc Valin
2004-Aug-06 15:02 UTC
[speex-dev] Difference in Encoding of files on Pocket PC vis-à-vis desktop
Hi, I suspect something related to endianness or word size here. Can you check that the encoded files end up the same size? Also, what if you encode on the Pocket PC and decode on a desktop? Maybe if you encode a small wav file on both pocket PC and desktop using default options and send me the results. Jean-Marc Le lun 24/05/2004 à 09:52, Asheesh Vashishtha a écrit :> Hi all, > > I've created a Speex decoder for Pocket PC so that I can play Speex > files from within my .NET CF app. > But there has been a problem while playing the files on my Pocket PC. > > I encode a wav file on the desktop using Speexenc.exe (Speex- 1.1.5) > and then copy this file to my Pocket PC where > I playback using my decoder library. But the sound quality is > extremely poor and completely broken. > > I can't make a word out of the encoded speex file. However, if I > encode the Speex file using the code > on my iPAQ and playback the same file using the decoder library, I get > a pretty decent sound. > > My approach is to simply bundle the encoded speex files with my > application since I only need to use > the decoding part, and play back the output to the device but somehow > the 2 files sound so different. > > Is there some difference with a wav file encoded on the desktop to > that on the Pocket PC? > Can't I use the wav file encoded on the desktop directly with my > Pocket PC decoder? > > I'd really appreciate if anyone could shed some light on this. > > Thanks & regards, > Asheesh >-- Jean-Marc Valin http://www.xiph.org/~jm/ LABORIUS Université de Sherbrooke, Québec, Canada -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: Ceci est une partie de message numériquement signée. Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040524/a9023741/signature-0001.pgp
Gervase Markham
2004-Aug-06 15:02 UTC
[speex-dev] Re: [speex-dev] Difference in Encoding of files on Pocket PC vis-à-vis desktop
Jean-Marc Valin wrote:> I suspect something related to endianness or word size here.On a related point, has anyone ever compiled FIXED_POINT Speex on a system with 16-bit chars? Will it definitely work, definitely not work, or might it work and no-one has any idea? :-) More specifically, I'm trying to decode Speex data encoded using sampleenc. So, it's definitely been encoded correctly. Normal (floating point) Speex compiles and decodes that data fine on the platform. Gerv --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Apparently Analagous Threads
- RE: Difference in Encoding of files on Pocket PCvis-à-vis desktop
- Difference in Encoding of files on Pocket PC vis-à-vis desktop
- RE: Difference in Encoding of files on Pocket PCvis-à-vis desktop
- Re: Difference in Encoding of files on Pocket PC vis-à-vis desktop
- Error in compiling Speexdec code (Speex-1.1.5 code)onWindows usingVC++6.0