fengb / fundude

Gameboy emulator: Zig -> wasm
https://fengb.github.io/fundude/
MIT License
180 stars 8 forks source link

Audio bench #36

Open fengb opened 4 years ago

fengb commented 4 years ago

Let’s create an interface to directly load into sound IO. Reasons:

  1. Audio will be hard to debug if we have to rely on in game sounds. Having direct control let’s us directly fiddle with the data.
  2. Small memory space needed to manipulate.
  3. It’d be awesome

Features:

  1. Custom ROM that simply loops through sound IO
  2. A way to load data into a register.
  3. A way to push data from register to a specific IO.
  4. Render the audio wave(s) coming from core.