libgba-cpp icon indicating copy to clipboard operation
libgba-cpp copied to clipboard

Add SFX and Music support

Open JPTIZ opened this issue 6 years ago • 0 comments

Scenery

Currently there's no working SFX implementation. There are some tests on a specific branch. For music, #6 will be needed.

Where to start

One could read about sound register in the technical manual to implement a simple API to access them, and then read about Interrupt Control to make audio play using interrupts. With those two, plus DMA transfer, audio frequencies may be transferred to each channel's FIFO and then music should play.

Hints

These may help:

JPTIZ avatar Jul 21 '19 14:07 JPTIZ