chili-raw commited on
Commit
123e06f
·
verified ·
1 Parent(s): 8a66e82

Model card

Browse files
Files changed (1) hide show
  1. README.md +49 -0
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags: [music-source-separation, stems, scnet, coreml, wobble]
4
+ ---
5
+ # Wobble Split model pack
6
+
7
+ Core ML build of **SCNet-Large** for the Wobble sample browser (macOS 14+): pulls a loop apart into
8
+ drums, bass, other and vocals, on the Mac. The app downloads it when Split is first used (or in
9
+ Settings); nothing here is needed to run Wobble, and the app works without it.
10
+
11
+ `manifest.json` lists the pack with its size, SHA-256 and settings. Pack files live in
12
+ `packs/<id>/<version>/` and are never changed after upload; a new build gets a new version.
13
+
14
+ | Pack | What it is | Size |
15
+ |---|---|---|
16
+ | `split-large` | Split: Pull a loop apart into drums, bass, other and vocals. | 80 MB |
17
+
18
+ ## What the app does around the model (front end `scnet-stft-4096-v1`)
19
+
20
+ The pack unpacks to `split.mlpackage`, `NOTICE` and `LICENSE-scnet`. `convert/frontend.py` is the exact
21
+ reference (numpy); `convert/common.py` `separate()` is the whole-file loop.
22
+
23
+ 1. 44.1 kHz stereo. Normalise the whole loop by the mean and standard deviation (ddof 1) of its mono mix.
24
+ 2. Cut into 11 s segments (485100 samples), 50 % overlap; the last ones centre-padded with zeros.
25
+ 3. Each segment: pad 1300 zeros at the end (486400 samples), STFT with **no window** (rectangular),
26
+ n_fft 4096, hop 1024, centre with reflect padding of 2048, one-sided (2049 bins), × 1/√4096.
27
+ 4. Model input `spec` [1, 4, 2049, 476]: channels L.re, L.im, R.re, R.im (float32).
28
+ 5. Model output `stems` [1, 16, 2049, 476]: channel (source × 2 + L/R) × 2 + (re | im); sources
29
+ drums, bass, other, vocals.
30
+ 6. Inverse: irfft each frame × √4096, overlap-add at hop 1024, divide by the number of frames covering
31
+ each sample, drop the first 2048 samples, keep 485100.
32
+ 7. Cross-fade the segments with a triangle window, undo step 1.
33
+
34
+ Runs on CPU + GPU (`computeUnits: cpuAndGPU`; the Neural Engine compiler stalls on this model).
35
+ On an Apple Silicon Mac a segment takes about 1150.0 ms; a 25 s loop about 6 s.
36
+
37
+ ## Quality
38
+
39
+ Output matches the original PyTorch model to 61 dB SDR (no audible difference). On 10 jazzy
40
+ construction kits rebuilt from their parts (so every stem has a known answer), mean SDR: drums
41
+ 7.9 dB, bass 14.6 dB, other 10.3 dB (`convert/kits.py`).
42
+
43
+ ## Licences and credit
44
+
45
+ - Weights and model code: SCNet by Weinan Tong et al., MIT (https://github.com/starrytong/SCNet).
46
+ Tong et al., "SCNet: Sparse Compression Network for Music Source Separation", ICASSP 2024.
47
+ The author allows redistributing the original and converted checkpoints with credit.
48
+ - Training data: MUSDB18-HQ, licensed for research and education; it carries its own terms.
49
+ - Conversion scripts in `convert/`: MIT, monokern.