FidoNet Echomail Archive
aust_c_here

<<< Previous Index Next >>>

From: Rob Adams
To: Danny Keogh
Date: 1997-07-27 18:21:44
Subject: converting sound data

Danny Keogh wrote in a message to All:

 DK>  * Crossposted from: FN - International Pascal Programming

 DK> Ok, peoples!  I thought I knew how to do this but when I tried it
 DK> it didn't work.  No code is needed, I just need to know how to
 DK> convert a 16-bit sample to an 8-bit sample...  That's it.

 DK> Thanks in advance

Hmmm what would I do....

Count every 2nd bit?
or maybe a little more tricky... (int)(bit1+bit2)/2

just a thought... but I like to feel helpful.

Cheers,
           Rob 
--- 
 * Origin: The CrySTal - Darwin, NT - +61-8-8948-3164 (3:850/118)
SEEN-BY: 620/243 622/419 625/155 632/107 348 360 633/154 260 267 270 362 371
SEEN-BY: 633/373 635/728 638/102 639/252 640/201 206 217 230 238 254 257 297
SEEN-BY: 640/309 370 375 820 821 822 837 890 670/218 690/660 711/410 413 430
SEEN-BY: 711/953 963 712/506 713/317 714/930 800/1 850/0 1 118
@PATH: 850/118 640/201 820 711/410 633/260 632/360 635/728 633/267


<<< Previous Index Next >>>