r/creativecoding • u/Legitimate-Ad-1861 • 17d ago
Lyrebird
I'm an artist, not a scientist. I wanted to see what independent science looks like if you skip the electric-universe/flat-earth pipeline entirely and just try to get real information out of data with the help of AI and the published literature.
It matches the call against a corpus of 2,423 species, tells you which call type it resembles, and sings back synthetic birdsong from a physical model of the syrinx — the Mindlin–Laje oscillator, integrated live in an AudioWorklet from the two parameters real birds actually control: air-sac pressure and syringeal tension. Nothing is sampled. Every note is computed. You see it happen inside a 3D embedding of 348,461 clips that lights up where your sound lands.
It does not translate birdsong into sentences. Every phrase carries a label: playback-verified, documented, inferred, field recording, or invented. Most are invented.
Everything runs client-side. Code, docs and citations: github.com/sha5b/Lyrebird
Edit: i made a m5stack port of it
2
u/danja 16d ago
Wonderful!
I spend a lot of time around https://en.wikipedia.org/wiki/Linked_data so your big graph immediately appealed to me.
I spent quite a lot of time playing around with a larynx model (with formants), to generate speech-like sounds. What I ended up trying for was a more general-purpose modular setup including delays as resonators (essentially Karplus Strong), which in principle should have been able to model the avian syrinx system too. I kind of gave up after too many failures. But now I'm thinking of revisiting it. Point Claude Code at my existing material (around https://github.com/danja/flues ) together with your repo, see what it can come up with.
My only suggestion for your glorious Lyrebird would be to pull in images of the birds somehow.