Skip to main content
gamedev.net
🔒 Locked

Audio Data Conversion

Started by alonr 0 replies 400+ views
Original Post
alonr
alonr
Hello All, I have an audio file with the format: WAVEFORMATEX: wFormatTag: 0xfffe nChannels: 8 nSamplesPerSec: 48000 nAvgBytesPerSec: 768000 nBlockAlign: 16 wBitsPerSample: 16 cbSize: 22 (extra bytes) WAVEFORMATEXTENSIBLE: wValidBitsPerSample: 16 dwChannelMask: 0x000000ff SubFormat: {00000001-0000-0010-8000-00AA00389B71} I need to convert it to a simple PCM format with only 2 channels, 48000Hz 16 bits per sample. I tried to sum the 8 channels into 2 channels (even channels to the left and odd channels to the right). When I play the converted file, I hear some of the original channels, but some are missing. Does anyone have an idea how can i convert it correctly? Thanks :-)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.