Whenever an instrument produces a note, its volume creates a certain shape as it changes over time. A piano note, for example, has a near-instant onset and drops to silence after the key is released.