pcm

What is a MIDI soundbank?

I am a neophyte at MIDI. Does a MIDI soundbank contains "instuctions" [sic] for a MIDI synthesizer to turn into PCM audio? I have numerous pieces of variable-duration audio (currently in PCM and thus my ask) that I would like to sequence (if you will) and provide instructions to play (and mix them) based upon a server-generated timelin...

Is the native AAC decoder available when using Android NDK?

I'm looking for a way to decode AAC natively to PCM on Android. The decoder source code is at http://android.git.kernel.org/?p=platform/external/opencore.git;a=tree;f=codecs_v2/audio/aac/dec;hb=HEAD, but I'm not familiar with NDK at all. 1) There's no way of doing this directly using the Android SDK, but can this be done via the NDK? ...

How can I decode ogg vorbis data from a ByteBuffer ?

The libraries I founded so far only have methods to decode from a file or InputStream, I have a ByteBuffer with ogg vorbis data and I need it decoded to PCM without having to write it to a file first. ...

Playing Stereo PCM with DirectSound

Hey, I have simple 16-bit PCM player that I made using DirectSound. But when it plays, it seems that it plays only one speaker instead of both. I don't know what code to post exactly, so you'll have to tell me if you need any. I can say that I create the sound buffer using, and lock the stream using: WAVEFORMATEX wfx; ZeroMemory(&wfx...