SoundContent

Drop in a voice-over or a beat, play it, run it through effects, or turn the words into timed captions.

A SoundContent points at a sound file (WAV, OGG, MP3, FLAC and more); the file stays on disk. Play, Stop, Pause and Resume it from a script, or tick Playing in Properties; Volume, PlaybackSpeed, Looped and TimePosition shape it. Wired into audio nodes, it plays through them. Dropped on a video it becomes a sound clip. Right-click it and choose Transcribe to make Captions. Anything but WAV needs ffmpeg.

Properties

Playback

NameTypeDefaultDescription
Loopedbooleanfalse
PlaybackSpeednumber1
0.01 to 10
PlayingbooleanfalseStarts and stops the sound; ticking it in Properties plays it.
TimePositionnumber0
0 to 1e+06
The playing position: editing it seeks, and while the sound plays it is written back.
Volumenumber0.5
0 to 10

File

PathstringThe path to its sound file: wav, ogg, mp3 and more.
TimeLengthnumber

Audio

AudioaudioProperties window onlyThe sound's audio socket, output only, for wiring it into audio nodes.

Methods

NameArgumentsReturnsDescription
Pause()()
Play()()Plays the sound from its TimePosition.
Resume()()
Stop()()Stops the sound and sets its position back to 0.
From Instance 22