libgme / game-music-emu

Blargg's video game music emulation library, which allows audio applications to easily add playback support for the music of many classic video game consoles.
GNU Lesser General Public License v2.1
59 stars 12 forks source link

Add a multi-channel example #55

Closed myQwil closed 9 months ago

myQwil commented 9 months ago

Similar to demo, demo_multi writes 10 seconds of audio to out.wav, but it sends all even-numbered voices to the left channel and all odd-numbered voices to the right channel.

Wohlstand commented 9 months ago

Seems fine, I'll merge this.

Wohlstand commented 9 months ago

By the way, you can just record a multichannel WAV file, so, Audacity will display a multiple set of them.

myQwil commented 9 months ago

That sounds like an interesting idea, though it's harder to predict what an audio player is going to do with those 16 channels. It might try to down-mix them to stereo, but who knows how it's going to interpret what the 16 channels represent in order to do so.