The idea starts with something the fly already does. A male hears another fly's wingbeat through Johnston's organ, and that signal routes through a single descending neuron, pIP10, into courtship song: one wing beating out a species-specific rhythm. flybeats hijacks that exact pathway. The input becomes a song instead of a rival's wingbeat, and the output becomes a drum kit instead of a courtship performance.
MaleCNS v1.0 is a full synaptic wiring diagram of a fruit fly brain: every neuron, every connection, released by Janelia and Google Research. flybeats keeps that wiring fixed and only lets the connection strengths change, then trains the network to listen to a song and drive a drum kit through the fly's own wing-steering motor neurons.
It's a strange question dressed up as a fun one: how much of "sounding musical" comes from the wiring itself, versus the training? The pipeline runs end to end: real-time playback, an adjustable tempo dial, even a lesion mode that mutes individual neuron types mid-performance.
View the code on GitHub
built with Claude Code