Skip to main content
An Audio Event plays a sound when it fires. Use it for short sound effects, such as button clicks, pops, and footsteps, that start in sync with an animation or a user interaction. Sounds from several Audio Events can play over each other.
Audio Events are built for quick sounds. There are no runtime controls for the sound: you can’t pause it or change its volume or panning while it plays. For background music, voice-overs, and other long or controlled audio, use Scripting with AudioSound and AudioSource.

Creating an Audio Event

Drag an audio asset or clip from the Assets panel onto the stage. Rive creates an Audio Event that plays that sound. To turn an existing event into an Audio Event, select it, set Type to Audio in the Inspector, and choose a sound in the Asset field under Audio Properties. You can create a new event with the Event tool (Shift + E). To import sounds, browse the Soundly library, make clips, or adjust a sound’s volume, see Audio Assets.

Playing an Audio Event

An Audio Event plays its sound whenever it’s reported. Like any event, you can report it from:
  • A timeline, to play the sound at an exact frame.
  • A state or transition, to play the sound when the State Machine enters a state or makes a transition.
  • A listener, to play the sound in response to the user, such as a click on a shape.

Monitoring levels

The VU meter at the bottom of the Inspector shows the audio output level. If the peaks turn red, the output is clipping, often because several sounds are playing at once. Lower the volume of your audio assets to give them more headroom.