I just download the 1.1.5. And it is working well. I try the xxx_int functions at least it works. But I did not find the performance improvement. But when I try this: m_pPreprocess= speex_preprocess_state_init(m_nSamplesPerFrame, m_nSampleRate); speex_preprocess_ctl(m_pPreprocess, SPEEX_PREPROCESS_SET_DENOISE, &tmp); and add speex_preprocess(m_pPreprocess, buf, NULL); before encode. The result is really unacceptable. I think there must be something wrong. And for the encode I did not use abr or vbr because I can not make them work. Does the DENOISE really working in this ver? Or maybe I wrote some wrong code? Tks. <p>Live Global Bid _____ Alex X. Wang Programmer Analyst <http://www.liveglobalbid.com> Live Global Bid Inc. <mailto:alex@liveglobalbid.com> alex@liveglobalbid.com Phone: (306) 584 1383 <p><p> <hr noshade> <img src="att-0109/01-image001.gif" alt="image001.gif"> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: application/octet-stream Size: 4048 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040528/830502bd/image001-0001.obj
Jean-Marc Valin
2004-Aug-06 15:02 UTC
[speex-dev] Question about SPEEX_PREPROCESS_SET_DENOISE
I'd say check the result just after denoising (try without denoising too). Also make sure you've got the right number of samples and all. I can't say much with the info you're giving me. Jean-Marc Le ven 28/05/2004 à 16:29, Alex Wang a écrit :> I just download the 1.1.5. And it is working well. I try the xxx_int > functions at least it works. But I did not find the performance > improvement. > > But when I try this: > > m_pPreprocess> speex_preprocess_state_init(m_nSamplesPerFrame, m_nSampleRate); > > speex_preprocess_ctl(m_pPreprocess, > SPEEX_PREPROCESS_SET_DENOISE, &tmp); > > and add > > speex_preprocess(m_pPreprocess, buf, NULL); > > before encode. The result is really unacceptable. I think there must > be something wrong. > > And for the encode I did not use abr or vbr because I can not make > them work. > > Does the DENOISE really working in this ver? Or maybe I wrote some > wrong code? > > Tks. > > > > > > Live Global Bid > > > ___________________________________ > > Alex X. Wang > Programmer Analyst > Live Global Bid Inc. > alex@liveglobalbid.com > Phone: (306) 584 1383 > > >-- 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/20040528/ea584d8a/signature-0001.pgp
Unlivable. I fix it. I forgot the speex_preprocess(m_pPreprocess, buf, NULL) need to do enough samples too. Tks a lot! And speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_DEREVERB, &tmp); f=.4; speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_DEREVERB_DECAY, &f); f=.3; speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_DEREVERB_LEVEL, &f); What are these source code mean? I can not find any document about them. -----Original Message----- From: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org] On Behalf Of Jean-Marc Valin Sent: Friday, May 28, 2004 2:42 PM To: speex; Alex Wang Subject: Re: [speex-dev] Question about SPEEX_PREPROCESS_SET_DENOISE I'd say check the result just after denoising (try without denoising too). Also make sure you've got the right number of samples and all. I can't say much with the info you're giving me. Jean-Marc Le ven 28/05/2004 à 16:29, Alex Wang a écrit :> I just download the 1.1.5. And it is working well. I try the xxx_int > functions at least it works. But I did not find the performance > improvement. > > But when I try this: > > m_pPreprocess> speex_preprocess_state_init(m_nSamplesPerFrame, m_nSampleRate); > > speex_preprocess_ctl(m_pPreprocess, > SPEEX_PREPROCESS_SET_DENOISE, &tmp); > > and add > > speex_preprocess(m_pPreprocess, buf, NULL); > > before encode. The result is really unacceptable. I think there must > be something wrong. > > And for the encode I did not use abr or vbr because I can not make > them work. > > Does the DENOISE really working in this ver? Or maybe I wrote some > wrong code? > > Tks. > > > > > > Live Global Bid > > > ___________________________________ > > Alex X. Wang > Programmer Analyst > Live Global Bid Inc. > alex@liveglobalbid.com > Phone: (306) 584 1383 > > >-- Jean-Marc Valin http://www.xiph.org/~jm/ LABORIUS Université de Sherbrooke, Québec, Canada <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.