This project has moved and is read-only. For the latest updates, please go here.

How to play 8bit wave with WaveOut

Aug 3, 2009 at 1:39 PM

I'm trying to use WaveOut to play wave files. However WaveChannel32 supports only 16 bit wave format. How can I play 8-bit audio (recorded with AudioIn) ?

Aug 19, 2009 at 11:10 PM
Edited Aug 19, 2009 at 11:14 PM

Hi wkdj,

Is it not possible for you to record the audio in 16 bit to start with?

Alternatively you need to upscale the audio to 16 bit before you read it in to WaveChannel32.

Have a look at this blog post for an example on how to do this with NAudio: http://mark-dot-net.blogspot.com/2008/11/using-naudio-to-replace-babysmash-audio.html

Cheers,
Sebastian