Audio files are attached to songs, and provide information about the file itself, links to different versions (.mp3, .wav), etc.
Attributes
| Attribute | Type | Description |
|---|---|---|
| description | string | Audio file description. This can be an empty string. |
| duration | number or null | Duration in seconds, or null when it is unavailable. |
| instrumental | boolean | true when the audio file has no lead vocals. Instrumental and background-vocal versions both return true. |
| song_id | string | ID of the song this audio file belongs to. |
| versions | object |
|
Example
{
"id": "1",
"type": "audio_files",
"attributes": {
"description": "Instrumental [Primary]",
"duration": 20.18975,
"instrumental": true,
"song_id": "1",
"versions": {
"mp3": "https://soundstripe.example.com/mp3_the_dread.mp3",
"wav": "https://soundstripe.example.com/the_dread.wav"
}
}
}