Spaces:
Runtime error
Runtime error
mattricesound
commited on
Commit
•
b45dcb0
1
Parent(s):
9a9a2c9
Add delay
Browse files- cfg/config.yaml +4 -1
- cfg/effects/all.yaml +10 -1
- cfg/exp/default.yaml +4 -1
- remfx/effects.py +1 -1
cfg/config.yaml
CHANGED
@@ -12,21 +12,24 @@ render_files: True
|
|
12 |
render_root: "./data"
|
13 |
accelerator: null
|
14 |
|
|
|
15 |
max_kept_effects: -1
|
16 |
max_removed_effects: -1
|
17 |
shuffle_kept_effects: True
|
18 |
shuffle_removed_effects: False
|
19 |
-
num_classes:
|
20 |
effects_to_use:
|
21 |
- compressor
|
22 |
- distortion
|
23 |
- reverb
|
24 |
- chorus
|
|
|
25 |
effects_to_remove:
|
26 |
- compressor
|
27 |
- distortion
|
28 |
- reverb
|
29 |
- chorus
|
|
|
30 |
|
31 |
callbacks:
|
32 |
model_checkpoint:
|
|
|
12 |
render_root: "./data"
|
13 |
accelerator: null
|
14 |
|
15 |
+
# Effects
|
16 |
max_kept_effects: -1
|
17 |
max_removed_effects: -1
|
18 |
shuffle_kept_effects: True
|
19 |
shuffle_removed_effects: False
|
20 |
+
num_classes: 5
|
21 |
effects_to_use:
|
22 |
- compressor
|
23 |
- distortion
|
24 |
- reverb
|
25 |
- chorus
|
26 |
+
- delay
|
27 |
effects_to_remove:
|
28 |
- compressor
|
29 |
- distortion
|
30 |
- reverb
|
31 |
- chorus
|
32 |
+
- delay
|
33 |
|
34 |
callbacks:
|
35 |
model_checkpoint:
|
cfg/effects/all.yaml
CHANGED
@@ -28,4 +28,13 @@ effects:
|
|
28 |
min_wet_dry: 0.2
|
29 |
max_wet_dry: 0.8
|
30 |
min_width: 0.2
|
31 |
-
max_width: 1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
min_wet_dry: 0.2
|
29 |
max_wet_dry: 0.8
|
30 |
min_width: 0.2
|
31 |
+
max_width: 1.0
|
32 |
+
delay:
|
33 |
+
_target_: remfx.effects.RandomPedalboardDelay
|
34 |
+
sample_rate: ${sample_rate}
|
35 |
+
min_delay_seconds: float = 0.1,
|
36 |
+
max_delay_sconds: float = 1.0,
|
37 |
+
min_feedback: float = 0.05,
|
38 |
+
max_feedback: float = 0.6,
|
39 |
+
min_mix: float = 0.2,
|
40 |
+
max_mix: float = 0.7,
|
cfg/exp/default.yaml
CHANGED
@@ -12,17 +12,20 @@ accelerator: null
|
|
12 |
max_kept_effects: -1
|
13 |
max_removed_effects: -1
|
14 |
shuffle_kept_effects: True
|
15 |
-
shuffle_removed_effects:
|
|
|
16 |
effects_to_use:
|
17 |
- compressor
|
18 |
- distortion
|
19 |
- reverb
|
20 |
- chorus
|
|
|
21 |
effects_to_remove:
|
22 |
- compressor
|
23 |
- distortion
|
24 |
- reverb
|
25 |
- chorus
|
|
|
26 |
datamodule:
|
27 |
batch_size: 16
|
28 |
num_workers: 8
|
|
|
12 |
max_kept_effects: -1
|
13 |
max_removed_effects: -1
|
14 |
shuffle_kept_effects: True
|
15 |
+
shuffle_removed_effects: False
|
16 |
+
num_classes: 5
|
17 |
effects_to_use:
|
18 |
- compressor
|
19 |
- distortion
|
20 |
- reverb
|
21 |
- chorus
|
22 |
+
- delay
|
23 |
effects_to_remove:
|
24 |
- compressor
|
25 |
- distortion
|
26 |
- reverb
|
27 |
- chorus
|
28 |
+
- delay
|
29 |
datamodule:
|
30 |
batch_size: 16
|
31 |
num_workers: 8
|
remfx/effects.py
CHANGED
@@ -701,7 +701,7 @@ class RandomAudioEffectsChannel(torch.nn.Module):
|
|
701 |
Pedalboard_Effects = [
|
702 |
RandomPedalboardReverb,
|
703 |
RandomPedalboardChorus,
|
704 |
-
|
705 |
RandomPedalboardDistortion,
|
706 |
RandomPedalboardCompressor,
|
707 |
# RandomPedalboardPhaser,
|
|
|
701 |
Pedalboard_Effects = [
|
702 |
RandomPedalboardReverb,
|
703 |
RandomPedalboardChorus,
|
704 |
+
RandomPedalboardDelay,
|
705 |
RandomPedalboardDistortion,
|
706 |
RandomPedalboardCompressor,
|
707 |
# RandomPedalboardPhaser,
|