[Speex-dev] a way restrict encoding sound volume

?? dawn144kr at hotmail.com
Mon Jul 9 03:41:29 PDT 2007


You have the point.

"I get very distorted speech when using libspeex in my application. What¡¯s 
wrong?
....
If the input speech has an amplitude close to ¡¾2^15, it is possible that 
at decoding, the amplitude be a bit higher than that, causing clipping when 
saving as 16-bit PCM."

This is one of FAQs in 'speex-manual' you wrote. I guess amplitudes close 
to 2^15 bother me. Do you have any idea to avoid it? I believe speex give 
me a solution or Plan B;)

Thank you.


>From: Dmitry Yakimov <support at zipcure.com>
>To: ?? <dawn144kr at hotmail.com>
>Subject: Re: [Speex-dev] a way restrict encoding sound volume
>Date: Mon, 09 Jul 2007 11:33:02 +0400
>
>Hi,
>
>It is much better to spend a bit of time and find where overflow occurs,
>then send your patches.
>
> > Thanks for reading.
> >
> > I wonder if there are some ways to reduce volume at encoding time.
> > When I encode with speex, a loud sound makes a harsh big noise.
> > By control input volume on which mix controller for example, it may be
> > solved.
> > But I want to suppress input sounds by my program automatically not by
> > user control.
> >
> > What should I do?
> >
> >
> > _______________________________________________
> > Speex-dev mailing list
> > Speex-dev at xiph.org
> > http://lists.xiph.org/mailman/listinfo/speex-dev
> >
> >
>Best Regards,
>Dmitry Yakimov




More information about the Speex-dev mailing list