Hold your pointer down to produce a sound, release it to stop the sound. The tone is generated using two sawtooth oscillators via the Web Audio API (v

bignimbus/trombone.js

submited by
Style Pass
2022-09-22 18:30:07

Hold your pointer down to produce a sound, release it to stop the sound. The tone is generated using two sawtooth oscillators via the Web Audio API (via WAD).

You can modify the pitch in a manner similar to a trombonist: by changing the partial or changing the slide position. A brass player will move air through their embouchure (mouth and face muscles) to help generate a pitch. The tighter the embouchure, the higher the partial. A partial is a stop on the overtone series, a discussion of which is beyond the scope of this document. Suffice it to say that partials range from very low-pitched to very high-pitched and get closer together at higher frequencies: the first partial is an octave (12 semitones) below the second partial; the fourth partial is only ~4 semitones below the fifth partial. The higher up your pointer is on the screen (y axis), the higher the partial.

Trombonists can get more fine-grained control over pitch by lengthening the instrument via the hand slide. In this digital trombone, moving your pointer to the right will increase the length of the instrument and lower the pitch.

Leave a Comment
Related Posts