Tag: audio

5 posts tagged with "audio".

When 97% Is the Most Valuable Number

I soldered two bodge wires, taught the HDMI coprocessor to talk back, and made it run the SNES sound chip with real Super Mario World music. It reached 97% of realtime. That number is worth more than a pass.

Same bytes, different song

Celeste's soundtrack sounded wrong on the console, so I diffed the cart against the BBS: byte-identical. Two synth bugs later - a music clock that cut bars to a quarter, and a noise fit that matched the wrong metric - the envelope correlation went from 0.49 to 0.94.

The Cartridge That Killed Its Own Soundtrack

The morning after deleting the old Lua core: 32,000 lines gone, everything played - and then the speakers started clicking. Two wrong fixes, one command trace, and the crossfade every PICO-8 reimplementation eventually learns it needs.

Four wires, five villains

Getting real console frames from the H7 to the Feather RP2040 DVI took two days and five separate root causes: a CPU-starving encoder, a FIFO race, a missing ground return, a clock divider that lied to me, and a GPIO port that mutes my DAC.

Getting sound out of it

An I2S DAC, SAI plus DMA, and three gotchas that each ate a session: a mute pin nobody pulls high, a data cache fighting the DMA, and an async executor that starved the audio to silence.