gamebosu icon indicating copy to clipboard operation
gamebosu copied to clipboard

Fix Gameboy sound playback

Open Game4all opened this issue 4 years ago • 5 comments

Game4all avatar Apr 20 '20 20:04 Game4all

At a first glance, the framework doesn't seem to expose a way to buffer a SampleChannel with bytes directly. (So might require a PR against framework) or may have to look into TrackBass + circular MemoryStream.

Game4all avatar Apr 23 '20 20:04 Game4all

Definitely requires investigating BASS to do playback of streamed data. The emulator core exposes the data in PCM format so it should be pretty straightforward.

Game4all avatar Jun 15 '20 13:06 Game4all

Got audio to "work", but it is somewhat distorted, noisy. Needs to get a performant ring buffer implementation to buffer audio data now.

Game4all avatar Jun 26 '20 18:06 Game4all

https://github.com/ppy/osu-framework/pull/4291 Not really sure will this change got helps 🤔 ?

andy840119 avatar Aug 26 '21 16:08 andy840119

With Bass Mix being merged in framework, I might give this a shot again once I get a bit of free time.

Game4all avatar Aug 26 '21 20:08 Game4all