44.1 kHz Stereo Graph
Demucs embeds its own STFT inside htdemucs.onnx, transforming raw [1, 2, 343980]
stereo frames directly into 4 phase-coherent waveforms whose sum closely reconstructs the original mix.
Standalone App & PWA
Launch Stem Deck on its dedicated origin to install it as an offline PWA with
audio/* file handlers (.mp3, .wav, .ogg,
.webm, .flac).
Stage 1 · Demucs v4 Splitter (303 MB fp32 · CC-BY-NC-4.0)
MrCitron/demucs-v4-onnx · Drums · Bass · Other · Vocals
Stage 2 · Spotify Basic Pitch (0.3 MB fp32 · Apache-2.0)
spotify/basic-pitch · 22.05 kHz Polyphonic Audio-to-MIDI
| # | Note (MIDI) | Start | Duration | Conf |
|---|
Two audited WebAssembly audio workers chained strictly off the main thread —
Hybrid Transformer Demucs v4 (MrCitron/demucs-v4-onnx,
303 MB fp32 · CC-BY-NC-4.0) and
Spotify Basic Pitch (spotify/basic-pitch,
0.3 MB fp32 · Apache-2.0) — sharing Cache Storage with zero bytes uploaded.
Demucs embeds its own STFT inside htdemucs.onnx, transforming raw [1, 2, 343980]
stereo frames directly into 4 phase-coherent waveforms whose sum closely reconstructs the original mix.
Each stem routes through synchronized GainNode, StereoPannerNode, and
AnalyserNode meters, while OfflineAudioContext bounces the exact custom mixdown
to 16-bit RIFF PCM .wav.
Isolating vocals or guitar before resampling to 22.05 kHz mono eliminates drum bleed, letting Basic Pitch
extract cleaner polyphonic note matrices exported directly as standards-compliant Type-0 .mid.