mirror of
https://github.com/Anjok07/ultimatevocalremovergui.git
synced 2024-11-28 01:10:56 +01:00
Update spec_utils.py
This commit is contained in:
parent
2fd50e11f8
commit
15bee04783
@ -338,7 +338,7 @@ def mirroring(a, spec_m, input_high_end, mp):
|
||||
|
||||
if 'mirroring2' == a:
|
||||
mirror = np.flip(np.abs(spec_m[:, mp.param['pre_filter_start']-10-input_high_end.shape[1]:mp.param['pre_filter_start']-10, :]), 1)
|
||||
mi = np.multiply(mirror, input_high_end)
|
||||
mi = np.multiply(mirror, input_high_end * 1.7)
|
||||
|
||||
return np.where(np.abs(input_high_end) <= np.abs(mi), input_high_end, mi)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user