Every track in your Patchline catalog gets deep audio analysis — BPM, key, mood, energy, valence, danceability, sonic genres, and instruments. This isn’t LLM-vibes-based-on-the-title. Patchline runs real audio analysis and writes the features back to your catalog. 5 AI credits per track. Runs automatically on import and upload.Documentation Index
Fetch the complete documentation index at: https://docs.patchline.ai/llms.txt
Use this file to discover all available pages before exploring further.
What gets extracted
| Feature | Range | What it measures |
|---|---|---|
| BPM | 40–220 | Beats per minute |
| Key | C, C♯, D … B (+ major/minor) | Detected musical key |
| Mode | major / minor | Key mode |
| Energy | 0.0–1.0 | Perceptual intensity (loud, fast, noisy = high) |
| Valence | 0.0–1.0 | Musical positivity (happy/cheerful = high; sad/angry = low) |
| Danceability | 0.0–1.0 | How suitable for dancing — based on tempo, rhythm stability, beat strength |
| Acousticness | 0.0–1.0 | Confidence track is acoustic |
| Instrumentalness | 0.0–1.0 | Likelihood of no vocals |
| Liveness | 0.0–1.0 | Likelihood of live audience |
| Speechiness | 0.0–1.0 | Spoken-word content presence |
| Loudness | dB | Overall loudness (typically -20 to 0) |
| Time signature | int | Estimated time signature (3, 4, 5, …) |
| Sonic genres | tags | Multi-label genre tags (e.g., dreampop, lo-fi, bedroom-pop) |
| Sub-genres | tags | Finer-grained tags |
| Mood tags | tags | melancholy, uplifting, aggressive, chill, etc. |
| Instrument tags | tags | Detected instruments — electric guitar, synth pad, drum machine, … |
| Vocal presence | bool | Has vocals or not |
| Vocal gender | tags | Detected vocal gender(s) |
Why it matters
Sonic features are the substrate for almost every downstream Patchline feature:Playlist matching
find_playlists ranks Spotify playlists by sonic fit — that “fit”
is the cosine similarity between your track’s features and the
playlist’s average features.Similar track discovery
Embeddings derived from sonic features power “tracks like this in
your catalog” and “artists who sound like you.”
DSP pitch generation
Pitch copy references concrete features (“F minor, 124 BPM,
dreampop-adjacent”) instead of vague descriptors.
A&R scout
Scout uses sonic embeddings to surface artists with sonically
similar catalogs, not just genre-matching ones.
When it runs
| Trigger | Latency |
|---|---|
| Catalog import (URL) | Queued immediately, completes in ~30–90 s |
| Catalog upload (file) | Queued after upload completes |
| Manual re-analysis (catalog UI ⋯ menu) | Same queue, ~30–90 s |
| Aria asks for it | Aria calls get_audio_features — cached if available, runs analysis if missing |
Two analysis layers
Patchline combines two complementary analysis layers:Track features
The first layer extracts the music features you see in the catalog UI: BPM, key, mood, genre, instruments, vocal presence, energy, valence, danceability, and confidence signals.- Used by catalog filters, pitch generation, playlist matching, and Aria.
- Usually completes in 30-90 seconds for a standard track.
- Costs 5 credits per track when analysis runs.
Similarity features
The second layer creates similarity features that help Patchline answer questions like “what else sounds like this?” and “which artists are sonically close to this track?”- Used by similar-track discovery, Scout, and playlist fit.
- Returned only when the track has enough audio context for a reliable comparison.
- Combined with metadata and audience context when ranking matches.
How to view a track’s analysis
In the dashboard
Sidebar → Catalog → click any track row → Audio features panel on the right. Each numeric feature renders as a horizontal bar (0–1 scale) with the exact value. BPM and key render as labels. Tag lists (genres, moods, instruments) render as chips.Through Aria
Through the MCP server
get_audio_features returns the raw numeric + tag features.
get_song_intelligence returns features plus ISRC, streaming stats,
playlist matches, and collaborator info — a one-shot deep dive.
Examples
Example 1 — Find your most energetic track
Example 2 — Use features in a pitch
Example 3 — Verify a guess
Pricing
| Action | Credit cost |
|---|---|
| Sonic analysis per track | 5 credits |
| Re-analysis (re-runs the same pipelines) | 5 credits |
Reading cached features via get_audio_features | 0 credits (cached) |
get_song_intelligence (features + streaming + matches) | 1 credit |
Limitations
- Metadata-only assets can’t be analyzed. If you imported a track via URL but the streaming source can’t fetch the audio, the track stays at “queued.” Solution: upload the audio directly.
- Analysis is best-effort. Very short tracks (under 30s), heavily noisy recordings, or speech-dominated tracks can return partial features. Confidence indicators are exposed in the API response.
- Re-analysis costs credits. If you re-upload a master, the new version gets re-analyzed. The old version’s features remain in the catalog but flagged as superseded.
Privacy
- Uploaded audio is stored in encrypted, access-controlled cloud storage.
- Analysis runs only to provide Patchline features for your workspace.
- Patchline does not use your audio to train models.
- Short-lived access is used for analysis and playback; implementation details are intentionally kept out of public docs.
Related features
- Catalog import — what triggers analysis
- Upload a track — the file path
- Playlist matching — what consumes features
- Pitch kit — what uses features for pitch copy
- MCP tools reference —
get_audio_features,get_song_intelligence
FAQ
Why do results include both tags and similarity?
Why do results include both tags and similarity?
Can I trust the BPM/key on every track?
Can I trust the BPM/key on every track?
Mostly yes. BPM is reliable above ~85% accuracy on standard musical
content. Key detection drops in confidence for atonal, ambient, or
heavily modulating tracks. The API exposes confidence; the UI shows
a ?? icon when confidence is below threshold.
Are sonic genres standardized?
Are sonic genres standardized?
Patchline uses a multi-label taxonomy aligned with common DSP and
music-industry genre language. Some tracks receive multiple genres or
sub-genres because that is more useful than forcing one label.
How long does analysis take?
How long does analysis take?
30–90 seconds for a typical 3-minute song. Longer tracks and large
batches can take more time. The catalog UI updates when results land.
Can I export the features as CSV?
Can I export the features as CSV?
Yes for individual tracks (catalog row → ⋯ → Export). Bulk CSV
export is Enterprise-only via the REST API.
Does Patchline train AI models on my audio?
Does Patchline train AI models on my audio?
No. Audio is used to provide analysis features for your workspace,
not to train models.