[Openal] Sound files problem

Garin Hiebert garinh at cheesetoast.net
Tue Dec 5 10:53:44 PST 2006


> My Open Al application works fine with some sound files I downloaded from
> internet but don´t works with some files I generated on soundforge. All the
> files are 44.100 , 16 bits .

Whatever is parsing the WAV file is probably choking on the SoundForge 
files due to some formatting issue.  WAV files have RIFF-formatted 
chunks of data in them, and some parsers aren't very flexible...

With your own data, it's probably easiest to use a fixed format (44kHz, 
16-bit mono is a perfectly good choice) and store present it directly to 
OpenAL -- avoiding any WAV-file-parsing issues...

>  Some mono files can´t be reard and  nd some
> stereo files don´t behave as 3D sound ( listening position doesn´t affect
> sound volume) . What is wrong here ?????
>   

Multi-channel buffers aren't spatialized in OpenAL -- convert to mono if 
you want 3D spatialization...

Garin



More information about the Openal mailing list