# -*- coding:utf-8 -*- | |
# @FileName :config.py | |
# @Time :2023/8/2 10:54 | |
# @Author :lovemefan | |
# @Email :[email protected] | |
UVR_CONFIG = { | |
"bins": 672, | |
"unstable_bins": 8, | |
"reduction_bins": 637, | |
"band": { | |
1: { | |
"sr": 7350, | |
"hl": 80, | |
"n_fft": 640, | |
"crop_start": 0, | |
"crop_stop": 85, | |
"lpf_start": 25, | |
"lpf_stop": 53, | |
"res_type": "polyphase" | |
}, | |
2: { | |
"sr": 7350, | |
"hl": 80, | |
"n_fft": 320, | |
"crop_start": 4, | |
"crop_stop": 87, | |
"hpf_start": 25, | |
"hpf_stop": 12, | |
"lpf_start": 31, | |
"lpf_stop": 62, | |
"res_type": "polyphase" | |
}, | |
3: { | |
"sr": 14700, | |
"hl": 160, | |
"n_fft": 512, | |
"crop_start": 17, | |
"crop_stop": 216, | |
"hpf_start": 48, | |
"hpf_stop": 24, | |
"lpf_start": 139, | |
"lpf_stop": 210, | |
"res_type": "polyphase" | |
}, | |
4: { | |
"sr": 44100, | |
"hl": 480, | |
"n_fft": 960, | |
"crop_start": 78, | |
"crop_stop": 383, | |
"hpf_start": 130, | |
"hpf_stop": 86, | |
"res_type": "kaiser_fast" | |
} | |
}, | |
"sr": 44100, | |
"pre_filter_start": 668, | |
"pre_filter_stop": 672, | |
"mid_side": False, | |
"mid_side_b": False, | |
"mid_side_b2": False, | |
"stereo_w": False, | |
"reverse": False, | |
} | |