echogarden 0.12.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -14
- package/data/schemas/options.json +398 -111
- package/dist/alignment/DTWMfccSequenceAlignment.d.ts +1 -1
- package/dist/alignment/DTWMfccSequenceAlignment.js +8 -8
- package/dist/alignment/DTWSequenceAlignment.d.ts +1 -1
- package/dist/alignment/DTWSequenceAlignment.js +1 -1
- package/dist/alignment/DTWSequenceAlignmentWindowed.d.ts +1 -1
- package/dist/alignment/DTWSequenceAlignmentWindowed.js +2 -2
- package/dist/alignment/LevenshteinSequenceAlignment.d.ts +1 -1
- package/dist/alignment/LevenshteinSequenceAlignment.js +1 -1
- package/dist/alignment/SpeechAlignment.d.ts +9 -10
- package/dist/alignment/SpeechAlignment.js +136 -105
- package/dist/alignment/SpeechAlignment.js.map +1 -1
- package/dist/api/API.d.ts +13 -12
- package/dist/api/API.js +14 -13
- package/dist/api/API.js.map +1 -1
- package/dist/api/APIOptions.d.ts +5 -4
- package/dist/api/Alignment.d.ts +15 -9
- package/dist/api/Alignment.js +88 -74
- package/dist/api/Alignment.js.map +1 -1
- package/dist/api/Common.js +1 -1
- package/dist/api/Denoising.d.ts +6 -6
- package/dist/api/Denoising.js +23 -23
- package/dist/api/Denoising.js.map +1 -1
- package/dist/api/LanguageDetection.d.ts +19 -12
- package/dist/api/LanguageDetection.js +88 -38
- package/dist/api/LanguageDetection.js.map +1 -1
- package/dist/api/Recognition.d.ts +16 -6
- package/dist/api/Recognition.js +129 -55
- package/dist/api/Recognition.js.map +1 -1
- package/dist/api/SourceSeparation.d.ts +17 -0
- package/dist/api/SourceSeparation.js +61 -0
- package/dist/api/SourceSeparation.js.map +1 -0
- package/dist/api/Synthesis.d.ts +18 -18
- package/dist/api/Synthesis.js +191 -164
- package/dist/api/Synthesis.js.map +1 -1
- package/dist/api/Translation.d.ts +19 -8
- package/dist/api/Translation.js +132 -35
- package/dist/api/Translation.js.map +1 -1
- package/dist/api/Vad.d.ts +10 -5
- package/dist/api/Vad.js +76 -38
- package/dist/api/Vad.js.map +1 -1
- package/dist/audio/AudioBufferConversion.d.ts +1 -1
- package/dist/audio/AudioBufferConversion.js +4 -4
- package/dist/audio/AudioPlayer.d.ts +1 -1
- package/dist/audio/AudioPlayer.js +26 -26
- package/dist/audio/AudioPlayer.js.map +1 -1
- package/dist/audio/AudioRecorder.d.ts +1 -1
- package/dist/audio/AudioRecorder.js +5 -5
- package/dist/audio/AudioUtilities.d.ts +13 -9
- package/dist/audio/AudioUtilities.js +86 -24
- package/dist/audio/AudioUtilities.js.map +1 -1
- package/dist/cli/CLI.d.ts +3 -3
- package/dist/cli/CLI.js +271 -162
- package/dist/cli/CLI.js.map +1 -1
- package/dist/cli/CLIConfigFile.js +8 -8
- package/dist/cli/CLILauncher.js +6 -6
- package/dist/cli/CLIOptionsSchema.js +2 -2
- package/dist/cli/CLIParser.js +5 -5
- package/dist/cli/CLIStarter.js +4 -4
- package/dist/codecs/FFMpegTranscoder.d.ts +2 -2
- package/dist/codecs/FFMpegTranscoder.js +37 -37
- package/dist/codecs/FFMpegTranscoder.js.map +1 -1
- package/dist/codecs/TIMITCodec.js +5 -5
- package/dist/codecs/WaveCodec.d.ts +1 -1
- package/dist/codecs/WaveCodec.js +22 -22
- package/dist/denoising/RNNoise.d.ts +1 -1
- package/dist/denoising/RNNoise.js +9 -9
- package/dist/dsp/BiquadFilter.d.ts +3 -2
- package/dist/dsp/BiquadFilter.js +18 -11
- package/dist/dsp/BiquadFilter.js.map +1 -1
- package/dist/dsp/DecayingPeakEstimator.d.ts +16 -0
- package/dist/dsp/DecayingPeakEstimator.js +23 -0
- package/dist/dsp/DecayingPeakEstimator.js.map +1 -0
- package/dist/dsp/FFT.d.ts +8 -4
- package/dist/dsp/FFT.js +76 -30
- package/dist/dsp/FFT.js.map +1 -1
- package/dist/dsp/KWeightingFilter.d.ts +9 -0
- package/dist/dsp/KWeightingFilter.js +40 -0
- package/dist/dsp/KWeightingFilter.js.map +1 -0
- package/dist/dsp/LoudnessEstimator.d.ts +21 -0
- package/dist/dsp/LoudnessEstimator.js +47 -0
- package/dist/dsp/LoudnessEstimator.js.map +1 -0
- package/dist/dsp/MFCC.d.ts +2 -2
- package/dist/dsp/MFCC.js +15 -15
- package/dist/dsp/MelSpectogram.d.ts +1 -1
- package/dist/dsp/MelSpectogram.js +6 -6
- package/dist/dsp/Rubberband.d.ts +11 -11
- package/dist/dsp/Rubberband.js +27 -27
- package/dist/dsp/Sonic.d.ts +1 -1
- package/dist/dsp/Sonic.js +3 -3
- package/dist/dsp/SpeexResampler.d.ts +1 -1
- package/dist/dsp/SpeexResampler.js +2 -2
- package/dist/math/VectorMath.d.ts +12 -8
- package/dist/math/VectorMath.js +35 -32
- package/dist/math/VectorMath.js.map +1 -1
- package/dist/nlp/ChineseSegmentation.js +2 -2
- package/dist/nlp/CompromiseNLP.js +3 -3
- package/dist/nlp/EspeakPhonemizer.js +30 -30
- package/dist/nlp/IPA.js +20 -20
- package/dist/nlp/JapaneseSegmentation.js +6 -6
- package/dist/nlp/Lexicon.d.ts +1 -1
- package/dist/nlp/Lexicon.js +7 -7
- package/dist/nlp/Segmentation.d.ts +3 -0
- package/dist/nlp/Segmentation.js +21 -14
- package/dist/nlp/Segmentation.js.map +1 -1
- package/dist/nlp/TextNormalizer.js +16 -16
- package/dist/recognition/AmazonTranscribeSTT.d.ts +2 -2
- package/dist/recognition/AmazonTranscribeSTT.js +13 -14
- package/dist/recognition/AmazonTranscribeSTT.js.map +1 -1
- package/dist/recognition/AzureCognitiveServicesSTT.js +5 -6
- package/dist/recognition/AzureCognitiveServicesSTT.js.map +1 -1
- package/dist/recognition/GoogleCloudSTT.d.ts +3 -3
- package/dist/recognition/GoogleCloudSTT.js +18 -18
- package/dist/recognition/OpenAICloudSTT.d.ts +19 -0
- package/dist/recognition/OpenAICloudSTT.js +81 -0
- package/dist/recognition/OpenAICloudSTT.js.map +1 -0
- package/dist/recognition/SileroSTT.d.ts +2 -2
- package/dist/recognition/SileroSTT.js +25 -25
- package/dist/recognition/VoskSTT.d.ts +2 -2
- package/dist/recognition/VoskSTT.js +8 -8
- package/dist/recognition/WhisperCppSTT.d.ts +88 -0
- package/dist/recognition/WhisperCppSTT.js +332 -0
- package/dist/recognition/WhisperCppSTT.js.map +1 -0
- package/dist/recognition/WhisperSTT.d.ts +49 -25
- package/dist/recognition/WhisperSTT.js +626 -481
- package/dist/recognition/WhisperSTT.js.map +1 -1
- package/dist/server/Client.d.ts +1 -1
- package/dist/server/Client.js +22 -22
- package/dist/server/Server.js +9 -9
- package/dist/server/Server.js.map +1 -1
- package/dist/server/Worker.d.ts +22 -22
- package/dist/server/Worker.js +36 -36
- package/dist/server/Worker.js.map +1 -1
- package/dist/server/WorkerStarter.js +2 -2
- package/dist/source-separation/MDXNetSourceSeparation.d.ts +11 -0
- package/dist/source-separation/MDXNetSourceSeparation.js +161 -0
- package/dist/source-separation/MDXNetSourceSeparation.js.map +1 -0
- package/dist/speech-language-detection/SileroLanguageDetection.d.ts +1 -1
- package/dist/speech-language-detection/SileroLanguageDetection.js +7 -7
- package/dist/subtitles/Subtitles.d.ts +10 -0
- package/dist/subtitles/Subtitles.js +2 -2
- package/dist/subtitles/Subtitles.js.map +1 -1
- package/dist/synthesis/AwsPollyTTS.d.ts +1 -1
- package/dist/synthesis/AwsPollyTTS.js +12 -12
- package/dist/synthesis/AzureCognitiveServicesTTS.js +7 -7
- package/dist/synthesis/CoquiServerTTS.js +10 -10
- package/dist/synthesis/CoquiServerTTS.js.map +1 -1
- package/dist/synthesis/ElevenlabsTTS.d.ts +23 -0
- package/dist/synthesis/ElevenlabsTTS.js +103 -0
- package/dist/synthesis/ElevenlabsTTS.js.map +1 -0
- package/dist/synthesis/EspeakTTS.d.ts +6 -5
- package/dist/synthesis/EspeakTTS.js +81 -69
- package/dist/synthesis/EspeakTTS.js.map +1 -1
- package/dist/synthesis/FliteTTS.d.ts +3 -3
- package/dist/synthesis/FliteTTS.js +154 -154
- package/dist/synthesis/FliteTTS.js.map +1 -1
- package/dist/synthesis/GoogleCloudTTS.d.ts +3 -3
- package/dist/synthesis/GoogleCloudTTS.js +17 -17
- package/dist/synthesis/GoogleCloudTTS.js.map +1 -1
- package/dist/synthesis/GoogleTranslateTTS.d.ts +1 -1
- package/dist/synthesis/GoogleTranslateTTS.js +103 -103
- package/dist/synthesis/MicrosoftEdgeTTS.d.ts +2 -2
- package/dist/synthesis/MicrosoftEdgeTTS.js +74 -74
- package/dist/synthesis/OpenAICloudTTS.d.ts +13 -0
- package/dist/synthesis/OpenAICloudTTS.js +169 -0
- package/dist/synthesis/OpenAICloudTTS.js.map +1 -0
- package/dist/synthesis/SamTTS.js +3 -3
- package/dist/synthesis/SapiTTS.d.ts +3 -3
- package/dist/synthesis/SapiTTS.js +26 -26
- package/dist/synthesis/StreamlabsPollyTTS.d.ts +2 -2
- package/dist/synthesis/StreamlabsPollyTTS.js +27 -27
- package/dist/synthesis/SvoxPicoTTS.d.ts +2 -2
- package/dist/synthesis/SvoxPicoTTS.js +65 -65
- package/dist/synthesis/SvoxPicoTTS.js.map +1 -1
- package/dist/synthesis/VitsTTS.d.ts +3 -3
- package/dist/synthesis/VitsTTS.js +378 -378
- package/dist/synthesis/VitsTTS.js.map +1 -1
- package/dist/tests/Test.js +2 -2
- package/dist/utilities/Compression.d.ts +5 -0
- package/dist/utilities/Compression.js +29 -13
- package/dist/utilities/Compression.js.map +1 -1
- package/dist/utilities/FileDownloader.d.ts +1 -1
- package/dist/utilities/FileDownloader.js +16 -16
- package/dist/utilities/FileSystem.js +7 -7
- package/dist/utilities/Locale.d.ts +7 -7
- package/dist/utilities/Locale.js +15 -15
- package/dist/utilities/Logger.js +3 -3
- package/dist/utilities/ObjectUtilities.js +19 -19
- package/dist/utilities/OpenPromise.js +2 -2
- package/dist/utilities/OpenPromise.js.map +1 -1
- package/dist/utilities/PackageManager.js +31 -0
- package/dist/utilities/PackageManager.js.map +1 -1
- package/dist/utilities/PathUtilities.js +8 -8
- package/dist/utilities/RandomGenerator.js +2 -2
- package/dist/utilities/SmoothEstimator.d.ts +8 -0
- package/dist/utilities/SmoothEstimator.js +25 -0
- package/dist/utilities/SmoothEstimator.js.map +1 -0
- package/dist/utilities/TarballMaker.js +8 -8
- package/dist/utilities/Timeline.d.ts +3 -2
- package/dist/utilities/Timeline.js +11 -11
- package/dist/utilities/Timeline.js.map +1 -1
- package/dist/utilities/Timer.js +4 -4
- package/dist/utilities/Utilities.d.ts +4 -0
- package/dist/utilities/Utilities.js +38 -15
- package/dist/utilities/Utilities.js.map +1 -1
- package/dist/utilities/WasmMemoryManager.js +7 -7
- package/dist/utilities/WebReader.js +23 -23
- package/dist/utilities/WikipediaReader.js +2 -2
- package/dist/voice-activity-detection/AdaptiveGateVAD.d.ts +28 -0
- package/dist/voice-activity-detection/AdaptiveGateVAD.js +138 -0
- package/dist/voice-activity-detection/AdaptiveGateVAD.js.map +1 -0
- package/dist/voice-activity-detection/SileroVAD.d.ts +1 -1
- package/dist/voice-activity-detection/SileroVAD.js +5 -5
- package/dist/voice-activity-detection/SileroVAD.js.map +1 -1
- package/dist/voice-activity-detection/WebRtcVAD.d.ts +1 -1
- package/dist/voice-activity-detection/WebRtcVAD.js +4 -4
- package/docs/API.md +29 -11
- package/docs/CLI.md +31 -7
- package/docs/Contributing.md +38 -0
- package/docs/Development.md +93 -19
- package/docs/Engines.md +28 -16
- package/docs/Licenses.md +4 -1
- package/docs/Options.md +158 -78
- package/docs/Releases.md +262 -0
- package/docs/Server.md +7 -7
- package/docs/Tasklist.md +95 -76
- package/docs/Technical.md +4 -4
- package/package.json +13 -14
- package/src/alignment/DTWMfccSequenceAlignment.ts +9 -9
- package/src/alignment/DTWSequenceAlignment.ts +2 -2
- package/src/alignment/DTWSequenceAlignmentWindowed.ts +3 -3
- package/src/alignment/LevenshteinSequenceAlignment.ts +2 -2
- package/src/alignment/SpeechAlignment.ts +204 -119
- package/src/api/API.ts +14 -13
- package/src/api/APIOptions.ts +12 -11
- package/src/api/Alignment.ts +147 -90
- package/src/api/Common.ts +1 -1
- package/src/api/Denoising.ts +28 -28
- package/src/api/LanguageDetection.ts +135 -48
- package/src/api/Recognition.ts +198 -59
- package/src/api/SourceSeparation.ts +99 -0
- package/src/api/Synthesis.ts +217 -181
- package/src/api/Translation.ts +193 -40
- package/src/api/Vad.ts +110 -41
- package/src/audio/AudioBufferConversion.ts +4 -4
- package/src/audio/AudioPlayer.ts +27 -27
- package/src/audio/AudioRecorder.ts +5 -5
- package/src/audio/AudioUtilities.ts +107 -24
- package/src/cli/CLI.ts +313 -164
- package/src/cli/CLIConfigFile.ts +8 -8
- package/src/cli/CLILauncher.ts +6 -6
- package/src/cli/CLIOptionsSchema.ts +2 -2
- package/src/cli/CLIParser.ts +5 -5
- package/src/cli/CLIStarter.ts +4 -4
- package/src/codecs/FFMpegTranscoder.ts +38 -38
- package/src/codecs/TIMITCodec.ts +5 -5
- package/src/codecs/WaveCodec.ts +22 -22
- package/src/denoising/RNNoise.ts +9 -9
- package/src/dsp/BiquadFilter.ts +19 -11
- package/src/dsp/DecayingPeakEstimator.ts +35 -0
- package/src/dsp/FFT.ts +103 -35
- package/src/dsp/KWeightingFilter.ts +43 -0
- package/src/dsp/LoudnessEstimator.ts +74 -0
- package/src/dsp/MFCC.ts +15 -15
- package/src/dsp/MelSpectogram.ts +7 -7
- package/src/dsp/Rubberband.ts +38 -38
- package/src/dsp/Sonic.ts +4 -4
- package/src/dsp/SpeexResampler.ts +2 -2
- package/src/math/VectorMath.ts +42 -33
- package/src/nlp/ChineseSegmentation.ts +3 -3
- package/src/nlp/CompromiseNLP.ts +3 -3
- package/src/nlp/EspeakPhonemizer.ts +30 -30
- package/src/nlp/IPA.ts +20 -20
- package/src/nlp/JapaneseSegmentation.ts +6 -6
- package/src/nlp/Lexicon.ts +8 -8
- package/src/nlp/Segmentation.ts +23 -14
- package/src/nlp/TextNormalizer.ts +16 -16
- package/src/recognition/AmazonTranscribeSTT.ts +16 -17
- package/src/recognition/AzureCognitiveServicesSTT.ts +8 -6
- package/src/recognition/GoogleCloudSTT.ts +21 -21
- package/src/recognition/OpenAICloudSTT.ts +142 -0
- package/src/recognition/SileroSTT.ts +26 -26
- package/src/recognition/VoskSTT.ts +10 -10
- package/src/recognition/WhisperCppSTT.ts +555 -0
- package/src/recognition/WhisperSTT.ts +760 -507
- package/src/server/Client.ts +23 -23
- package/src/server/Server.ts +9 -9
- package/src/server/Worker.ts +53 -53
- package/src/server/WorkerStarter.ts +2 -2
- package/src/source-separation/MDXNetSourceSeparation.ts +228 -0
- package/src/speech-language-detection/SileroLanguageDetection.ts +8 -8
- package/src/subtitles/Subtitles.ts +3 -3
- package/src/synthesis/AwsPollyTTS.ts +14 -14
- package/src/synthesis/AzureCognitiveServicesTTS.ts +10 -10
- package/src/synthesis/CoquiServerTTS.ts +10 -10
- package/src/synthesis/ElevenlabsTTS.ts +137 -0
- package/src/synthesis/EspeakTTS.ts +90 -71
- package/src/synthesis/FliteTTS.ts +157 -157
- package/src/synthesis/GoogleCloudTTS.ts +19 -19
- package/src/synthesis/GoogleTranslateTTS.ts +104 -104
- package/src/synthesis/MicrosoftEdgeTTS.ts +80 -80
- package/src/synthesis/OpenAICloudTTS.ts +196 -0
- package/src/synthesis/SamTTS.ts +3 -3
- package/src/synthesis/SapiTTS.ts +29 -29
- package/src/synthesis/StreamlabsPollyTTS.ts +29 -29
- package/src/synthesis/SvoxPicoTTS.ts +67 -67
- package/src/synthesis/VitsTTS.ts +380 -380
- package/src/tests/Test.ts +4 -4
- package/src/utilities/Compression.ts +34 -13
- package/src/utilities/FileDownloader.ts +19 -19
- package/src/utilities/FileSystem.ts +7 -7
- package/src/utilities/Locale.ts +22 -22
- package/src/utilities/Logger.ts +4 -4
- package/src/utilities/ObjectUtilities.ts +19 -19
- package/src/utilities/OpenPromise.ts +2 -2
- package/src/utilities/PackageManager.ts +40 -0
- package/src/utilities/PathUtilities.ts +8 -8
- package/src/utilities/RandomGenerator.ts +3 -3
- package/src/utilities/SmoothEstimator.ts +35 -0
- package/src/utilities/TarballMaker.ts +9 -9
- package/src/utilities/Timeline.ts +15 -13
- package/src/utilities/Timer.ts +4 -4
- package/src/utilities/Utilities.ts +49 -15
- package/src/utilities/WasmMemoryManager.ts +7 -7
- package/src/utilities/WebReader.ts +23 -23
- package/src/utilities/WikipediaReader.ts +2 -2
- package/src/voice-activity-detection/AdaptiveGateVAD.ts +202 -0
- package/src/voice-activity-detection/SileroVAD.ts +5 -5
- package/src/voice-activity-detection/WebRtcVAD.ts +5 -5
- package/dist/synthesis/ElevenLabsTTS.d.ts +0 -8
- package/dist/synthesis/ElevenLabsTTS.js +0 -82
- package/dist/synthesis/ElevenLabsTTS.js.map +0 -1
- package/src/synthesis/ElevenLabsTTS.ts +0 -104
|
@@ -32,6 +32,9 @@
|
|
|
32
32
|
"DenoisingOptions": {
|
|
33
33
|
"$ref": "#/definitions/DenoisingOptions"
|
|
34
34
|
},
|
|
35
|
+
"SourceSeparationOptions": {
|
|
36
|
+
"$ref": "#/definitions/SourceSeparationOptions"
|
|
37
|
+
},
|
|
35
38
|
"ServerOptions": {
|
|
36
39
|
"$ref": "#/definitions/ServerOptions"
|
|
37
40
|
}
|
|
@@ -46,6 +49,7 @@
|
|
|
46
49
|
"TextLanguageDetectionOptions",
|
|
47
50
|
"VADOptions",
|
|
48
51
|
"DenoisingOptions",
|
|
52
|
+
"SourceSeparationOptions",
|
|
49
53
|
"ServerOptions"
|
|
50
54
|
],
|
|
51
55
|
"additionalProperties": false
|
|
@@ -104,10 +108,10 @@
|
|
|
104
108
|
"normalizeAudio": {
|
|
105
109
|
"type": "boolean"
|
|
106
110
|
},
|
|
107
|
-
"
|
|
111
|
+
"targetPeak": {
|
|
108
112
|
"type": "number"
|
|
109
113
|
},
|
|
110
|
-
"
|
|
114
|
+
"maxGainIncrease": {
|
|
111
115
|
"type": "number"
|
|
112
116
|
},
|
|
113
117
|
"speed": {
|
|
@@ -182,6 +186,9 @@
|
|
|
182
186
|
},
|
|
183
187
|
"useKlatt": {
|
|
184
188
|
"type": "boolean"
|
|
189
|
+
},
|
|
190
|
+
"insertSeparators": {
|
|
191
|
+
"type": "boolean"
|
|
185
192
|
}
|
|
186
193
|
},
|
|
187
194
|
"additionalProperties": false
|
|
@@ -304,20 +311,11 @@
|
|
|
304
311
|
},
|
|
305
312
|
"additionalProperties": false
|
|
306
313
|
},
|
|
314
|
+
"openAICloud": {
|
|
315
|
+
"$ref": "#/definitions/OpenAICloudTTSOptions"
|
|
316
|
+
},
|
|
307
317
|
"elevenlabs": {
|
|
308
|
-
"
|
|
309
|
-
"properties": {
|
|
310
|
-
"apiKey": {
|
|
311
|
-
"type": "string"
|
|
312
|
-
},
|
|
313
|
-
"stability": {
|
|
314
|
-
"type": "number"
|
|
315
|
-
},
|
|
316
|
-
"similarityBoost": {
|
|
317
|
-
"type": "number"
|
|
318
|
-
}
|
|
319
|
-
},
|
|
320
|
-
"additionalProperties": false
|
|
318
|
+
"$ref": "#/definitions/ElevenlabsTTSOptions"
|
|
321
319
|
},
|
|
322
320
|
"googleTranslate": {
|
|
323
321
|
"type": "object",
|
|
@@ -373,6 +371,7 @@
|
|
|
373
371
|
"google-cloud",
|
|
374
372
|
"microsoft-azure",
|
|
375
373
|
"amazon-polly",
|
|
374
|
+
"openai-cloud",
|
|
376
375
|
"elevenlabs",
|
|
377
376
|
"google-translate",
|
|
378
377
|
"microsoft-edge",
|
|
@@ -423,8 +422,11 @@
|
|
|
423
422
|
"language": {
|
|
424
423
|
"type": "string"
|
|
425
424
|
},
|
|
426
|
-
"
|
|
427
|
-
"
|
|
425
|
+
"isolate": {
|
|
426
|
+
"type": "boolean"
|
|
427
|
+
},
|
|
428
|
+
"crop": {
|
|
429
|
+
"type": "boolean"
|
|
428
430
|
},
|
|
429
431
|
"customLexiconPaths": {
|
|
430
432
|
"type": "array",
|
|
@@ -432,6 +434,12 @@
|
|
|
432
434
|
"type": "string"
|
|
433
435
|
}
|
|
434
436
|
},
|
|
437
|
+
"languageDetection": {
|
|
438
|
+
"$ref": "#/definitions/TextLanguageDetectionOptions"
|
|
439
|
+
},
|
|
440
|
+
"vad": {
|
|
441
|
+
"$ref": "#/definitions/VADOptions"
|
|
442
|
+
},
|
|
435
443
|
"plainText": {
|
|
436
444
|
"$ref": "#/definitions/PlainTextOptions"
|
|
437
445
|
},
|
|
@@ -476,6 +484,9 @@
|
|
|
476
484
|
"recognition": {
|
|
477
485
|
"$ref": "#/definitions/RecognitionOptions"
|
|
478
486
|
},
|
|
487
|
+
"sourceSeparation": {
|
|
488
|
+
"$ref": "#/definitions/SourceSeparationOptions"
|
|
489
|
+
},
|
|
479
490
|
"whisper": {
|
|
480
491
|
"$ref": "#/definitions/WhisperOptions"
|
|
481
492
|
}
|
|
@@ -512,6 +523,98 @@
|
|
|
512
523
|
"fasttext"
|
|
513
524
|
]
|
|
514
525
|
},
|
|
526
|
+
"VADOptions": {
|
|
527
|
+
"type": "object",
|
|
528
|
+
"properties": {
|
|
529
|
+
"engine": {
|
|
530
|
+
"$ref": "#/definitions/VADEngine"
|
|
531
|
+
},
|
|
532
|
+
"activityThreshold": {
|
|
533
|
+
"type": "number"
|
|
534
|
+
},
|
|
535
|
+
"webrtc": {
|
|
536
|
+
"type": "object",
|
|
537
|
+
"properties": {
|
|
538
|
+
"frameDuration": {
|
|
539
|
+
"type": "number",
|
|
540
|
+
"enum": [
|
|
541
|
+
10,
|
|
542
|
+
20,
|
|
543
|
+
30
|
|
544
|
+
]
|
|
545
|
+
},
|
|
546
|
+
"mode": {
|
|
547
|
+
"type": "number",
|
|
548
|
+
"enum": [
|
|
549
|
+
0,
|
|
550
|
+
1,
|
|
551
|
+
2,
|
|
552
|
+
3
|
|
553
|
+
]
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"additionalProperties": false
|
|
557
|
+
},
|
|
558
|
+
"silero": {
|
|
559
|
+
"type": "object",
|
|
560
|
+
"properties": {
|
|
561
|
+
"frameDuration": {
|
|
562
|
+
"type": "number",
|
|
563
|
+
"enum": [
|
|
564
|
+
30,
|
|
565
|
+
60,
|
|
566
|
+
90
|
|
567
|
+
]
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
"additionalProperties": false
|
|
571
|
+
},
|
|
572
|
+
"rnnoise": {
|
|
573
|
+
"type": "object",
|
|
574
|
+
"additionalProperties": false
|
|
575
|
+
},
|
|
576
|
+
"adaptiveGate": {
|
|
577
|
+
"$ref": "#/definitions/AdaptiveGateVADOptions"
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"additionalProperties": false
|
|
581
|
+
},
|
|
582
|
+
"VADEngine": {
|
|
583
|
+
"type": "string",
|
|
584
|
+
"enum": [
|
|
585
|
+
"webrtc",
|
|
586
|
+
"silero",
|
|
587
|
+
"rnnoise",
|
|
588
|
+
"adaptive-gate"
|
|
589
|
+
]
|
|
590
|
+
},
|
|
591
|
+
"AdaptiveGateVADOptions": {
|
|
592
|
+
"type": "object",
|
|
593
|
+
"properties": {
|
|
594
|
+
"lowCutoff": {
|
|
595
|
+
"type": "number"
|
|
596
|
+
},
|
|
597
|
+
"highCutoff": {
|
|
598
|
+
"type": "number"
|
|
599
|
+
},
|
|
600
|
+
"positiveAdaptationRate": {
|
|
601
|
+
"type": "number"
|
|
602
|
+
},
|
|
603
|
+
"negativeAdaptationRate": {
|
|
604
|
+
"type": "number"
|
|
605
|
+
},
|
|
606
|
+
"peakLoudnessDecay": {
|
|
607
|
+
"type": "number"
|
|
608
|
+
},
|
|
609
|
+
"backwardExtensionDuration": {
|
|
610
|
+
"type": "number"
|
|
611
|
+
},
|
|
612
|
+
"relativeThreshold": {
|
|
613
|
+
"type": "number"
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"additionalProperties": false
|
|
617
|
+
},
|
|
515
618
|
"SubtitlesConfig": {
|
|
516
619
|
"type": "object",
|
|
517
620
|
"properties": {
|
|
@@ -614,6 +717,12 @@
|
|
|
614
717
|
"maxAlternatives": {
|
|
615
718
|
"type": "number"
|
|
616
719
|
},
|
|
720
|
+
"isolate": {
|
|
721
|
+
"type": "boolean"
|
|
722
|
+
},
|
|
723
|
+
"crop": {
|
|
724
|
+
"type": "boolean"
|
|
725
|
+
},
|
|
617
726
|
"alignment": {
|
|
618
727
|
"$ref": "#/definitions/AlignmentOptions"
|
|
619
728
|
},
|
|
@@ -623,9 +732,18 @@
|
|
|
623
732
|
"subtitles": {
|
|
624
733
|
"$ref": "#/definitions/SubtitlesConfig"
|
|
625
734
|
},
|
|
735
|
+
"vad": {
|
|
736
|
+
"$ref": "#/definitions/VADOptions"
|
|
737
|
+
},
|
|
738
|
+
"sourceSeparation": {
|
|
739
|
+
"$ref": "#/definitions/SourceSeparationOptions"
|
|
740
|
+
},
|
|
626
741
|
"whisper": {
|
|
627
742
|
"$ref": "#/definitions/WhisperOptions"
|
|
628
743
|
},
|
|
744
|
+
"whisperCpp": {
|
|
745
|
+
"$ref": "#/definitions/WhisperCppOptions"
|
|
746
|
+
},
|
|
629
747
|
"vosk": {
|
|
630
748
|
"type": "object",
|
|
631
749
|
"properties": {
|
|
@@ -694,6 +812,9 @@
|
|
|
694
812
|
}
|
|
695
813
|
},
|
|
696
814
|
"additionalProperties": false
|
|
815
|
+
},
|
|
816
|
+
"openAICloud": {
|
|
817
|
+
"$ref": "#/definitions/OpenAICloudSTTOptions"
|
|
697
818
|
}
|
|
698
819
|
},
|
|
699
820
|
"additionalProperties": false
|
|
@@ -702,11 +823,13 @@
|
|
|
702
823
|
"type": "string",
|
|
703
824
|
"enum": [
|
|
704
825
|
"whisper",
|
|
826
|
+
"whisper.cpp",
|
|
705
827
|
"vosk",
|
|
706
828
|
"silero",
|
|
707
829
|
"google-cloud",
|
|
708
830
|
"microsoft-azure",
|
|
709
|
-
"amazon-transcribe"
|
|
831
|
+
"amazon-transcribe",
|
|
832
|
+
"openai-cloud"
|
|
710
833
|
]
|
|
711
834
|
},
|
|
712
835
|
"SpeechLanguageDetectionOptions": {
|
|
@@ -721,12 +844,30 @@
|
|
|
721
844
|
"fallbackThresholdProbability": {
|
|
722
845
|
"type": "number"
|
|
723
846
|
},
|
|
847
|
+
"crop": {
|
|
848
|
+
"type": "boolean"
|
|
849
|
+
},
|
|
724
850
|
"silero": {
|
|
725
851
|
"type": "object",
|
|
726
852
|
"additionalProperties": false
|
|
727
853
|
},
|
|
728
854
|
"whisper": {
|
|
729
|
-
"
|
|
855
|
+
"type": "object",
|
|
856
|
+
"properties": {
|
|
857
|
+
"model": {
|
|
858
|
+
"$ref": "#/definitions/WhisperModelName"
|
|
859
|
+
},
|
|
860
|
+
"temperature": {
|
|
861
|
+
"type": "number"
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"additionalProperties": false
|
|
865
|
+
},
|
|
866
|
+
"whisperCpp": {
|
|
867
|
+
"$ref": "#/definitions/WhisperCppOptions"
|
|
868
|
+
},
|
|
869
|
+
"vad": {
|
|
870
|
+
"$ref": "#/definitions/VADOptions"
|
|
730
871
|
}
|
|
731
872
|
},
|
|
732
873
|
"additionalProperties": false
|
|
@@ -735,50 +876,195 @@
|
|
|
735
876
|
"type": "string",
|
|
736
877
|
"enum": [
|
|
737
878
|
"silero",
|
|
738
|
-
"whisper"
|
|
879
|
+
"whisper",
|
|
880
|
+
"whisper.cpp"
|
|
739
881
|
]
|
|
740
882
|
},
|
|
741
|
-
"
|
|
883
|
+
"WhisperModelName": {
|
|
884
|
+
"type": "string",
|
|
885
|
+
"enum": [
|
|
886
|
+
"tiny",
|
|
887
|
+
"tiny.en",
|
|
888
|
+
"base",
|
|
889
|
+
"base.en",
|
|
890
|
+
"small",
|
|
891
|
+
"small.en",
|
|
892
|
+
"medium",
|
|
893
|
+
"medium.en",
|
|
894
|
+
"large",
|
|
895
|
+
"large-v1",
|
|
896
|
+
"large-v2",
|
|
897
|
+
"large-v3"
|
|
898
|
+
]
|
|
899
|
+
},
|
|
900
|
+
"WhisperCppOptions": {
|
|
742
901
|
"type": "object",
|
|
743
902
|
"properties": {
|
|
903
|
+
"build": {
|
|
904
|
+
"$ref": "#/definitions/WhisperCppBuild"
|
|
905
|
+
},
|
|
906
|
+
"executablePath": {
|
|
907
|
+
"type": "string"
|
|
908
|
+
},
|
|
909
|
+
"enableGPU": {
|
|
910
|
+
"type": "boolean"
|
|
911
|
+
},
|
|
744
912
|
"model": {
|
|
745
|
-
"$ref": "#/definitions/
|
|
913
|
+
"$ref": "#/definitions/WhisperCppModelId"
|
|
746
914
|
},
|
|
747
|
-
"
|
|
915
|
+
"threadCount": {
|
|
748
916
|
"type": "number"
|
|
749
917
|
},
|
|
750
|
-
"
|
|
751
|
-
"type": "
|
|
918
|
+
"splitCount": {
|
|
919
|
+
"type": "number"
|
|
752
920
|
},
|
|
753
921
|
"topCandidateCount": {
|
|
754
922
|
"type": "number"
|
|
755
923
|
},
|
|
756
|
-
"
|
|
924
|
+
"beamCount": {
|
|
757
925
|
"type": "number"
|
|
758
926
|
},
|
|
759
|
-
"
|
|
927
|
+
"repetitionThreshold": {
|
|
928
|
+
"type": "number"
|
|
929
|
+
},
|
|
930
|
+
"prompt": {
|
|
931
|
+
"type": "string"
|
|
932
|
+
},
|
|
933
|
+
"enableDTW": {
|
|
934
|
+
"type": "boolean"
|
|
935
|
+
},
|
|
936
|
+
"verbose": {
|
|
760
937
|
"type": "boolean"
|
|
761
938
|
}
|
|
762
939
|
},
|
|
763
940
|
"additionalProperties": false
|
|
764
941
|
},
|
|
765
|
-
"
|
|
942
|
+
"WhisperCppBuild": {
|
|
943
|
+
"type": "string",
|
|
944
|
+
"enum": [
|
|
945
|
+
"cpu",
|
|
946
|
+
"cublas-11.8.0",
|
|
947
|
+
"cublas-12.4.0",
|
|
948
|
+
"custom"
|
|
949
|
+
]
|
|
950
|
+
},
|
|
951
|
+
"WhisperCppModelId": {
|
|
766
952
|
"type": "string",
|
|
767
953
|
"enum": [
|
|
768
954
|
"tiny",
|
|
955
|
+
"tiny-q5_1",
|
|
769
956
|
"tiny.en",
|
|
957
|
+
"tiny.en-q5_1",
|
|
958
|
+
"tiny.en-q8_0",
|
|
770
959
|
"base",
|
|
960
|
+
"base-q5_1",
|
|
771
961
|
"base.en",
|
|
962
|
+
"base.en-q5_1",
|
|
772
963
|
"small",
|
|
964
|
+
"small-q5_1",
|
|
773
965
|
"small.en",
|
|
966
|
+
"small.en-q5_1",
|
|
774
967
|
"medium",
|
|
968
|
+
"medium-q5_0",
|
|
775
969
|
"medium.en",
|
|
970
|
+
"medium.en-q5_0",
|
|
776
971
|
"large",
|
|
777
972
|
"large-v1",
|
|
778
973
|
"large-v2",
|
|
779
|
-
"large-
|
|
974
|
+
"large-v2-q5_0",
|
|
975
|
+
"large-v3",
|
|
976
|
+
"large-v3-q5_0"
|
|
780
977
|
]
|
|
781
978
|
},
|
|
979
|
+
"SourceSeparationOptions": {
|
|
980
|
+
"type": "object",
|
|
981
|
+
"properties": {
|
|
982
|
+
"engine": {
|
|
983
|
+
"$ref": "#/definitions/SourceSeparationEngine"
|
|
984
|
+
},
|
|
985
|
+
"mdxNet": {
|
|
986
|
+
"type": "object",
|
|
987
|
+
"properties": {
|
|
988
|
+
"model": {
|
|
989
|
+
"type": "string"
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
"additionalProperties": false
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
"additionalProperties": false
|
|
996
|
+
},
|
|
997
|
+
"SourceSeparationEngine": {
|
|
998
|
+
"type": "string",
|
|
999
|
+
"const": "mdx-net"
|
|
1000
|
+
},
|
|
1001
|
+
"WhisperOptions": {
|
|
1002
|
+
"type": "object",
|
|
1003
|
+
"properties": {
|
|
1004
|
+
"model": {
|
|
1005
|
+
"$ref": "#/definitions/WhisperModelName"
|
|
1006
|
+
},
|
|
1007
|
+
"temperature": {
|
|
1008
|
+
"type": "number"
|
|
1009
|
+
},
|
|
1010
|
+
"prompt": {
|
|
1011
|
+
"type": "string"
|
|
1012
|
+
},
|
|
1013
|
+
"topCandidateCount": {
|
|
1014
|
+
"type": "number"
|
|
1015
|
+
},
|
|
1016
|
+
"punctuationThreshold": {
|
|
1017
|
+
"type": "number"
|
|
1018
|
+
},
|
|
1019
|
+
"autoPromptParts": {
|
|
1020
|
+
"type": "boolean"
|
|
1021
|
+
},
|
|
1022
|
+
"maxTokensPerPart": {
|
|
1023
|
+
"type": "number"
|
|
1024
|
+
},
|
|
1025
|
+
"suppressRepetition": {
|
|
1026
|
+
"type": "boolean"
|
|
1027
|
+
},
|
|
1028
|
+
"seed": {
|
|
1029
|
+
"type": "number"
|
|
1030
|
+
},
|
|
1031
|
+
"decodeTimestampTokens": {
|
|
1032
|
+
"type": "boolean"
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
"additionalProperties": false
|
|
1036
|
+
},
|
|
1037
|
+
"OpenAICloudSTTOptions": {
|
|
1038
|
+
"type": "object",
|
|
1039
|
+
"properties": {
|
|
1040
|
+
"model": {
|
|
1041
|
+
"type": "string",
|
|
1042
|
+
"const": "whisper-1"
|
|
1043
|
+
},
|
|
1044
|
+
"apiKey": {
|
|
1045
|
+
"type": "string"
|
|
1046
|
+
},
|
|
1047
|
+
"organization": {
|
|
1048
|
+
"type": "string"
|
|
1049
|
+
},
|
|
1050
|
+
"baseURL": {
|
|
1051
|
+
"type": "string"
|
|
1052
|
+
},
|
|
1053
|
+
"temperature": {
|
|
1054
|
+
"type": "number"
|
|
1055
|
+
},
|
|
1056
|
+
"prompt": {
|
|
1057
|
+
"type": "string"
|
|
1058
|
+
},
|
|
1059
|
+
"timeout": {
|
|
1060
|
+
"type": "number"
|
|
1061
|
+
},
|
|
1062
|
+
"maxRetries": {
|
|
1063
|
+
"type": "number"
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
"additionalProperties": false
|
|
1067
|
+
},
|
|
782
1068
|
"TimePitchShiftingMethod": {
|
|
783
1069
|
"type": "string",
|
|
784
1070
|
"enum": [
|
|
@@ -866,6 +1152,55 @@
|
|
|
866
1152
|
},
|
|
867
1153
|
"additionalProperties": false
|
|
868
1154
|
},
|
|
1155
|
+
"OpenAICloudTTSOptions": {
|
|
1156
|
+
"type": "object",
|
|
1157
|
+
"properties": {
|
|
1158
|
+
"apiKey": {
|
|
1159
|
+
"type": "string"
|
|
1160
|
+
},
|
|
1161
|
+
"organization": {
|
|
1162
|
+
"type": "string"
|
|
1163
|
+
},
|
|
1164
|
+
"baseURL": {
|
|
1165
|
+
"type": "string"
|
|
1166
|
+
},
|
|
1167
|
+
"model": {
|
|
1168
|
+
"type": "string",
|
|
1169
|
+
"enum": [
|
|
1170
|
+
"tts-1",
|
|
1171
|
+
"tts-1-hd"
|
|
1172
|
+
]
|
|
1173
|
+
},
|
|
1174
|
+
"timeout": {
|
|
1175
|
+
"type": "number"
|
|
1176
|
+
},
|
|
1177
|
+
"maxRetries": {
|
|
1178
|
+
"type": "number"
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
"additionalProperties": false
|
|
1182
|
+
},
|
|
1183
|
+
"ElevenlabsTTSOptions": {
|
|
1184
|
+
"type": "object",
|
|
1185
|
+
"properties": {
|
|
1186
|
+
"apiKey": {
|
|
1187
|
+
"type": "string"
|
|
1188
|
+
},
|
|
1189
|
+
"stability": {
|
|
1190
|
+
"type": "number"
|
|
1191
|
+
},
|
|
1192
|
+
"similarityBoost": {
|
|
1193
|
+
"type": "number"
|
|
1194
|
+
},
|
|
1195
|
+
"style": {
|
|
1196
|
+
"type": "number"
|
|
1197
|
+
},
|
|
1198
|
+
"useSpeakerBoost": {
|
|
1199
|
+
"type": "boolean"
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
"additionalProperties": false
|
|
1203
|
+
},
|
|
869
1204
|
"SynthesisOptions": {
|
|
870
1205
|
"type": "object",
|
|
871
1206
|
"properties": {
|
|
@@ -920,10 +1255,10 @@
|
|
|
920
1255
|
"normalizeAudio": {
|
|
921
1256
|
"type": "boolean"
|
|
922
1257
|
},
|
|
923
|
-
"
|
|
1258
|
+
"targetPeak": {
|
|
924
1259
|
"type": "number"
|
|
925
1260
|
},
|
|
926
|
-
"
|
|
1261
|
+
"maxGainIncrease": {
|
|
927
1262
|
"type": "number"
|
|
928
1263
|
},
|
|
929
1264
|
"speed": {
|
|
@@ -998,6 +1333,9 @@
|
|
|
998
1333
|
},
|
|
999
1334
|
"useKlatt": {
|
|
1000
1335
|
"type": "boolean"
|
|
1336
|
+
},
|
|
1337
|
+
"insertSeparators": {
|
|
1338
|
+
"type": "boolean"
|
|
1001
1339
|
}
|
|
1002
1340
|
},
|
|
1003
1341
|
"additionalProperties": false
|
|
@@ -1120,20 +1458,11 @@
|
|
|
1120
1458
|
},
|
|
1121
1459
|
"additionalProperties": false
|
|
1122
1460
|
},
|
|
1461
|
+
"openAICloud": {
|
|
1462
|
+
"$ref": "#/definitions/OpenAICloudTTSOptions"
|
|
1463
|
+
},
|
|
1123
1464
|
"elevenlabs": {
|
|
1124
|
-
"
|
|
1125
|
-
"properties": {
|
|
1126
|
-
"apiKey": {
|
|
1127
|
-
"type": "string"
|
|
1128
|
-
},
|
|
1129
|
-
"stability": {
|
|
1130
|
-
"type": "number"
|
|
1131
|
-
},
|
|
1132
|
-
"similarityBoost": {
|
|
1133
|
-
"type": "number"
|
|
1134
|
-
}
|
|
1135
|
-
},
|
|
1136
|
-
"additionalProperties": false
|
|
1465
|
+
"$ref": "#/definitions/ElevenlabsTTSOptions"
|
|
1137
1466
|
},
|
|
1138
1467
|
"googleTranslate": {
|
|
1139
1468
|
"type": "object",
|
|
@@ -1175,84 +1504,42 @@
|
|
|
1175
1504
|
"targetLanguage": {
|
|
1176
1505
|
"type": "string"
|
|
1177
1506
|
},
|
|
1507
|
+
"crop": {
|
|
1508
|
+
"type": "boolean"
|
|
1509
|
+
},
|
|
1510
|
+
"isolate": {
|
|
1511
|
+
"type": "boolean"
|
|
1512
|
+
},
|
|
1178
1513
|
"languageDetection": {
|
|
1179
1514
|
"$ref": "#/definitions/SpeechLanguageDetectionOptions"
|
|
1180
1515
|
},
|
|
1181
1516
|
"subtitles": {
|
|
1182
1517
|
"$ref": "#/definitions/SubtitlesConfig"
|
|
1183
1518
|
},
|
|
1184
|
-
"
|
|
1185
|
-
"$ref": "#/definitions/
|
|
1186
|
-
}
|
|
1187
|
-
},
|
|
1188
|
-
"additionalProperties": false
|
|
1189
|
-
},
|
|
1190
|
-
"SpeechTranslationEngine": {
|
|
1191
|
-
"type": "string",
|
|
1192
|
-
"const": "whisper"
|
|
1193
|
-
},
|
|
1194
|
-
"VADOptions": {
|
|
1195
|
-
"type": "object",
|
|
1196
|
-
"properties": {
|
|
1197
|
-
"engine": {
|
|
1198
|
-
"$ref": "#/definitions/VADEngine"
|
|
1519
|
+
"vad": {
|
|
1520
|
+
"$ref": "#/definitions/VADOptions"
|
|
1199
1521
|
},
|
|
1200
|
-
"
|
|
1201
|
-
"
|
|
1522
|
+
"sourceSeparation": {
|
|
1523
|
+
"$ref": "#/definitions/SourceSeparationOptions"
|
|
1202
1524
|
},
|
|
1203
|
-
"
|
|
1204
|
-
"
|
|
1205
|
-
"properties": {
|
|
1206
|
-
"frameDuration": {
|
|
1207
|
-
"type": "number",
|
|
1208
|
-
"enum": [
|
|
1209
|
-
10,
|
|
1210
|
-
20,
|
|
1211
|
-
30
|
|
1212
|
-
]
|
|
1213
|
-
},
|
|
1214
|
-
"mode": {
|
|
1215
|
-
"type": "number",
|
|
1216
|
-
"enum": [
|
|
1217
|
-
0,
|
|
1218
|
-
1,
|
|
1219
|
-
2,
|
|
1220
|
-
3
|
|
1221
|
-
]
|
|
1222
|
-
}
|
|
1223
|
-
},
|
|
1224
|
-
"additionalProperties": false
|
|
1525
|
+
"whisper": {
|
|
1526
|
+
"$ref": "#/definitions/WhisperOptions"
|
|
1225
1527
|
},
|
|
1226
|
-
"
|
|
1227
|
-
"
|
|
1228
|
-
"properties": {
|
|
1229
|
-
"modelPath": {
|
|
1230
|
-
"type": "string"
|
|
1231
|
-
},
|
|
1232
|
-
"frameDuration": {
|
|
1233
|
-
"type": "number",
|
|
1234
|
-
"enum": [
|
|
1235
|
-
30,
|
|
1236
|
-
60,
|
|
1237
|
-
90
|
|
1238
|
-
]
|
|
1239
|
-
}
|
|
1240
|
-
},
|
|
1241
|
-
"additionalProperties": false
|
|
1528
|
+
"whisperCpp": {
|
|
1529
|
+
"$ref": "#/definitions/WhisperCppOptions"
|
|
1242
1530
|
},
|
|
1243
|
-
"
|
|
1244
|
-
"
|
|
1245
|
-
"additionalProperties": false
|
|
1531
|
+
"openAICloud": {
|
|
1532
|
+
"$ref": "#/definitions/OpenAICloudSTTOptions"
|
|
1246
1533
|
}
|
|
1247
1534
|
},
|
|
1248
1535
|
"additionalProperties": false
|
|
1249
1536
|
},
|
|
1250
|
-
"
|
|
1537
|
+
"SpeechTranslationEngine": {
|
|
1251
1538
|
"type": "string",
|
|
1252
1539
|
"enum": [
|
|
1253
|
-
"
|
|
1254
|
-
"
|
|
1255
|
-
"
|
|
1540
|
+
"whisper",
|
|
1541
|
+
"whisper.cpp",
|
|
1542
|
+
"openai-cloud"
|
|
1256
1543
|
]
|
|
1257
1544
|
},
|
|
1258
1545
|
"DenoisingOptions": {
|
|
@@ -1267,20 +1554,20 @@
|
|
|
1267
1554
|
"normalizeAudio": {
|
|
1268
1555
|
"type": "boolean"
|
|
1269
1556
|
},
|
|
1270
|
-
"
|
|
1557
|
+
"targetPeak": {
|
|
1271
1558
|
"type": "number"
|
|
1272
1559
|
},
|
|
1273
|
-
"
|
|
1560
|
+
"maxGainIncrease": {
|
|
1274
1561
|
"type": "number"
|
|
1275
1562
|
},
|
|
1276
|
-
"
|
|
1563
|
+
"dryMixGain": {
|
|
1277
1564
|
"type": "number"
|
|
1278
1565
|
}
|
|
1279
1566
|
},
|
|
1280
1567
|
"required": [
|
|
1281
1568
|
"normalizeAudio",
|
|
1282
|
-
"
|
|
1283
|
-
"
|
|
1569
|
+
"targetPeak",
|
|
1570
|
+
"maxGainIncrease"
|
|
1284
1571
|
],
|
|
1285
1572
|
"additionalProperties": false
|
|
1286
1573
|
}
|