Kenji Chan
2004-Aug-06 15:02 UTC
[speex-dev] What is the format of the PCM/WAV data forspeex_encode & speex_decode?
Ok, I'm using 1.1.4, so I should pass signed short(wav data) directly to speex_encode()? But the samplecode that comes with 1.1.4 shows me to put short in float array, and pass the float array to speex_encode() <p>-----Original Message----- From: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org] On Behalf Of Jean-Marc Valin Sent: Saturday, April 17, 2004 6:25 AM To: speex Subject: Re: [speex-dev] What is the format of the PCM/WAV data forspeex_encode & speex_decode? Speex 1.0.3 uses floats, but the unstable version 1.1.x uses short. Jean-Marc <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] What is the format of the PCM/WAV data forspeex_encode & speex_decode?
Le ven 16/04/2004 à 16:39, Kenji Chan a écrit :> Ok, I'm using 1.1.4, so I should pass signed short(wav data) directly to > speex_encode()?First, I'd like to ak why you want to use 1.1.4. If you don't need the new features (fixed-point or preprocessor), you should probably stick to 1.0.3, which has received more testing. If you choose to use 1.1.4, you need to send shorts to speex_encode/speex_decode.> But the samplecode that comes with 1.1.4 shows me to put short in float > array, and pass the float array to speex_encode()The document hasn't been updated for 1.1.x. Jean-Marc -- 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/20040416/e90e7b67/signature-0001.pgp
Kenji Chan
2004-Aug-06 15:02 UTC
[speex-dev] What is the format of the PCM/WAV dataforspeex_encode & speex_decode?
I thought it would be more update/better/faster, any thing wrong? In the future, would you use short, and forget about float? If so, I use 1.1.4, I wouldn't need to change my code in the future, right? You said, it's unstable, yes, I got compiling errors with MsVC6 and MsVC.net And I modified it a bit to get it compiled. Should I post the errors here? <p>-----Original Message----- From: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org] On Behalf Of Jean-Marc Valin Sent: Saturday, April 17, 2004 6:42 AM To: speex Subject: RE: [speex-dev] What is the format of the PCM/WAV dataforspeex_encode & speex_decode? Le ven 16/04/2004 à 16:39, Kenji Chan a écrit :> Ok, I'm using 1.1.4, so I should pass signed short(wav data) directly to > speex_encode()?First, I'd like to ak why you want to use 1.1.4. If you don't need the new features (fixed-point or preprocessor), you should probably stick to 1.0.3, which has received more testing. If you choose to use 1.1.4, you need to send shorts to speex_encode/speex_decode. <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.
Seemingly Similar Threads
- What is the format of the PCM/WAV data forspeex_encode & speex_decode?
- What is the format of the PCM/WAV dataforspeex_encode & speex_decode?
- What is the format of the PCM/WAV data for speex_encode & speex_decode?
- Error in compiling Speexdec code (Speex-1.1.5 code) on Windows using VC++6.0
- What is the format of the PCM/WAV data for speex_encode & speex_decode?