yoyolicoris commited on
Commit
5915ef8
·
1 Parent(s): 3a50c1c

fix: update fx_config.yaml path in app.py

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. fx_config.yaml +188 -0
app.py CHANGED
@@ -83,7 +83,7 @@ TEMPERATURE = 0.7
83
 
84
  CONFIG_PATH = {
85
  "realtime": "presets/rt_config.yaml",
86
- "approx": "presets/fx_config.yaml",
87
  }
88
 
89
  PRESET_PATH = {
 
83
 
84
  CONFIG_PATH = {
85
  "realtime": "presets/rt_config.yaml",
86
+ "approx": "fx_config.yaml",
87
  }
88
 
89
  PRESET_PATH = {
fx_config.yaml ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ epochs: 2000
2
+ data_dir: null
3
+ log_dir: null
4
+ lufs: -18
5
+ sr: 44100
6
+ chunk_duration: 12
7
+ chunk_overlap: 5
8
+ device: cuda
9
+ batch_size: 35
10
+ dataset: medley_vocal
11
+ regularise_delay: true
12
+ model:
13
+ _target_: torch.nn.Sequential
14
+ _args_:
15
+ - _target_: modules.fx.Peak
16
+ sr: 44100
17
+ freq: 800
18
+ min_freq: 33
19
+ max_freq: 5400
20
+ - _target_: modules.fx.Peak
21
+ sr: 44100
22
+ freq: 4000
23
+ min_freq: 200
24
+ max_freq: 17500
25
+ - _target_: modules.fx.LowShelf
26
+ sr: 44100
27
+ freq: 115
28
+ min_freq: 30
29
+ max_freq: 200
30
+ - _target_: modules.fx.HighShelf
31
+ sr: 44100
32
+ freq: 6000
33
+ min_freq: 750
34
+ max_freq: 8300
35
+ - _target_: modules.fx.LowPass
36
+ sr: 44100
37
+ freq: 17500
38
+ min_freq: 200
39
+ max_freq: 18000
40
+ - _target_: modules.fx.HighPass
41
+ sr: 44100
42
+ freq: 200
43
+ min_freq: 16
44
+ max_freq: 5300
45
+ - _target_: modules.fx.CompressorExpander
46
+ sr: 44100
47
+ cmp_ratio: 2.0
48
+ exp_ratio: 0.5
49
+ at_ms: 50.0
50
+ rt_ms: 50.0
51
+ avg_coef: 0.3
52
+ cmp_th: -18.0
53
+ exp_th: -48.0
54
+ make_up: 0.0
55
+ lookahead: true
56
+ max_lookahead: 15
57
+ - _target_: modules.fx.SendFXsAndSum
58
+ _args_:
59
+ - _target_: modules.fx.FSSurrogateDelay
60
+ sr: 44100
61
+ delay: 400
62
+ # dropout: 0
63
+ straight_through: true
64
+ recursive_eq: true
65
+ ir_duration: 4
66
+ eq:
67
+ _target_: modules.fx.LowPass
68
+ sr: 44100
69
+ freq: 8000
70
+ min_freq: 200
71
+ max_freq: 16000
72
+ min_Q: 0.5
73
+ max_Q: 2
74
+ - _target_: modules.fx.FDN
75
+ sr: 44100
76
+ delays:
77
+ - 997
78
+ - 1153
79
+ - 1327
80
+ - 1559
81
+ - 1801
82
+ - 2099
83
+ num_decay_freq: 49
84
+ delay_independent_decay: true
85
+ ir_duration: 12
86
+ eq:
87
+ _target_: torch.nn.Sequential
88
+ _args_:
89
+ - _target_: modules.fx.Peak
90
+ sr: 44100
91
+ freq: 800
92
+ min_freq: 200
93
+ max_freq: 2500
94
+ min_Q: 0.1
95
+ max_Q: 3
96
+ - _target_: modules.fx.Peak
97
+ sr: 44100
98
+ freq: 4000
99
+ min_freq: 600
100
+ max_freq: 7000
101
+ min_Q: 0.1
102
+ max_Q: 3
103
+ - _target_: modules.fx.LowShelf
104
+ sr: 44100
105
+ freq: 115
106
+ min_freq: 30
107
+ max_freq: 450
108
+ - _target_: modules.fx.HighShelf
109
+ sr: 44100
110
+ freq: 8000
111
+ min_freq: 1500
112
+ max_freq: 16000
113
+ cross_send: true
114
+ pan_direct: true
115
+ optimiser:
116
+ _target_: torch.optim.Adam
117
+ lr: 0.01
118
+ mss:
119
+ fft_sizes:
120
+ - 128
121
+ - 512
122
+ - 2048
123
+ hop_sizes:
124
+ - 32
125
+ - 128
126
+ - 512
127
+ mldr:
128
+ s_taus:
129
+ - 50
130
+ - 100
131
+ l_taus:
132
+ - 1000
133
+ - 2000
134
+ loss_fn:
135
+ _target_: loss.SumLosses
136
+ weights:
137
+ - 1.0
138
+ - 0.5
139
+ - 0.5
140
+ - 0.25
141
+ loss_fns:
142
+ - _target_: auraloss.freq.MultiResolutionSTFTLoss
143
+ fft_sizes:
144
+ - 128
145
+ - 512
146
+ - 2048
147
+ hop_sizes:
148
+ - 32
149
+ - 128
150
+ - 512
151
+ win_lengths:
152
+ - 128
153
+ - 512
154
+ - 2048
155
+ sample_rate: 44100
156
+ perceptual_weighting: true
157
+ - _target_: auraloss.freq.SumAndDifferenceSTFTLoss
158
+ fft_sizes:
159
+ - 128
160
+ - 512
161
+ - 2048
162
+ hop_sizes:
163
+ - 32
164
+ - 128
165
+ - 512
166
+ win_lengths:
167
+ - 128
168
+ - 512
169
+ - 2048
170
+ sample_rate: 44100
171
+ perceptual_weighting: true
172
+ - _target_: loss.ldr.MLDRLoss
173
+ sr: 44100
174
+ s_taus:
175
+ - 50
176
+ - 100
177
+ l_taus:
178
+ - 1000
179
+ - 2000
180
+ - _target_: loss.ldr.MLDRLoss
181
+ sr: 44100
182
+ mid_side: true
183
+ s_taus:
184
+ - 50
185
+ - 100
186
+ l_taus:
187
+ - 1000
188
+ - 2000