001
Diaspora MIR Tobi Afolayan
Overview
002
Corpus Loader

Loading versioned corpus JSON and validating schema…

Diaspora MIR Explorer Tobi Afolayan

Tobi Afolayan · Versioned corpus · Read-only explorer

01 · Exploratory Music Information Retrieval

What can we measure about groove beyond tempo?

Tempo alone cannot tell an Afrobeats pocket from an Amapiano log drum groove. This read-only research explorer inspects the versioned Python MIR corpus across pulse clarity, 16th-note syncopation, rhythmic complexity, sub-bass log drum acoustics, and an experimental danceability index.

Explore the corpus ↓
Corpus Composition

02 · Groove Map (Main View)

Groove Map

Compare rhythmic feel and sub-bass timbre across the corpus. Filters below drive the Groove Map, summary averages, genre breakdown, and track table together.

Showing 0 of 0 tracks
0.00
Afrobeats Amapiano Afropiano
Linear slope — R² — Keyboard: Tab to marker, Arrow keys move spatially, Enter inspects.

03 · Genre Profiles

Composition & Acoustic Averages

Genre shares and valid-value means update live with your active filters. Click any genre segment in the stacked bar to isolate or restore that genre.

Normalized Feature Profile

Optional Editorial Examples (hero_tracks)

Curated 15-track reference subset from the corpus JSON. Select any card to jump to its coordinates in the Groove Map and open it in the Track Inspector.

04 · Track Index

Sortable Corpus Table

Showing 0 of 0 tracks

05 · Methods, Limits & Audit

How Each Metric Works & Where Interpretation Stops

Tempo · bpm

Beat Rate (BPM)

Estimated pulse speed in beats per minute from beat tracking in the Python extraction pipeline. Useful as context, but prone to half-time / double-time ambiguity on polyrhythmic material.

Rhythm · pulse_clarity (0–1)

Pulse Clarity

Normalized autocorrelation strength of the onset envelope at the dominant beat lag. Higher values indicate an unambiguous, repeating rhythmic anchor; lower values reflect looser or shifting subdivisions.

Rhythm · syncopation (0–1)

Syncopation

Share of detected rhythmic onsets falling on 16th-note offbeats rather than primary beat pulses. Measures micro-timing tension and off-grid placement beyond overall tempo.

Rhythm · complexity (0–1)

Rhythmic Complexity

Scaled variation of inter-onset intervals using tanh(1.5 × CV). Captures how varied the spacing between percussive hits is across the excerpt.

Timbre Proxy · log_drum (0–1)

Log Drum Score

A timbral proxy weighting 30–120 Hz sub-bass energy ratio and attack spectral centroid—not a true log-drum instrument classifier. It can also respond to 808s, synth basslines, or other heavy sub-bass sounds.

Composite · danceability (0–1)

Engine Danceability Index

This engine's experimental composite index (0.50 × pulse clarity + 0.30 × syncopation + 0.20 × log drum score). It is an unvalidated heuristic weighting, not a ground-truth measure of listener movement.

Methodological Limits & Clustering Caveat

Genre tags (Afrobeats, Amapiano, Afropiano) come from corpus curation metadata rather than acoustic ground truth. Any unsupervised clustering over these features is strictly exploratory.

In the repository's k = 3 K-Means benchmark, the reported 98.7% figure is the genre purity of one single cluster (Cluster 2, Afrobeats, n = 154)—it is not overall classification accuracy across the corpus.

Read-Only Scope & Streamlit Differences

All feature extraction and scoring stay in the existing Python engine. This frontend validates the versioned JSON directly in the browser with no runtime Gemini dependency and no silent zero-substitution or deduplication.

Unlike the Streamlit prototype (which fills missing log_drum values with 0.0 and opens on a 3D Plotly scatter), this explorer defaults to a 2D SVG Groove Map with color-plus-shape encoding, links point/table/inspector selection, and audits duplicate-looking feature vectors verbatim.

Live Schema & Integrity Audit

Appearance

Colour Themes

Seven WCAG 2.2 AA ink-and-paper editions. Series colours stay distinct across all charts.

Choose colour theme

Saved in browser storage