添加音调升降调节

This commit is contained in:
lyswhut
2023-05-31 21:40:25 +08:00
parent 677c3f16e4
commit 40997c34ff
21 changed files with 1435 additions and 20 deletions
+1
View File
@@ -57,6 +57,7 @@ const defaultSetting: LX.AppSetting = {
'player.soundEffect.panner.enable': false,
'player.soundEffect.panner.soundR': 5,
'player.soundEffect.panner.speed': 25,
'player.soundEffect.pitchShifter.playbackRate': 1,
'playDetail.isZoomActiveLrc': false,
'playDetail.isShowLyricProgressSetting': false,
+2
View File
@@ -94,6 +94,8 @@ const modules = {
save_sound_effect_eq_preset: 'save_sound_effect_eq_preset',
get_sound_effect_convolution_preset: 'get_sound_effect_convolution_preset',
save_sound_effect_convolution_preset: 'save_sound_effect_convolution_preset',
get_sound_effect_pitch_shifter_preset: 'get_sound_effect_pitch_shifter_preset',
save_sound_effect_pitch_shifter_preset: 'save_sound_effect_pitch_shifter_preset',
get_hot_key: 'get_hot_key',
import_user_api: 'import_user_api',
+5
View File
@@ -248,6 +248,11 @@ declare global {
*/
'player.soundEffect.panner.speed': number
/**
* 升降声调
*/
'player.soundEffect.pitchShifter.playbackRate': number
/**
* 是否启用音频加载失败时自动切歌
*/
+5
View File
@@ -21,5 +21,10 @@ declare namespace LX {
mainGain: number
sendGain: number
}
interface PitchShifterPreset {
id: string
name: string
playbackRate: number
}
}
}