TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JAVIER KOHEN
from: RAJESH DHAWAN
date: 1997-08-05 12:17:00
subject: converting sound data

Hi Javier:
  Javier Kohen,
  In a message on 29 July, you wrote to me :
JK> DK>> it didn't work.  No code is needed, I just need to know how to
JK> DK>> convert a 16-bit sample to an 8-bit sample...  That's it.
JK>  RD> Divide it by 2 ???
JK> 
JK> So 60000 / 2 fits in 8 bits???
Oops, I blundered :)
So, 
 8-bit-sample = 16-bit-sample/256
That ok ?
Rajesh 
...
 * ATP/Linux 1.50 * When you go to the market, use your eyes, not your ears.
--- Maximus/2 3.01
---------------
* Origin: Kalptaru Net India. http://www.kalptaru.com . (6:606/31)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.