I've been working on this physically simulated trombone on and off for a few months. A recent Show HN doing something similar [1] gave me the motivation to go and finish it up.<p>It's a physical simulation of a trombone, with lips, mouthpiece, bore, slide, and bell. The overall approach is a digital waveguide [2], with lips modeled as a blown-open valve. Lip and bell parameters are approximated from [3].<p>Move the cursor (or your finger) left/right to control embouchure (which controls the lip-valve's spring constant) and move the cursor up/down to extend/retract the slide (modeled as a variable delay line). Space-bar/touch/click to blow. If you're at a keyboard, g to growl and f to flutter-tongue.<p>Diagonal colored lines indicate where the embouchure and slide length align to form a resonance, and the vertical dashed lines are rough locations of B-flat and F.<p>[1] <a href="https://news.ycombinator.com/item?id=27207250" rel="nofollow">https://news.ycombinator.com/item?id=27207250</a><p>[2] <a href="https://ccrma.stanford.edu/~jos/pasp/Digital_Waveguide_Theory.html" rel="nofollow">https://ccrma.stanford.edu/~jos/pasp/Digital_Waveguide_Theor...</a><p>[3] <a href="https://core.ac.uk/download/pdf/56376581.pdf" rel="nofollow">https://core.ac.uk/download/pdf/56376581.pdf</a>