From d6a23a67c6aef45730f2e3dbc46f0f1eee05b023 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Mon, 4 Nov 2024 15:39:45 +0100 Subject: [PATCH] Work on #8973 --- src/libse/Settings/ToolsSettings.cs | 2 +- src/ui/Forms/AudioToText/WhisperAudioToText.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libse/Settings/ToolsSettings.cs b/src/libse/Settings/ToolsSettings.cs index b0412dab0..b58636cb9 100644 --- a/src/libse/Settings/ToolsSettings.cs +++ b/src/libse/Settings/ToolsSettings.cs @@ -685,7 +685,7 @@ namespace Nikse.SubtitleEdit.Core.Settings VoskPostProcessing = true; WhisperChoice = Configuration.IsRunningOnWindows ? AudioToText.WhisperChoice.PurfviewFasterWhisper : AudioToText.WhisperChoice.OpenAi; WhisperDeleteTempFiles = true; - WhisperPurfviewFasterWhisperDefaultCmd = "--standard"; + WhisperPurfviewFasterWhisperDefaultCmd = "--standard --beep_off"; WhisperExtraSettings = ""; WhisperLanguageCode = "en"; WhisperAutoAdjustTimings = true; diff --git a/src/ui/Forms/AudioToText/WhisperAudioToText.cs b/src/ui/Forms/AudioToText/WhisperAudioToText.cs index b116a5ade..9e1d3c494 100644 --- a/src/ui/Forms/AudioToText/WhisperAudioToText.cs +++ b/src/ui/Forms/AudioToText/WhisperAudioToText.cs @@ -2318,7 +2318,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText } else if ((engine == WhisperChoice.PurfviewFasterWhisper || engine == WhisperChoice.PurfviewFasterWhisperXXL) && !Configuration.Settings.Tools.WhisperExtraSettings.Contains("--standard", StringComparison.Ordinal) && - Configuration.Settings.Tools.WhisperPurfviewFasterWhisperDefaultCmd == "--standard") + Configuration.Settings.Tools.WhisperPurfviewFasterWhisperDefaultCmd == "--standard --beep_off") { Configuration.Settings.Tools.WhisperExtraSettings = Configuration.Settings.Tools.WhisperPurfviewFasterWhisperDefaultCmd; }