{
"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.
Test and modify this template directly in Postman by forking our public Collection.
Customise the template and integrate it in to your application or workflow using the programming language of your choice.
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.