Log inGet started
World

Fruit Fly

Branchmain
Branchesmain
Commit83f1b94a81

README.md

wingbeat

The fly's wingbeat bed. A 220 Hz fundamental with three harmonics and a slow amplitude wobble, 0.2 s long, which is exactly 44 periods of the fundamental and one of the wobble, so the clip's last frame runs into its first without a click (loopSeam().seamless reads true). Synthesised in Luau and stored as pcm, so nothing about it depends on a network or a generation service.

flySound plays it looping and spatial on the fly, with its volume following how hard the wing power-muscle motor neurons are driving the wings, up to a ceiling of 0.5.