Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
T
Tidal
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PLN
  • Tidal
  • Repository

Switch branch/tag
  • Tidal
  • tools
  • foundry
  • engine
  • roles.py
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    fix(foundry): gate onset density on envelope crest — a steady sine read as drums · b8854723
    librosa's peak-picker finds peaks in whatever onset envelope it is handed, flat ones
    included: a steady 50 Hz sine yields 84 onsets over six seconds (14/s) and was being
    filed as drums, which made the bass branch unreachable for exactly the signal it was
    written for. Onset count is now gated on the frame-RMS crest — ~1.0 for a sustained
    tone against 3.1-9.5 for anything struck.
    
    Measured across MAREA/ANGIE/ME to pick the threshold rather than guess it. Worth
    recording that crest is a SPARSITY measure, not a percussion one — MAREA's single
    vocal phrase reads 17.98 — so it only ever gates onset density and is never used
    alone. HPSS was tried first and rejected: a kick-heavy drum bus reads 0.094
    percussive, because HPSS hears a modern kick as harmonic.
    
    18 tests.
    PLN (Algolia) authored Aug 21, 2026
    b8854723
roles.py 13.9 KB
EditWeb IDE
×

Replace roles.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.