Deeper Disco : https://mathr.co.uk/web/deeper-disco.html
I made a small #Noise generator for multiple platforms. Maybe serves as an example of how to bootstrap #ExecutableMusic #SizeCoding #Audio #DSP on common platforms. Probably not optimal, tips welcomed.
APIs used:
- #Amiga audio.device
- #Windows wave mapper
- #Linux /dev/dsp
- #HTML5 audio tag with WAV blob
Linux version can write WAV to stdout with a compile-time option.
Two Amiga versions target A500 and A1200.
Windows and Linux support Intel and ARM architectures (both 64bit and 32bit).
Linux on other architectures will need some more inline assembly for the syscalls.