Audio multiple volumes audio template

Professionally built templates to get you started.

{
"timeline": {
"tracks": [
{
"clips": [
{
"asset": {
"type": "audio",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/music/unminus/berlin.mp3"
},
"start": 0,
"length": 3.96
},
{
"asset": {
"type": "audio",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/music/unminus/berlin.mp3",
"volume": 0.25,
"trim": 3.96

},
"start": 4,
"length": 3.96
},
{
"asset": {
"type": "audio",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/music/unminus/berlin.mp3",
"volume": 0.8,
"trim": 7.96

},
"start": 8,
"length": 3.96
}
]
}
]
},
"output": {
"format": "mp4",
"resolution": "sd"
}
}

Adjust the volume of an audio track at multpile points along the timeline. The track is cut in to multiple sections, each with a different volume.

New to Shotstack? Sign up to use this template and start automatically generating videos.

SIGN UP

How to use this template

Use this template as the starting point for your automated audio editing project. Customise it to meet the needs of your application or workflow.

Postman

Test and modify this template directly in Postman by forking our public Collection.

Application

Customise the template and integrate it in to your application or workflow using the programming language of your choice.

SDK

Use this template as the starting point for integration with our SDKs. Port the JSON to PHP, Node or Ruby and integrate in to your code base.

Experience Shotstack for yourself, with no risk, and generate your first video in 5 minutes.