[Speex-dev] Sound distorted after normalized.
Tay YueWeng
yueweng at yahoo.com
Tue Dec 28 21:14:32 PST 2004
Hi Jean-Marc,
Sorry for miss-send to your personal email.
So is there got any idea how to elimite the background
bee sound and activate DTX correctly?
Is it a bug in version 1.0.4? Should I use 1.1
instead?
YueWeng
--- Jean-Marc Valin <Jean-Marc.Valin at USherbrooke.ca>
wrote:
> > 16 bit ints have a range of -32768 to 32767. If
> you divide
> > -32768 by 32767.0 you end up with
> -1.00003051850948 which
> > is a bad thing.
> >
> > Try normalizing with a value of 32768.0.
>
> No. Speex expects values in the +-32767 range, not
> +-1.0. Just
> converting from int16 to float *is* the right thing
> to do.
>
> Jean-Marc
>
> --
> Jean-Marc Valin <Jean-Marc.Valin at USherbrooke.ca>
> Université de Sherbrooke
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
More information about the Speex-dev
mailing list