[Speex-dev] unsigned and signed ?
vinod at speechdesk.com
Tue Apr 26 00:15:18 PDT 2005
Hello Randy Toor,
I think this could be issue as the character values are negative sometimes
and if yu use
unsigned then it would leave out some information in the original wave or
block. This will not give the required results when yu play the decoded
block. Try to convert.
From: speex-dev-bounces at xiph.org [mailto:speex-dev-bounces at xiph.org]On
Behalf Of Randy Toor
Sent: Tuesday, April 26, 2005 12:06 PM
To: speex-dev at xiph.org
Subject: [Speex-dev] unsigned and signed ?
In an earlier post I made about learning how to use speex someone nicely
responded to me with a Speex Wrapper they had written.. however I am having
an issue now where all I seem to hear is a ticking noise after encoding and
decoding with speex. It is definitely getting proper data, as if I hit the
mic somewhat I hear some extra crackling noises.
Now, my code was nearly the same... but...
the difference is his wrapper takes raw data (before converting it to float)
as CHAR data, whereas my data is UNSIGNED CHAR... would this be an issue ?
If so, what would be the proper way for me to convert from char* to unsigned
If it's not an issue, any ideas on what could be causing it ? (IE. the
format of my raw data etc which btw is 8000 samples/sec mono 16bps)
Take charge with a pop-up guard built on patented Microsoft® SmartScreen
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
Speex-dev mailing list
Speex-dev at xiph.org
More information about the Speex-dev