nakas commited on
Commit
6eb8fe0
·
verified ·
1 Parent(s): b8e5e2e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +103 -56
README.md CHANGED
@@ -1,58 +1,105 @@
1
  ---
2
- dataset_info:
3
- - config_name: effects
4
- features:
5
- - name: kind
6
- dtype: string
7
- - name: dry_id
8
- dtype: string
9
- - name: seed
10
- dtype: int32
11
- - name: sample_rate
12
- dtype: int32
13
- - name: chain
14
- list: string
15
- - name: param_names
16
- list: string
17
- - name: params
18
- list: float32
19
- - name: dry_peak
20
- dtype: float32
21
- - name: audio
22
- list: float32
23
- splits:
24
- - name: train
25
- num_bytes: 5676288
26
- num_examples: 32
27
- download_size: 5680796
28
- dataset_size: 5676288
29
- - config_name: synth
30
- features:
31
- - name: kind
32
- dtype: string
33
- - name: batch_idx
34
- dtype: int32
35
- - name: item
36
- dtype: int32
37
- - name: sample_rate
38
- dtype: int32
39
- - name: audio
40
- list: float32
41
- - name: params
42
- list: float32
43
- splits:
44
- - name: train
45
- num_bytes: 11311424
46
- num_examples: 64
47
- download_size: 11315150
48
- dataset_size: 11311424
49
- configs:
50
- - config_name: effects
51
- data_files:
52
- - split: train
53
- path: effects/train-*
54
- - config_name: synth
55
- data_files:
56
- - split: train
57
- path: synth/train-*
58
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - audio-classification
5
+ tags:
6
+ - audio
7
+ - synthesizer
8
+ - audio-effects
9
+ - parameter-estimation
10
+ - synthetic
11
+ pretty_name: StemFlipper synth/effects parameter-estimation scaffold
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
+
14
+ # StemFlipper — synth & effects parameter-estimation dataset (scaffold)
15
+
16
+ A synthetic **(audio → parameters)** dataset for the inverse problems StemFlipper
17
+ targets: recover a synth patch from its sound, and recover an effect chain from
18
+ wet audio. No public dataset pairs real audio with the synth-patch / effect-chain
19
+ parameters that produced it — this fills that gap with deterministic synthetic
20
+ generation. **The moat is the generator + seeds, not stored audio**: every example
21
+ here regenerates bit-for-bit from its seed.
22
+
23
+ ## Configs
24
+
25
+ - **`synth`** — torchsynth `Voice` renders `(audio, params)`; `params` is the
26
+ 78-dim normalized parameter vector (`adsr_1.attack`, `vco_1.tuning`, …).
27
+ - **`effects`** — a known `dasp-pytorch` chain (`parametric_eq, compressor, distortion`)
28
+ applied to clean synth voices → `(wet audio, params)`; `param_names` labels each
29
+ value.
30
+
31
+ ```python
32
+ from datasets import load_dataset
33
+ synth = load_dataset("nakas/stemflipper-dataset", "synth", split="train")
34
+ fx = load_dataset("nakas/stemflipper-dataset", "effects", split="train")
35
+ ```
36
+
37
+ ## Reproduce / extend from seeds
38
+
39
+ The published splits are a small demo. Regenerate or scale up deterministically:
40
+
41
+ ```python
42
+ from dataset.synth_gen import SynthGenConfig, iter_examples
43
+ list(iter_examples(SynthGenConfig(batch_indices=[0, 1, 2]))) # 3 batches
44
+ ```
45
+
46
+ Generation spec (seeds):
47
+
48
+ ```json
49
+ {
50
+ "sample_rate": 44100,
51
+ "synth": {
52
+ "generator": "dataset/synth_gen.py",
53
+ "batch_size": 32,
54
+ "batch_indices": [
55
+ 0,
56
+ 1
57
+ ],
58
+ "param_names_count": 78
59
+ },
60
+ "effects": {
61
+ "generator": "dataset/effects_gen.py",
62
+ "chain": [
63
+ "parametric_eq",
64
+ "compressor",
65
+ "distortion"
66
+ ],
67
+ "seeds": [
68
+ 0,
69
+ 1,
70
+ 2,
71
+ 3
72
+ ],
73
+ "n_dry": 8,
74
+ "param_names": [
75
+ "parametric_eq.low_shelf_gain_db",
76
+ "parametric_eq.low_shelf_cutoff_freq",
77
+ "parametric_eq.low_shelf_q_factor",
78
+ "parametric_eq.band0_gain_db",
79
+ "parametric_eq.band0_cutoff_freq",
80
+ "parametric_eq.band0_q_factor",
81
+ "parametric_eq.band1_gain_db",
82
+ "parametric_eq.band1_cutoff_freq",
83
+ "parametric_eq.band1_q_factor",
84
+ "parametric_eq.band2_gain_db",
85
+ "parametric_eq.band2_cutoff_freq",
86
+ "parametric_eq.band2_q_factor",
87
+ "parametric_eq.band3_gain_db",
88
+ "parametric_eq.band3_cutoff_freq",
89
+ "parametric_eq.band3_q_factor",
90
+ "parametric_eq.high_shelf_gain_db",
91
+ "parametric_eq.high_shelf_cutoff_freq",
92
+ "parametric_eq.high_shelf_q_factor",
93
+ "compressor.threshold_db",
94
+ "compressor.ratio",
95
+ "compressor.attack_ms",
96
+ "compressor.release_ms",
97
+ "compressor.knee_db",
98
+ "compressor.makeup_gain_db",
99
+ "distortion.drive_db"
100
+ ]
101
+ }
102
+ }
103
+ ```
104
+
105
+ Generated by `dataset/build.py` in the [StemFlipper](https://huggingface.co/spaces/nakas/stemflipper) repo.