|
@@ -45,18 +45,18 @@ export class EqualizerManager {
|
|
|
{ frequency: 16000, label: '16kHz', gain: 0 }
|
|
{ frequency: 16000, label: '16kHz', gain: 0 }
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
- // 内置预设
|
|
|
|
|
|
|
+ // 内置预设 - 增益值增大以获得更明显的效果
|
|
|
public static readonly BUILT_IN_PRESETS: EqualizerPreset[] = [
|
|
public static readonly BUILT_IN_PRESETS: EqualizerPreset[] = [
|
|
|
{ id: 'normal', name: '正常', gains: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], isCustom: false },
|
|
{ id: 'normal', name: '正常', gains: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], isCustom: false },
|
|
|
- { id: 'pop', name: '流行', gains: [-1, 2, 4, 4, 2, 0, -1, -1, -1, -1], isCustom: false },
|
|
|
|
|
- { id: 'rock', name: '摇滚', gains: [4, 3, 1, 0, -1, 0, 2, 3, 4, 4], isCustom: false },
|
|
|
|
|
- { id: 'jazz', name: '爵士', gains: [3, 2, 1, 2, -2, -2, 0, 1, 2, 3], isCustom: false },
|
|
|
|
|
- { id: 'classical', name: '古典', gains: [4, 3, 2, 1, -1, -1, 0, 2, 3, 4], isCustom: false },
|
|
|
|
|
- { id: 'bass_boost', name: '低音增强', gains: [6, 5, 4, 2, 0, 0, 0, 0, 0, 0], isCustom: false },
|
|
|
|
|
- { id: 'treble_boost', name: '高音增强', gains: [0, 0, 0, 0, 0, 1, 2, 4, 5, 6], isCustom: false },
|
|
|
|
|
- { id: 'vocal', name: '人声增强', gains: [-2, -1, 0, 2, 4, 4, 2, 0, -1, -2], isCustom: false },
|
|
|
|
|
- { id: 'dance', name: '舞曲', gains: [5, 4, 2, 0, 0, -2, -1, 2, 3, 4], isCustom: false },
|
|
|
|
|
- { id: 'acoustic', name: '原声', gains: [3, 2, 1, 1, 2, 2, 2, 3, 2, 1], isCustom: false }
|
|
|
|
|
|
|
+ { id: 'pop', name: '流行', gains: [-2, 3, 6, 6, 3, 0, -2, -2, -2, -2], isCustom: false },
|
|
|
|
|
+ { id: 'rock', name: '摇滚', gains: [6, 5, 2, 0, -2, 0, 3, 5, 6, 6], isCustom: false },
|
|
|
|
|
+ { id: 'jazz', name: '爵士', gains: [5, 3, 2, 3, -3, -3, 0, 2, 3, 5], isCustom: false },
|
|
|
|
|
+ { id: 'classical', name: '古典', gains: [6, 5, 3, 2, -2, -2, 0, 3, 5, 6], isCustom: false },
|
|
|
|
|
+ { id: 'bass_boost', name: '低音增强', gains: [10, 8, 6, 3, 0, 0, 0, 0, 0, 0], isCustom: false },
|
|
|
|
|
+ { id: 'treble_boost', name: '高音增强', gains: [0, 0, 0, 0, 0, 2, 4, 6, 8, 10], isCustom: false },
|
|
|
|
|
+ { id: 'vocal', name: '人声增强', gains: [-4, -2, 0, 4, 6, 6, 4, 0, -2, -4], isCustom: false },
|
|
|
|
|
+ { id: 'dance', name: '舞曲', gains: [8, 6, 3, 0, 0, -3, -2, 3, 5, 6], isCustom: false },
|
|
|
|
|
+ { id: 'acoustic', name: '原声', gains: [5, 4, 2, 2, 3, 3, 3, 5, 4, 2], isCustom: false }
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
// 当前状态
|
|
// 当前状态
|