Audial tool

Song Segmentation: find intro, verse and chorus with timestamps

Read a song's arrangement as a list of sections with start and end times.

Segmentation maps a song's arrangement. The job returns the sections in order, each with a start and end time in seconds and a label such as intro, verse or chorus.

Every section also carries the features you ask for: energy, loudness, danceability and tatum among them. That makes it straightforward to find the drop, pull a chorus out for an edit, or line two tracks up by arrangement instead of by ear.

Send the mix on its own, or send stems alongside it to analyse components separately (bass, beat, melody, vocal). A genre hint sharpens the boundaries. Call it at /functions/run/segmentation, from audial.segment in Python, or as the segment MCP tool.

What you get

  • Section list with start and end timestamps in seconds
  • Labels such as intro, verse and chorus
  • Per-section features: energy, loudness, danceability and tatum
  • Optional per-component analysis for bass, beat, melody and vocal
  • Genre hint to improve section boundaries
  • Accepts stems from the stem splitter for a finer read

Use it from code

curl -X POST "https://api.audialmusic.ai/api/functions/run/segmentation" \
  -H "X-API-Key: your_api_key" -H "X-User-ID: your_user_id" \
  -F "userId=your_user_id" \
  -F "original=@/path/to/track.mp3" \
  -F 'segmentationParameters={"components":["bass","beat","melody","vocal"],"analysisType":"select_features","featuresToExtract":["energy","loudness"],"genre":"Tech House"}'

Frequently asked questions

A list of sections in order. Each one has a start time, an end time, a type such as intro, verse or chorus, and whichever features you requested.

Related