We have updated our Search for Tracks endpoint to add several new filters inside a new ai_analysis parameter.

Those new filters are the following :

FilterDescription
statusStatus of the audio AI analysis
bpmBPM of the audio
emotional_dynamicsEmotional dynamics of the audio
emotional_profileEmotional profile of the audio
energy_dynamicsEnergy dynamics of the audio
energy_levelEnergy level of the audio
keyKey of the audio
predominant_voice_genderPredominant voice gender of the audio
time_signatureTime signature of the audio
voice_presence_profileVoice presence profile of the audio
voiceover_existsWhether a voiceover exists in the audio
arousalArousal of the audio
valenceValence of the audio
voiceover_degreeVoiceover degree of the audio
descriptionDescription of the audio

Here is a sample cURL request to show how to use it:

curl --request POST \
  --url 'https://reprtoir.io/api/tracks/search?search_mode=basic&search_by_similarity[search_mode]=mostRepresentative&search_by_similarity[source]=track&sort_field=_score&sort_order=desc&page=1&per_page=10' \
  --header 'X-API-Key: YOUR API KEY HERE' \
  --header 'X-API-Version: 2024-04-11' \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '
{
  "ai_analysis": {
    "emotional_profile": [
      "positive"
    ],
    "predominant_voice_gender": [
      "female"
    ]
  }
}
'

As we added new Artist roles (see application changelog), Album and Track objects have been updated in the API.

The following attributes are now added to these objects:

producer_artists remixer_artists classical_orchestra_artists conductor_artists soloist_artists musician_artists mixing_engineer_artists mastering_engineer_artists

If you are subscribed to the Audio AI add-on, the audios endpoint now has a new ai_analysis node containing all the data.

Available data :

  • status of analysis
  • BPM
  • Key
  • Emotional Profile
  • Energy Level
  • Emotional Dynamics
  • Predominent Voice Gender
  • Voice Presence Profile
  • Voiceover Esists ?
  • Time Signature
  • Description
  • Arousal
  • Valence
  • Representative Segment


All track results now have a work node that references the its optional associated work.

All album and track results now have an identifiers node array contaning the custom identifiers available for that resource. For exemple ASCAP Code, YouTube Asset Identifier, ABRAMUS Code, etc.

This is now possible to upload a reference audio file via this new endpoint : https://docs.reprtoir.com/reference/post_api-reference-audios

In your Reprtoir Settings, under Integrations > Webhooks, you can register a webhook URL to be called when an upload is ready to be used in a search.

Then in the tracks search endpoint, when using search_mode=similarity and search_by_similarity[source]=audio, the UUID of the reference audio can be passed to search_by_similarity[reference_uuid] to search for tracks similar to the uploaded audio file.