Skip to main content

SubgenreV2

Subgenre classifier. Use this model when you need a more specific classification than MainGenreV2. If the track does not fit the subgenre taxonomy with sufficient confidence, the output is null. Subgenres are only detected within their corresponding parent-genre context; if the track does not match any subgenre under that hierarchy, this output will be null. In that case, scores, tags and segments are null. If segments is present, individual entries inside segments.values can still be null.

versionVersionrequired
Constant value: SubgenreV2
Default value: SubgenreV2
segments object
anyOf

Segment-level scores for subgenre tags.

timestampsSecondsnumber[]required

Start time of each segment in seconds from the beginning of the track.

Possible values: >= 0

values objectrequired

Map of subgenre tag → array of scores or null (aligned with timestampsSeconds).

abstractIdm object
anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • breakbeatDnb object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • deepHouse object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • electro object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • house object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • minimal object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • synthPop object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • techHouse object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • techno object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • trance object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • medievalPeriod object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • renaissancePeriod object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • baroquePeriod object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • classicalPeriod object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • romanticPeriod object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • contemporaryClassical object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • bluesRock object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • folkRock object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • hardRock object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • indieAlternative object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • psychProgRock object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • punk object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • rockAndRoll object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • popSoftRock object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • contemporaryRnb object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • gangsta object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • jazzyHipHop object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • popRap object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • trap object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • blackMetal object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • deathMetal object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • doomMetal object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • heavyMetal object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • metalcore object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • nuMetal object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • disco object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • funk object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • gospel object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • neoSoul object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • soul object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • bigBandSwing object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • bebop object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • contemporaryJazz object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • easyListening object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • fusion object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • latinJazz object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • smoothJazz object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • country object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • folk object
    anyOf
  • Array [
  • number

    Possible values: >= 0 and <= 1

  • ]
  • scores object
    anyOf

    Track-level scores (0.0-1.0) keyed by subgenre tag.

    abstractIdm object
    anyOf
    number

    Possible values: >= 0 and <= 1

    breakbeatDnb object
    anyOf
    number

    Possible values: >= 0 and <= 1

    deepHouse object
    anyOf
    number

    Possible values: >= 0 and <= 1

    electro object
    anyOf
    number

    Possible values: >= 0 and <= 1

    house object
    anyOf
    number

    Possible values: >= 0 and <= 1

    minimal object
    anyOf
    number

    Possible values: >= 0 and <= 1

    synthPop object
    anyOf
    number

    Possible values: >= 0 and <= 1

    techHouse object
    anyOf
    number

    Possible values: >= 0 and <= 1

    techno object
    anyOf
    number

    Possible values: >= 0 and <= 1

    trance object
    anyOf
    number

    Possible values: >= 0 and <= 1

    medievalPeriod object
    anyOf
    number

    Possible values: >= 0 and <= 1

    renaissancePeriod object
    anyOf
    number

    Possible values: >= 0 and <= 1

    baroquePeriod object
    anyOf
    number

    Possible values: >= 0 and <= 1

    classicalPeriod object
    anyOf
    number

    Possible values: >= 0 and <= 1

    romanticPeriod object
    anyOf
    number

    Possible values: >= 0 and <= 1

    contemporaryClassical object
    anyOf
    number

    Possible values: >= 0 and <= 1

    bluesRock object
    anyOf
    number

    Possible values: >= 0 and <= 1

    folkRock object
    anyOf
    number

    Possible values: >= 0 and <= 1

    hardRock object
    anyOf
    number

    Possible values: >= 0 and <= 1

    indieAlternative object
    anyOf
    number

    Possible values: >= 0 and <= 1

    psychProgRock object
    anyOf
    number

    Possible values: >= 0 and <= 1

    punk object
    anyOf
    number

    Possible values: >= 0 and <= 1

    rockAndRoll object
    anyOf
    number

    Possible values: >= 0 and <= 1

    popSoftRock object
    anyOf
    number

    Possible values: >= 0 and <= 1

    contemporaryRnb object
    anyOf
    number

    Possible values: >= 0 and <= 1

    gangsta object
    anyOf
    number

    Possible values: >= 0 and <= 1

    jazzyHipHop object
    anyOf
    number

    Possible values: >= 0 and <= 1

    popRap object
    anyOf
    number

    Possible values: >= 0 and <= 1

    trap object
    anyOf
    number

    Possible values: >= 0 and <= 1

    blackMetal object
    anyOf
    number

    Possible values: >= 0 and <= 1

    deathMetal object
    anyOf
    number

    Possible values: >= 0 and <= 1

    doomMetal object
    anyOf
    number

    Possible values: >= 0 and <= 1

    heavyMetal object
    anyOf
    number

    Possible values: >= 0 and <= 1

    metalcore object
    anyOf
    number

    Possible values: >= 0 and <= 1

    nuMetal object
    anyOf
    number

    Possible values: >= 0 and <= 1

    disco object
    anyOf
    number

    Possible values: >= 0 and <= 1

    funk object
    anyOf
    number

    Possible values: >= 0 and <= 1

    gospel object
    anyOf
    number

    Possible values: >= 0 and <= 1

    neoSoul object
    anyOf
    number

    Possible values: >= 0 and <= 1

    soul object
    anyOf
    number

    Possible values: >= 0 and <= 1

    bigBandSwing object
    anyOf
    number

    Possible values: >= 0 and <= 1

    bebop object
    anyOf
    number

    Possible values: >= 0 and <= 1

    contemporaryJazz object
    anyOf
    number

    Possible values: >= 0 and <= 1

    easyListening object
    anyOf
    number

    Possible values: >= 0 and <= 1

    fusion object
    anyOf
    number

    Possible values: >= 0 and <= 1

    latinJazz object
    anyOf
    number

    Possible values: >= 0 and <= 1

    smoothJazz object
    anyOf
    number

    Possible values: >= 0 and <= 1

    country object
    anyOf
    number

    Possible values: >= 0 and <= 1

    folk object
    anyOf
    number

    Possible values: >= 0 and <= 1

    tags object

    Dominant subgenre tags, a subset of the keys in scores. null when no subgenre can be determined.

    anyOf
  • Array [
  • SubgenreV2Tags

    Dominant subgenre tags.

    Possible values: [abstractIdm, breakbeatDnb, deepHouse, electro, house, minimal, synthPop, techHouse, techno, trance, medievalPeriod, renaissancePeriod, baroquePeriod, classicalPeriod, romanticPeriod, contemporaryClassical, bluesRock, folkRock, hardRock, indieAlternative, psychProgRock, punk, rockAndRoll, popSoftRock, contemporaryRnb, gangsta, jazzyHipHop, popRap, trap, blackMetal, deathMetal, doomMetal, heavyMetal, metalcore, nuMetal, disco, funk, gospel, neoSoul, soul, bigBandSwing, bebop, contemporaryJazz, easyListening, fusion, latinJazz, smoothJazz, country, folk]

  • ]
  • SubgenreV2
    {
    "version": "SubgenreV2",
    "segments": {
    "timestampsSeconds": [
    0
    ],
    "values": {
    "abstractIdm": [
    0
    ],
    "breakbeatDnb": [
    0
    ],
    "deepHouse": [
    0
    ],
    "electro": [
    0
    ],
    "house": [
    0
    ],
    "minimal": [
    0
    ],
    "synthPop": [
    0
    ],
    "techHouse": [
    0
    ],
    "techno": [
    0
    ],
    "trance": [
    0
    ],
    "medievalPeriod": [
    0
    ],
    "renaissancePeriod": [
    0
    ],
    "baroquePeriod": [
    0
    ],
    "classicalPeriod": [
    0
    ],
    "romanticPeriod": [
    0
    ],
    "contemporaryClassical": [
    0
    ],
    "bluesRock": [
    0
    ],
    "folkRock": [
    0
    ],
    "hardRock": [
    0
    ],
    "indieAlternative": [
    0
    ],
    "psychProgRock": [
    0
    ],
    "punk": [
    0
    ],
    "rockAndRoll": [
    0
    ],
    "popSoftRock": [
    0
    ],
    "contemporaryRnb": [
    0
    ],
    "gangsta": [
    0
    ],
    "jazzyHipHop": [
    0
    ],
    "popRap": [
    0
    ],
    "trap": [
    0
    ],
    "blackMetal": [
    0
    ],
    "deathMetal": [
    0
    ],
    "doomMetal": [
    0
    ],
    "heavyMetal": [
    0
    ],
    "metalcore": [
    0
    ],
    "nuMetal": [
    0
    ],
    "disco": [
    0
    ],
    "funk": [
    0
    ],
    "gospel": [
    0
    ],
    "neoSoul": [
    0
    ],
    "soul": [
    0
    ],
    "bigBandSwing": [
    0
    ],
    "bebop": [
    0
    ],
    "contemporaryJazz": [
    0
    ],
    "easyListening": [
    0
    ],
    "fusion": [
    0
    ],
    "latinJazz": [
    0
    ],
    "smoothJazz": [
    0
    ],
    "country": [
    0
    ],
    "folk": [
    0
    ]
    }
    },
    "scores": {
    "abstractIdm": 0,
    "breakbeatDnb": 0,
    "deepHouse": 0,
    "electro": 0,
    "house": 0,
    "minimal": 0,
    "synthPop": 0,
    "techHouse": 0,
    "techno": 0,
    "trance": 0,
    "medievalPeriod": 0,
    "renaissancePeriod": 0,
    "baroquePeriod": 0,
    "classicalPeriod": 0,
    "romanticPeriod": 0,
    "contemporaryClassical": 0,
    "bluesRock": 0,
    "folkRock": 0,
    "hardRock": 0,
    "indieAlternative": 0,
    "psychProgRock": 0,
    "punk": 0,
    "rockAndRoll": 0,
    "popSoftRock": 0,
    "contemporaryRnb": 0,
    "gangsta": 0,
    "jazzyHipHop": 0,
    "popRap": 0,
    "trap": 0,
    "blackMetal": 0,
    "deathMetal": 0,
    "doomMetal": 0,
    "heavyMetal": 0,
    "metalcore": 0,
    "nuMetal": 0,
    "disco": 0,
    "funk": 0,
    "gospel": 0,
    "neoSoul": 0,
    "soul": 0,
    "bigBandSwing": 0,
    "bebop": 0,
    "contemporaryJazz": 0,
    "easyListening": 0,
    "fusion": 0,
    "latinJazz": 0,
    "smoothJazz": 0,
    "country": 0,
    "folk": 0
    },
    "tags": [
    "abstractIdm"
    ]
    }