logoalt Hacker News

Joeboytoday at 5:10 PM1 replyview on HN

It's not kid friendly, but in case anybody's interested I just wrote up how I made a simple "hardware" synth by bodging together a Raspberry Pi Pico 2 and I2S audio module, total cost around £10 on Amazon UK.

The hardware's very cheap and easy. The "default" synthesis is pretty simple but also pretty hackable (in Rust) if you want to customize it.

https://github.com/Joeboy/oxynth/


Replies

afandiantoday at 6:48 PM

Thanks for sharing!

I did some similar playing around with an ESP32 and I2S a few years ago (lockdowns were an odd time). Where I seem to remember getting stuck was how to get the phase to line up, so that each sample looped at a zero-crossing point (which is different for each frequency).

For the lazy, what did you do?

https://gitlab.com/afandian/melodicornamuse/-/blob/main/melo...

show 2 replies