Shape a note by holding and releasing a key

Press the key to raise the amplitude to its peak, then let it settle at the sustain level. Hold to maintain that level. Releasing the key takes the current amplitude down to zero.

Try the motion

When to use it

Shape the onset and tail of a synthesizer note or compare short and sustained notes.

How the motion works

A linear attack is followed by a 0.36-second decay to 46%. Release runs from the current amplitude for the chosen time. Audio is opt-in. Reduced motion shows a stationary diagram.

How to use it

iOS · Android
Hold the key button, then lift your finger. Drag the sliders to change attack and release.
PC
Focus the key button, hold Space or Enter, then release. Adjust the sliders with the arrow keys.

Try a device version

Example files and implementation notes

Choose a device in the demo and save the motion to your collection to download the working HTML and implementation notes as a ZIP.