thanks a lot for your response.
can u plz tell me how can i normalize that.
 
I will be thankful to you

Borszczuk <[EMAIL PROTECTED]> wrote:
On Thursday 09 of March 2006 14:49 Prashant Batra wrote:


> bP = (UInt16 *) buffer;
> tvar[j] = bP[ib] + bP[ib+1];

This approach is inccorect and you technically simply "overload the result".
Example (on byte, for simpicity): if A,B,C are bytes and A=200 and B=200
then the A+B will never "fit" a byte. In this case C will result in 400 %
256 = 144. What you should do is rather to normalize the result soundwave
prior storing it.

Regards,
--
"Daddy, what "Formatting drive C:" means?"...

Marcin http://wfmh.org.pl/carlos/

--
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/



Cordially
Prashant Batra

È:+91-0-9891077330

 
 


Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to