Your camera, through 721 ommatidia. Then follow the image down the fly's visual system: each lens shows the same scene as one stage of the optic lobe represents it, live.
The shape down the left edge is the population at each stage of one optic lobe (FlyWire v783): 5,353 photoreceptors squeeze into 1,586 L1/L2 cells, then fan out to 4,687 ON/OFF medulla cells and 6,100 T4/T5. Per column that is 8 → 2 → 6 → 8: the lamina is the waist of the hourglass.
Inside the optic lobe
Every neuron in the model as a ball, the strongest synapses as sticks, lit live by the same simulation that plays the notes. Drag to turn, pinch or scroll to zoom, hover a ball to name it.
Everything the instrument plays goes into a model of the fly's antennae and early auditory network, wired from FlyWire. As with the eye, each lens shows what one stage of the hearing pathway makes of the sound, live. Send the picture back into the eye from the Hearing tab.
Areas are FlyWire neuropils: each neuron sits where most of its input synapses are. The shape down the left edge is the population at each stage; arrows are the main area-to-area connections, thicker for more synapses, dashed blue where the net effect is inhibition. Each cell's preferred antenna and pitch is inherited from its excitatory inputs through the wiring, and a lens shows its cells' firing laid out by that preference.
Inside the auditory connectome
The ear network from FlyWire at its real place in the brain, seen from the front: Johnston's organ neurons, then three steps inward. Each ball is a neuron, the strongest synapses are sticks, and both light up live as the model hears the instrument. Drag to turn, scroll or pinch to zoom, hover a ball to name it.
The fly's visual system wired into its auditory system: what the eyes see, the optic lobe plays; what it plays, the antennae hear; and what they hear becomes the next thing the eyes see. Sight and sound in one loop, a synaesthesia built from two connectomes.
Slide left to mix the stimulus or camera back in. Instruments and tempo are in the drawer; the lens in Hears sets which stage of hearing the eye is shown. Every change runs round the loop.
What am I hearing?
The network is the connectome-constrained model of the fly optic lobe by Lappalainen et al. (Nature 2024), the best of their 50-model ensemble. It has 45,669 neurons in 65 cell types and 1.45 million synapses, with wiring from the FIB-SEM connectome and unmeasured cell and synapse parameters fit so the network computes optic flow. It runs here in your browser, step by step (20 ms of fly time per step), driven by the stimulus or your camera through the photoreceptors.
Each "string" is a cell type. When its depolarisation in a region of the eye rises past threshold, relative to that type's own response range, it plucks a note. Pitch follows depth in the visual system: retina lowest, lamina, medulla, transmedulla, then the T4/T5 motion detectors highest. Pan follows the region's position on the eye, and loudness the size of the response. Every strung cell type has two strings: one for depolarisation and one for hyperpolarisation. The hyperpolarisation string plays an octave lower, darker, with a reversed envelope that swells in, so light-off and light-on responses sound like each other's shadow. Feedback from the medulla to the lamina is heard as timbre. In the model, about 40% of the synaptic weight onto L1–L5 comes from medulla-resident cells (C2, C3, Lawf and medulla interneurons contacting L-cell terminals). FlyHarp tracks that feedback current in each eye region: net inhibition damps the notes there, and net excitation brightens them. Each area of the visual system is its own instrument family, and each cell type a variant of it. A cell's envelope follows its fitted membrane time constant, so fast cells click and slow cells swell. Because the network has real integration time constants, a flash ripples through the layers over tens of milliseconds; slowing the tempo stretches that ripple into a melody.
The trained network has no gain control of its own. It is linear above threshold, so its responses grow in proportion to light and contrast, and its surrounds subtract rather than divide. The Gain control panel adds two stages that real fly eyes have and the model lacks: photoreceptors that adapt to their own mean light, and divisive normalization of the lamina and medulla by local contrast energy. They are additions to the trained model, not part of it. The Probe panel measures what they do to any cell type.
The eye can be the model's idealized flat lattice or the real one. Real eye places each of the model's columns where a real ommatidium looks, from a micro-CT map of a whole fly head (Zhao et al., Nature 2025): finer along the equator and middle of the eye, coarser at the rim. The wiring stays the same, so the motion detectors' preferred directions bend with the eye, as they do in the fly.
Code and model export: github.com/samuelling/FlyHarp. Model: flyvis (TuragaLab). Eye map: Zhao et al. 2025, github.com/reiserlab/eyemap_T4.