Sound
On this page
Music, voice-over and sound effects. Music can dip while someone speaks, and the whole mix is evened out to a steady loudness.
Every Timeline names its language version in v. The newest is 1.33. A Timeline that uses something newer than its v is refused when you save it, with a detail that names the version it needs.
Words such as segment, Timeline, Preview and final are defined in the glossary.
Music that dips while words are spoken #
Lowers a music track wherever the words of a caption track are spoken, so speech inside your clips stays clear.
Key: audio.ducking_speech · Available · Goes in the Timeline's audio list · Needs "v": "1.13" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
ducking.against | text | required | The id of a caption track, or "captions" for every caption track. |
Example:
{
"captions": [
{
"id": "speech",
"source": { "$annotation": "<transcript id>" },
"range": { "from": 0, "to": 6000 },
"language": "en"
}
],
"audio": [
{
"id": "music",
"source": { "$asset": "<music id>" },
"role": "music",
"range": { "from": 0, "to": 6000 },
"ducking": { "against": "speech", "amount_db": -12 }
}
]
}Music and voice tracks #
Plays a sound file under the video: music, a voice-over or a long effect. A voice-over is leveled first so a quiet and a loud recording sound alike, and the whole mix is evened out.
Key: audio.track · Available · Goes in the Timeline's audio list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
id | text | required | A name for the track. |
source.$asset | id of your file | required | The sound file: an upload or an asset. |
role | one of music, voiceover, sfx | required | What the sound is. |
range | object, 0 ≤ from < to | required | When it plays: from and to, in milliseconds of the video, inside its length. |
trim | object | — | Where in the file to start, from in milliseconds. |
gain | number, -60–12 dB | 0 | Louder or quieter, in decibels. |
loop | true or false | false | Repeats the file to fill the range. |
fade_in | whole number, ≥ 0 ms | 0 | Fades in at the start, in milliseconds. |
fade_out | whole number, ≥ 0 ms | 0 | Fades out at the end, in milliseconds. |
Example:
{
"audio": [
{
"id": "music",
"source": { "$asset": "<music id>" },
"role": "music",
"range": { "from": 0, "to": 6000 },
"gain": -8,
"loop": true,
"fade_in": 500,
"fade_out": 1000
}
]
}How loud the video is #
Every video is brought to the standard loudness for social video (-14 LUFS). Natural, the default, keeps the peaks of music with strong peaks clean, so such music may sound a little quieter. Louder always reaches the standard loudness and presses those peaks harder.
Key: output.loudness · Available · Goes in the Timeline's audio list · Needs "v": "1.28" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
output.loudness | text | "natural" | "natural" (the default) or "louder". |
Example:
{
"output": {
"aspect": "9:16",
"resolution": 1080,
"fps": 30,
"container": "mp4",
"loudness": "louder"
}
}Music that dips under a voice #
Lowers one track wherever another plays, such as music under a voice-over, with a smooth dip and recovery.
Key: audio.ducking · Available · Goes in the Timeline's audio list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
ducking.against | text | required | The id of the track to make room for. |
ducking.amount_db | number, -36–0 dB | -12 | How far it dips, in decibels. |
ducking.attack | whole number, ≥ 0 ms | 20 | How fast it dips, in milliseconds. |
ducking.release | whole number, ≥ 0 ms | 250 | How fast it comes back, in milliseconds. |
Example:
{
"audio": [
{
"id": "voice",
"source": { "$asset": "<voice id>" },
"role": "voiceover",
"range": { "from": 0, "to": 6000 }
},
{
"id": "music",
"source": { "$asset": "<music id>" },
"role": "music",
"range": { "from": 0, "to": 6000 },
"ducking": {
"against": "voice",
"amount_db": -12,
"attack": 20,
"release": 250
}
}
]
}Sound effects #
Plays a short sound at one moment, such as a whoosh on a transition or a hit on a word: from the OneUpAI stock library or one of your own files.
Key: sfx · Available · Goes in the Timeline's sfx list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
at | whole number, ≥ 0 ms | required | When it plays, in milliseconds of the video, before its end. |
source.$stock | one of whoosh, impact, pop, click, riser, stinger, ding, ping, cash, shutter, typing, scratch, glitch, boing, applause, drumroll, beep, buzzer, crickets, heartbeat, sparkle, sweep, textpop, bass, chime, tension, bell | — | A stock sound from the OneUpAI library (each made by OneUpAI, some with its own AI), or use source.$asset for your own. |
gain | number, -60–12 dB | 0 | Louder or quieter, in decibels. |
Example:
{ "sfx": [{ "at": 2800, "source": { "$stock": "whoosh" }, "gain": -6 }] }