The song object

Songs are the main resource in Soundstripe. Songs will have one or more audio files and artists attached to them.

Attributes

Attribute

Type

Description

bpm

number

Song BPM

explicit

boolean

Whether or not the song has explicit lyrics.

key

object

Song musical key.

  • name [string]: The name of the key. For instance, Ab/G#.
  • mode [string]: The key's mode. For instance, major.

tags

object

Tag names by category.

  • characteristic [array<string>]: Characteristics
  • genre [array<string>]: Genres
  • instrument [array<string>]: Instruments
  • mood [array<string>]: Moods

title

string

Song title

Example

{
  "id": "1",
  "type": "songs",
  "attributes": {
    "bpm": 110.0,
    "explicit": false,
    "key": {
      "name": "A",
      "mode": "major",
    },
    "tags": {
      "characteristic": [
        "Minimal",
        "Droning"
      ],
      "genre": [
        "Soundtrack / Cinematic"
      ],
      "instrument": [
        "Strings",
        "Ambient Tones"
      ],
      "mood": [
        "Scary",
        "Suspenseful"
      ]
    },
    "title": "The Dread"
  },
  "relationships": {
    "artists": {
      "data": [
        {
          "id": "1",
          "type": "artists"
        }
      ]
    },
    "audio_files": {
      "data": [
        {
          "id": "1",
          "type": "audio_files"
        }
      ]
    }
  }
}