Skip to main content
Rive home page
Search...
⌘K
Ask AI
Support
Get Started
Get Started
Search...
Navigation
Scripting API
AudioSound
Home
Editor
Scripting
App Runtimes
Game Runtimes
Feature Support
Tutorials
Case Studies
Community
Blog
Early Access
Scripting
Getting Started
Demos
Creating Scripts
Protocols
Data Binding
Script Inputs
Pointer Events
Debugging
Keyboard Shortcuts
Scripting API
Animation
Artboard
AudioEngine
AudioSound
AudioSource
BlendMode
Blob
Color
CommandType
Context
ContourMeasure
Converter
DataContext
DataValue
DataValueBoolean
DataValueColor
DataValueNumber
DataValueString
EnumValues
Gradient
GradientStop
Image
ImageFilter
ImageSampler
ImageWrap
Input
Layout
Listener
ListenerAction
Mat2D
Node
NodeData
NodeReadData
Output
Paint
PaintDefinition
PaintStyle
Path
PathCommand
PathData
PathEffect
PathMeasure
PointerEvent
Property
PropertyEnum
PropertyList
PropertyTrigger
PropertyViewModel
Renderer
StrokeCap
StrokeJoin
TransitionCondition
Trigger
Vector
ViewModel
ViewModel
On this page
Fields
volume
Methods
stop
seek
seekFrame
completed
time
timeFrame
Scripting API
AudioSound
Provides access to an AudioSound object
Fields
volume
volume of the sound
Methods
stop
stop the audio
seek
seek the audio to a specific time in seconds
seekFrame
seek the audio to a specific time in PCM frames
completed
Whether the sound has completed playing
time
Current sound time in seconds
timeFrame
Current sound time in PCM frames
Was this page helpful?
Yes
No
Suggest edits
Raise issue
AudioEngine
AudioSource
⌘I