echogarden 0.0.1 → 0.1.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.
Files changed (295) hide show
  1. package/README.md +59 -1
  2. package/data/lexicons/heteronyms.json +674 -0
  3. package/data/schemas/options.json +1057 -0
  4. package/data/tables/lcid-table.json +7427 -0
  5. package/dist/alignment/DTWMfccSequenceAlignment.d.ts +2 -0
  6. package/dist/alignment/DTWMfccSequenceAlignment.js +26 -0
  7. package/dist/alignment/DTWMfccSequenceAlignment.js.map +1 -0
  8. package/dist/alignment/DTWSequenceAlignment.d.ts +5 -0
  9. package/dist/alignment/DTWSequenceAlignment.js +99 -0
  10. package/dist/alignment/DTWSequenceAlignment.js.map +1 -0
  11. package/dist/alignment/DTWSequenceAlignmentWindowed.d.ts +5 -0
  12. package/dist/alignment/DTWSequenceAlignmentWindowed.js +161 -0
  13. package/dist/alignment/DTWSequenceAlignmentWindowed.js.map +1 -0
  14. package/dist/alignment/LevenshteinSequenceAlignment.d.ts +5 -0
  15. package/dist/alignment/LevenshteinSequenceAlignment.js +102 -0
  16. package/dist/alignment/LevenshteinSequenceAlignment.js.map +1 -0
  17. package/dist/alignment/SpeechAlignment.d.ts +27 -0
  18. package/dist/alignment/SpeechAlignment.js +266 -0
  19. package/dist/alignment/SpeechAlignment.js.map +1 -0
  20. package/dist/api/API.d.ts +8 -0
  21. package/dist/api/API.js +10 -0
  22. package/dist/api/API.js.map +1 -0
  23. package/dist/api/APIOptions.d.ts +12 -0
  24. package/dist/api/APIOptions.js +2 -0
  25. package/dist/api/APIOptions.js.map +1 -0
  26. package/dist/api/Alignment.d.ts +32 -0
  27. package/dist/api/Alignment.js +134 -0
  28. package/dist/api/Alignment.js.map +1 -0
  29. package/dist/api/Denoising.d.ts +14 -0
  30. package/dist/api/Denoising.js +66 -0
  31. package/dist/api/Denoising.js.map +1 -0
  32. package/dist/api/Globals.d.ts +1 -0
  33. package/dist/api/Globals.js +2 -0
  34. package/dist/api/Globals.js.map +1 -0
  35. package/dist/api/LanguageDetection.d.ts +49 -0
  36. package/dist/api/LanguageDetection.js +118 -0
  37. package/dist/api/LanguageDetection.js.map +1 -0
  38. package/dist/api/Recognition.d.ts +49 -0
  39. package/dist/api/Recognition.js +162 -0
  40. package/dist/api/Recognition.js.map +1 -0
  41. package/dist/api/Synthesis.d.ts +125 -0
  42. package/dist/api/Synthesis.js +892 -0
  43. package/dist/api/Synthesis.js.map +1 -0
  44. package/dist/api/Translation.d.ts +25 -0
  45. package/dist/api/Translation.js +69 -0
  46. package/dist/api/Translation.js.map +1 -0
  47. package/dist/api/Vad.d.ts +25 -0
  48. package/dist/api/Vad.js +88 -0
  49. package/dist/api/Vad.js.map +1 -0
  50. package/dist/audio/AudioBufferConversion.d.ts +15 -0
  51. package/dist/audio/AudioBufferConversion.js +228 -0
  52. package/dist/audio/AudioBufferConversion.js.map +1 -0
  53. package/dist/audio/AudioPlayer.d.ts +9 -0
  54. package/dist/audio/AudioPlayer.js +232 -0
  55. package/dist/audio/AudioPlayer.js.map +1 -0
  56. package/dist/audio/AudioRecorder.d.ts +3 -0
  57. package/dist/audio/AudioRecorder.js +68 -0
  58. package/dist/audio/AudioRecorder.js.map +1 -0
  59. package/dist/audio/AudioUtilities.d.ts +48 -0
  60. package/dist/audio/AudioUtilities.js +209 -0
  61. package/dist/audio/AudioUtilities.js.map +1 -0
  62. package/dist/audio/SoxPath.d.ts +1 -0
  63. package/dist/audio/SoxPath.js +19 -0
  64. package/dist/audio/SoxPath.js.map +1 -0
  65. package/dist/cli/CLI.d.ts +8 -0
  66. package/dist/cli/CLI.js +860 -0
  67. package/dist/cli/CLI.js.map +1 -0
  68. package/dist/cli/CLIConfigFile.d.ts +3 -0
  69. package/dist/cli/CLIConfigFile.js +62 -0
  70. package/dist/cli/CLIConfigFile.js.map +1 -0
  71. package/dist/cli/CLILauncher.d.ts +2 -0
  72. package/dist/cli/CLILauncher.js +22 -0
  73. package/dist/cli/CLILauncher.js.map +1 -0
  74. package/dist/cli/CLIOptionsSchema.d.ts +5 -0
  75. package/dist/cli/CLIOptionsSchema.js +36 -0
  76. package/dist/cli/CLIOptionsSchema.js.map +1 -0
  77. package/dist/cli/CLIParser.d.ts +6 -0
  78. package/dist/cli/CLIParser.js +34 -0
  79. package/dist/cli/CLIParser.js.map +1 -0
  80. package/dist/cli/CLIStarter.d.ts +1 -0
  81. package/dist/cli/CLIStarter.js +3 -0
  82. package/dist/cli/CLIStarter.js.map +1 -0
  83. package/dist/codecs/FFMpegTranscoder.d.ts +20 -0
  84. package/dist/codecs/FFMpegTranscoder.js +169 -0
  85. package/dist/codecs/FFMpegTranscoder.js.map +1 -0
  86. package/dist/codecs/TIMITCodec.d.ts +9 -0
  87. package/dist/codecs/TIMITCodec.js +14 -0
  88. package/dist/codecs/TIMITCodec.js.map +1 -0
  89. package/dist/codecs/WaveCodec.d.ts +19 -0
  90. package/dist/codecs/WaveCodec.js +208 -0
  91. package/dist/codecs/WaveCodec.js.map +1 -0
  92. package/dist/denoising/RNNoise.d.ts +6 -0
  93. package/dist/denoising/RNNoise.js +68 -0
  94. package/dist/denoising/RNNoise.js.map +1 -0
  95. package/dist/dsp/BiquadFilter.d.ts +26 -0
  96. package/dist/dsp/BiquadFilter.js +399 -0
  97. package/dist/dsp/BiquadFilter.js.map +1 -0
  98. package/dist/dsp/FFT.d.ts +9 -0
  99. package/dist/dsp/FFT.js +135 -0
  100. package/dist/dsp/FFT.js.map +1 -0
  101. package/dist/dsp/MFCC.d.ts +25 -0
  102. package/dist/dsp/MFCC.js +162 -0
  103. package/dist/dsp/MFCC.js.map +1 -0
  104. package/dist/dsp/MelSpectogram.d.ts +19 -0
  105. package/dist/dsp/MelSpectogram.js +102 -0
  106. package/dist/dsp/MelSpectogram.js.map +1 -0
  107. package/dist/dsp/Rubberband.d.ts +52 -0
  108. package/dist/dsp/Rubberband.js +186 -0
  109. package/dist/dsp/Rubberband.js.map +1 -0
  110. package/dist/dsp/Sonic.d.ts +2 -0
  111. package/dist/dsp/Sonic.js +39 -0
  112. package/dist/dsp/Sonic.js.map +1 -0
  113. package/dist/dsp/SpeexResampler.d.ts +3 -0
  114. package/dist/dsp/SpeexResampler.js +53 -0
  115. package/dist/dsp/SpeexResampler.js.map +1 -0
  116. package/dist/math/VectorMath.d.ts +70 -0
  117. package/dist/math/VectorMath.js +564 -0
  118. package/dist/math/VectorMath.js.map +1 -0
  119. package/dist/nlp/ChineseSegmentation.d.ts +1 -0
  120. package/dist/nlp/ChineseSegmentation.js +53 -0
  121. package/dist/nlp/ChineseSegmentation.js.map +1 -0
  122. package/dist/nlp/CompromiseNLP.d.ts +15 -0
  123. package/dist/nlp/CompromiseNLP.js +66 -0
  124. package/dist/nlp/CompromiseNLP.js.map +1 -0
  125. package/dist/nlp/EspeakPhonemizer.d.ts +4 -0
  126. package/dist/nlp/EspeakPhonemizer.js +133 -0
  127. package/dist/nlp/EspeakPhonemizer.js.map +1 -0
  128. package/dist/nlp/IPA.d.ts +19 -0
  129. package/dist/nlp/IPA.js +113 -0
  130. package/dist/nlp/IPA.js.map +1 -0
  131. package/dist/nlp/JapaneseSegmentation.d.ts +1 -0
  132. package/dist/nlp/JapaneseSegmentation.js +40 -0
  133. package/dist/nlp/JapaneseSegmentation.js.map +1 -0
  134. package/dist/nlp/Lexicon.d.ts +17 -0
  135. package/dist/nlp/Lexicon.js +6 -0
  136. package/dist/nlp/Lexicon.js.map +1 -0
  137. package/dist/nlp/PhoneConversion.d.ts +6 -0
  138. package/dist/nlp/PhoneConversion.js +467 -0
  139. package/dist/nlp/PhoneConversion.js.map +1 -0
  140. package/dist/nlp/Segmentation.d.ts +41 -0
  141. package/dist/nlp/Segmentation.js +158 -0
  142. package/dist/nlp/Segmentation.js.map +1 -0
  143. package/dist/nlp/TextNormalizer.d.ts +4 -0
  144. package/dist/nlp/TextNormalizer.js +69 -0
  145. package/dist/nlp/TextNormalizer.js.map +1 -0
  146. package/dist/recognition/AmazonTranscribeSTT.d.ts +6 -0
  147. package/dist/recognition/AmazonTranscribeSTT.js +79 -0
  148. package/dist/recognition/AmazonTranscribeSTT.js.map +1 -0
  149. package/dist/recognition/AzureCognitiveServicesSTT.d.ts +7 -0
  150. package/dist/recognition/AzureCognitiveServicesSTT.js +51 -0
  151. package/dist/recognition/AzureCognitiveServicesSTT.js.map +1 -0
  152. package/dist/recognition/GoogleCloudSTT.d.ts +7 -0
  153. package/dist/recognition/GoogleCloudSTT.js +66 -0
  154. package/dist/recognition/GoogleCloudSTT.js.map +1 -0
  155. package/dist/recognition/SileroSTT.d.ts +9 -0
  156. package/dist/recognition/SileroSTT.js +125 -0
  157. package/dist/recognition/SileroSTT.js.map +1 -0
  158. package/dist/recognition/VoskSTT.d.ts +10 -0
  159. package/dist/recognition/VoskSTT.js +78 -0
  160. package/dist/recognition/VoskSTT.js.map +1 -0
  161. package/dist/recognition/WhisperSTT.d.ts +69 -0
  162. package/dist/recognition/WhisperSTT.js +977 -0
  163. package/dist/recognition/WhisperSTT.js.map +1 -0
  164. package/dist/server/Server.d.ts +1 -0
  165. package/dist/server/Server.js +18 -0
  166. package/dist/server/Server.js.map +1 -0
  167. package/dist/speech-language-detection/SileroLanguageDetection.d.ts +9 -0
  168. package/dist/speech-language-detection/SileroLanguageDetection.js +47 -0
  169. package/dist/speech-language-detection/SileroLanguageDetection.js.map +1 -0
  170. package/dist/subtitles/Subtitles.d.ts +25 -0
  171. package/dist/subtitles/Subtitles.js +286 -0
  172. package/dist/subtitles/Subtitles.js.map +1 -0
  173. package/dist/synthesis/AwsPollyTTS.d.ts +7 -0
  174. package/dist/synthesis/AwsPollyTTS.js +51 -0
  175. package/dist/synthesis/AwsPollyTTS.js.map +1 -0
  176. package/dist/synthesis/AzureCognitiveServicesTTS.d.ts +9 -0
  177. package/dist/synthesis/AzureCognitiveServicesTTS.js +103 -0
  178. package/dist/synthesis/AzureCognitiveServicesTTS.js.map +1 -0
  179. package/dist/synthesis/CoquiServerTTS.d.ts +6 -0
  180. package/dist/synthesis/CoquiServerTTS.js +22 -0
  181. package/dist/synthesis/CoquiServerTTS.js.map +1 -0
  182. package/dist/synthesis/ElevenLabsTTS.d.ts +8 -0
  183. package/dist/synthesis/ElevenLabsTTS.js +48 -0
  184. package/dist/synthesis/ElevenLabsTTS.js.map +1 -0
  185. package/dist/synthesis/EspeakTTS.d.ts +46 -0
  186. package/dist/synthesis/EspeakTTS.js +353 -0
  187. package/dist/synthesis/EspeakTTS.js.map +1 -0
  188. package/dist/synthesis/FliteTTS.d.ts +17 -0
  189. package/dist/synthesis/FliteTTS.js +326 -0
  190. package/dist/synthesis/FliteTTS.js.map +1 -0
  191. package/dist/synthesis/GoogleCloudTTS.d.ts +16 -0
  192. package/dist/synthesis/GoogleCloudTTS.js +72 -0
  193. package/dist/synthesis/GoogleCloudTTS.js.map +1 -0
  194. package/dist/synthesis/GoogleTranslateTTS.d.ts +13 -0
  195. package/dist/synthesis/GoogleTranslateTTS.js +177 -0
  196. package/dist/synthesis/GoogleTranslateTTS.js.map +1 -0
  197. package/dist/synthesis/MicrosoftEdgeTTS.d.ts +10 -0
  198. package/dist/synthesis/MicrosoftEdgeTTS.js +216 -0
  199. package/dist/synthesis/MicrosoftEdgeTTS.js.map +1 -0
  200. package/dist/synthesis/SamTTS.d.ts +4 -0
  201. package/dist/synthesis/SamTTS.js +21 -0
  202. package/dist/synthesis/SamTTS.js.map +1 -0
  203. package/dist/synthesis/SapiTTS.d.ts +9 -0
  204. package/dist/synthesis/SapiTTS.js +211 -0
  205. package/dist/synthesis/SapiTTS.js.map +1 -0
  206. package/dist/synthesis/StreamlabsPollyTTS.d.ts +12 -0
  207. package/dist/synthesis/StreamlabsPollyTTS.js +88 -0
  208. package/dist/synthesis/StreamlabsPollyTTS.js.map +1 -0
  209. package/dist/synthesis/SvoxPicoTTS.d.ts +11 -0
  210. package/dist/synthesis/SvoxPicoTTS.js +236 -0
  211. package/dist/synthesis/SvoxPicoTTS.js.map +1 -0
  212. package/dist/synthesis/VitsTTS.d.ts +27 -0
  213. package/dist/synthesis/VitsTTS.js +359 -0
  214. package/dist/synthesis/VitsTTS.js.map +1 -0
  215. package/dist/tests/Test.d.ts +1 -0
  216. package/dist/tests/Test.js +10 -0
  217. package/dist/tests/Test.js.map +1 -0
  218. package/dist/text-language-detection/FastTextLanguageDetection.d.ts +2 -0
  219. package/dist/text-language-detection/FastTextLanguageDetection.js +38 -0
  220. package/dist/text-language-detection/FastTextLanguageDetection.js.map +1 -0
  221. package/dist/text-language-detection/TinyLDLanguageDetection.d.ts +2 -0
  222. package/dist/text-language-detection/TinyLDLanguageDetection.js +12 -0
  223. package/dist/text-language-detection/TinyLDLanguageDetection.js.map +1 -0
  224. package/dist/utilities/BinaryArrayConversion.d.ts +15 -0
  225. package/dist/utilities/BinaryArrayConversion.js +115 -0
  226. package/dist/utilities/BinaryArrayConversion.js.map +1 -0
  227. package/dist/utilities/Compression.d.ts +4 -0
  228. package/dist/utilities/Compression.js +67 -0
  229. package/dist/utilities/Compression.js.map +1 -0
  230. package/dist/utilities/FileDownloader.d.ts +3 -0
  231. package/dist/utilities/FileDownloader.js +147 -0
  232. package/dist/utilities/FileDownloader.js.map +1 -0
  233. package/dist/utilities/FileSystem.d.ts +30 -0
  234. package/dist/utilities/FileSystem.js +141 -0
  235. package/dist/utilities/FileSystem.js.map +1 -0
  236. package/dist/utilities/Hashing.d.ts +10 -0
  237. package/dist/utilities/Hashing.js +169 -0
  238. package/dist/utilities/Hashing.js.map +1 -0
  239. package/dist/utilities/Locale.d.ts +9 -0
  240. package/dist/utilities/Locale.js +65 -0
  241. package/dist/utilities/Locale.js.map +1 -0
  242. package/dist/utilities/Logger.d.ts +11 -0
  243. package/dist/utilities/Logger.js +49 -0
  244. package/dist/utilities/Logger.js.map +1 -0
  245. package/dist/utilities/NdArrayUtilities.d.ts +3 -0
  246. package/dist/utilities/NdArrayUtilities.js +22 -0
  247. package/dist/utilities/NdArrayUtilities.js.map +1 -0
  248. package/dist/utilities/ObjectUtilities.d.ts +4 -0
  249. package/dist/utilities/ObjectUtilities.js +132 -0
  250. package/dist/utilities/ObjectUtilities.js.map +1 -0
  251. package/dist/utilities/OpenPromise.d.ts +6 -0
  252. package/dist/utilities/OpenPromise.js +12 -0
  253. package/dist/utilities/OpenPromise.js.map +1 -0
  254. package/dist/utilities/PackageManager.d.ts +4 -0
  255. package/dist/utilities/PackageManager.js +46 -0
  256. package/dist/utilities/PackageManager.js.map +1 -0
  257. package/dist/utilities/RandomGenerator.d.ts +35 -0
  258. package/dist/utilities/RandomGenerator.js +149 -0
  259. package/dist/utilities/RandomGenerator.js.map +1 -0
  260. package/dist/utilities/TarballMaker.d.ts +4 -0
  261. package/dist/utilities/TarballMaker.js +50 -0
  262. package/dist/utilities/TarballMaker.js.map +1 -0
  263. package/dist/utilities/Timeline.d.ts +20 -0
  264. package/dist/utilities/Timeline.js +110 -0
  265. package/dist/utilities/Timeline.js.map +1 -0
  266. package/dist/utilities/Timer.d.ts +13 -0
  267. package/dist/utilities/Timer.js +70 -0
  268. package/dist/utilities/Timer.js.map +1 -0
  269. package/dist/utilities/Utilities.d.ts +68 -0
  270. package/dist/utilities/Utilities.js +305 -0
  271. package/dist/utilities/Utilities.js.map +1 -0
  272. package/dist/utilities/WasmMemoryManager.d.ts +142 -0
  273. package/dist/utilities/WasmMemoryManager.js +407 -0
  274. package/dist/utilities/WasmMemoryManager.js.map +1 -0
  275. package/dist/utilities/WebReader.d.ts +1 -0
  276. package/dist/utilities/WebReader.js +47 -0
  277. package/dist/utilities/WebReader.js.map +1 -0
  278. package/dist/utilities/WikipediaReader.d.ts +1 -0
  279. package/dist/utilities/WikipediaReader.js +31 -0
  280. package/dist/utilities/WikipediaReader.js.map +1 -0
  281. package/dist/voice-activity-detection/SileroVAD.d.ts +13 -0
  282. package/dist/voice-activity-detection/SileroVAD.js +58 -0
  283. package/dist/voice-activity-detection/SileroVAD.js.map +1 -0
  284. package/dist/voice-activity-detection/WebRtcVAD.d.ts +3 -0
  285. package/dist/voice-activity-detection/WebRtcVAD.js +53 -0
  286. package/dist/voice-activity-detection/WebRtcVAD.js.map +1 -0
  287. package/docs/CLI.md +234 -0
  288. package/docs/Development.md +3 -0
  289. package/docs/Engines.md +80 -0
  290. package/docs/Licenses.md +37 -0
  291. package/docs/Options.md +192 -0
  292. package/docs/Roadmap.md +16 -0
  293. package/docs/Technical.md +72 -0
  294. package/package.json +119 -19
  295. package/cli.js +0 -3
@@ -0,0 +1,1057 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/APIOptions",
4
+ "definitions": {
5
+ "APIOptions": {
6
+ "type": "object",
7
+ "properties": {
8
+ "VoiceListRequestOptions": {
9
+ "$ref": "#/definitions/VoiceListRequestOptions"
10
+ },
11
+ "SynthesisOptions": {
12
+ "$ref": "#/definitions/SynthesisOptions"
13
+ },
14
+ "RecognitionOptions": {
15
+ "$ref": "#/definitions/RecognitionOptions"
16
+ },
17
+ "AlignmentOptions": {
18
+ "$ref": "#/definitions/AlignmentOptions"
19
+ },
20
+ "SpeechTranslationOptions": {
21
+ "$ref": "#/definitions/SpeechTranslationOptions"
22
+ },
23
+ "SpeechLanguageDetectionOptions": {
24
+ "$ref": "#/definitions/SpeechLanguageDetectionOptions"
25
+ },
26
+ "TextLanguageDetectionOptions": {
27
+ "$ref": "#/definitions/TextLanguageDetectionOptions"
28
+ },
29
+ "VADOptions": {
30
+ "$ref": "#/definitions/VADOptions"
31
+ },
32
+ "DenoisingOptions": {
33
+ "$ref": "#/definitions/DenoisingOptions"
34
+ }
35
+ },
36
+ "required": [
37
+ "VoiceListRequestOptions",
38
+ "SynthesisOptions",
39
+ "RecognitionOptions",
40
+ "AlignmentOptions",
41
+ "SpeechTranslationOptions",
42
+ "SpeechLanguageDetectionOptions",
43
+ "TextLanguageDetectionOptions",
44
+ "VADOptions",
45
+ "DenoisingOptions"
46
+ ],
47
+ "additionalProperties": false
48
+ },
49
+ "VoiceListRequestOptions": {
50
+ "type": "object",
51
+ "properties": {
52
+ "engine": {
53
+ "$ref": "#/definitions/SynthesisEngine"
54
+ },
55
+ "language": {
56
+ "type": "string"
57
+ },
58
+ "voice": {
59
+ "type": "string"
60
+ },
61
+ "voiceGender": {
62
+ "$ref": "#/definitions/VoiceGender"
63
+ },
64
+ "speed": {
65
+ "type": "number"
66
+ },
67
+ "pitch": {
68
+ "type": "number"
69
+ },
70
+ "pitchVariation": {
71
+ "type": "number"
72
+ },
73
+ "ssml": {
74
+ "type": "boolean"
75
+ },
76
+ "splitToSentences": {
77
+ "type": "boolean"
78
+ },
79
+ "segmentEndPause": {
80
+ "type": "number"
81
+ },
82
+ "sentenceEndPause": {
83
+ "type": "number"
84
+ },
85
+ "alignment": {
86
+ "$ref": "#/definitions/AlignmentOptions"
87
+ },
88
+ "postProcessing": {
89
+ "type": "object",
90
+ "properties": {
91
+ "normalizeAudio": {
92
+ "type": "boolean"
93
+ },
94
+ "targetPeakDb": {
95
+ "type": "number"
96
+ },
97
+ "maxIncreaseDb": {
98
+ "type": "number"
99
+ },
100
+ "speed": {
101
+ "type": "number"
102
+ },
103
+ "pitch": {
104
+ "type": "number"
105
+ },
106
+ "timePitchShiftingMethod": {
107
+ "$ref": "#/definitions/TimePitchShiftingMethod"
108
+ },
109
+ "rubberband": {
110
+ "$ref": "#/definitions/RubberbandOptions"
111
+ }
112
+ },
113
+ "additionalProperties": false
114
+ },
115
+ "vits": {
116
+ "type": "object",
117
+ "properties": {
118
+ "speakerId": {
119
+ "type": "number"
120
+ }
121
+ },
122
+ "additionalProperties": false
123
+ },
124
+ "pico": {
125
+ "type": "object",
126
+ "additionalProperties": false
127
+ },
128
+ "flite": {
129
+ "type": "object",
130
+ "additionalProperties": false
131
+ },
132
+ "espeak": {
133
+ "type": "object",
134
+ "properties": {
135
+ "rate": {
136
+ "type": "number"
137
+ },
138
+ "pitch": {
139
+ "type": "number"
140
+ },
141
+ "pitchRange": {
142
+ "type": "number"
143
+ }
144
+ },
145
+ "additionalProperties": false
146
+ },
147
+ "sam": {
148
+ "type": "object",
149
+ "properties": {
150
+ "pitch": {
151
+ "type": "number"
152
+ },
153
+ "speed": {
154
+ "type": "number"
155
+ },
156
+ "mouth": {
157
+ "type": "number"
158
+ },
159
+ "throat": {
160
+ "type": "number"
161
+ }
162
+ },
163
+ "additionalProperties": false
164
+ },
165
+ "sapi": {
166
+ "type": "object",
167
+ "properties": {
168
+ "rate": {
169
+ "type": "number"
170
+ }
171
+ },
172
+ "additionalProperties": false
173
+ },
174
+ "msspeech": {
175
+ "type": "object",
176
+ "properties": {
177
+ "rate": {
178
+ "type": "number"
179
+ }
180
+ },
181
+ "additionalProperties": false
182
+ },
183
+ "coquiServer": {
184
+ "type": "object",
185
+ "properties": {
186
+ "serverUrl": {
187
+ "type": "string"
188
+ },
189
+ "speakerId": {
190
+ "type": [
191
+ "string",
192
+ "null"
193
+ ]
194
+ }
195
+ },
196
+ "additionalProperties": false
197
+ },
198
+ "googleCloud": {
199
+ "type": "object",
200
+ "properties": {
201
+ "apiKey": {
202
+ "type": "string"
203
+ },
204
+ "pitchDeltaSemitones": {
205
+ "type": "number"
206
+ },
207
+ "customVoice": {
208
+ "type": "object",
209
+ "properties": {
210
+ "model": {
211
+ "type": "string"
212
+ },
213
+ "reportedUsage": {
214
+ "type": "string"
215
+ }
216
+ },
217
+ "additionalProperties": false
218
+ }
219
+ },
220
+ "additionalProperties": false
221
+ },
222
+ "microsoftAzure": {
223
+ "type": "object",
224
+ "properties": {
225
+ "subscriptionKey": {
226
+ "type": "string"
227
+ },
228
+ "serviceRegion": {
229
+ "type": "string"
230
+ },
231
+ "pitchDeltaHz": {
232
+ "type": "number"
233
+ }
234
+ },
235
+ "additionalProperties": false
236
+ },
237
+ "awsPolly": {
238
+ "type": "object",
239
+ "properties": {
240
+ "region": {
241
+ "type": "string"
242
+ },
243
+ "accessKeyId": {
244
+ "type": "string"
245
+ },
246
+ "secretAccessKey": {
247
+ "type": "string"
248
+ },
249
+ "pollyEngine": {
250
+ "type": "string",
251
+ "enum": [
252
+ "standard",
253
+ "neural"
254
+ ]
255
+ },
256
+ "lexiconNames": {
257
+ "type": "array",
258
+ "items": {
259
+ "type": "string"
260
+ }
261
+ }
262
+ },
263
+ "additionalProperties": false
264
+ },
265
+ "elevenlabs": {
266
+ "type": "object",
267
+ "properties": {
268
+ "apiKey": {
269
+ "type": "string"
270
+ },
271
+ "stability": {
272
+ "type": "number"
273
+ },
274
+ "similarityBoost": {
275
+ "type": "number"
276
+ }
277
+ },
278
+ "additionalProperties": false
279
+ },
280
+ "googleTranslate": {
281
+ "type": "object",
282
+ "properties": {
283
+ "tld": {
284
+ "type": "string"
285
+ }
286
+ },
287
+ "additionalProperties": false
288
+ },
289
+ "microsoftEdge": {
290
+ "type": "object",
291
+ "properties": {
292
+ "trustedClientToken": {
293
+ "type": "string"
294
+ },
295
+ "pitchDeltaHz": {
296
+ "type": "number"
297
+ }
298
+ },
299
+ "additionalProperties": false
300
+ },
301
+ "streamlabsPolly": {
302
+ "type": "object",
303
+ "additionalProperties": false
304
+ },
305
+ "cache": {
306
+ "type": "object",
307
+ "properties": {
308
+ "path": {
309
+ "type": "string"
310
+ },
311
+ "duration": {
312
+ "type": "number"
313
+ }
314
+ },
315
+ "additionalProperties": false
316
+ }
317
+ },
318
+ "additionalProperties": false
319
+ },
320
+ "SynthesisEngine": {
321
+ "type": "string",
322
+ "enum": [
323
+ "vits",
324
+ "pico",
325
+ "flite",
326
+ "espeak",
327
+ "sam",
328
+ "sapi",
329
+ "msspeech",
330
+ "coqui-server",
331
+ "google-cloud",
332
+ "microsoft-azure",
333
+ "amazon-polly",
334
+ "elevenlabs",
335
+ "google-translate",
336
+ "microsoft-edge",
337
+ "streamlabs-polly"
338
+ ]
339
+ },
340
+ "VoiceGender": {
341
+ "type": "string",
342
+ "enum": [
343
+ "male",
344
+ "female",
345
+ "unknown"
346
+ ]
347
+ },
348
+ "AlignmentOptions": {
349
+ "type": "object",
350
+ "properties": {
351
+ "engine": {
352
+ "$ref": "#/definitions/AlignmentEngine"
353
+ },
354
+ "language": {
355
+ "type": "string"
356
+ },
357
+ "dtw": {
358
+ "type": "object",
359
+ "properties": {
360
+ "windowDuration": {
361
+ "type": "number"
362
+ },
363
+ "recognition": {
364
+ "$ref": "#/definitions/RecognitionOptions"
365
+ },
366
+ "phoneAlignmentMethod": {
367
+ "$ref": "#/definitions/PhoneAlignmentMethod"
368
+ }
369
+ },
370
+ "additionalProperties": false
371
+ },
372
+ "whisper": {
373
+ "type": "object",
374
+ "properties": {
375
+ "model": {
376
+ "$ref": "#/definitions/WhisperModelName"
377
+ }
378
+ },
379
+ "additionalProperties": false
380
+ }
381
+ },
382
+ "additionalProperties": false
383
+ },
384
+ "AlignmentEngine": {
385
+ "type": "string",
386
+ "enum": [
387
+ "dtw",
388
+ "dtw-ra",
389
+ "whisper"
390
+ ]
391
+ },
392
+ "RecognitionOptions": {
393
+ "type": "object",
394
+ "properties": {
395
+ "engine": {
396
+ "$ref": "#/definitions/RecognitionEngine"
397
+ },
398
+ "language": {
399
+ "type": "string"
400
+ },
401
+ "maxAlternatives": {
402
+ "type": "number"
403
+ },
404
+ "alignment": {
405
+ "$ref": "#/definitions/AlignmentOptions"
406
+ },
407
+ "whisper": {
408
+ "type": "object",
409
+ "properties": {
410
+ "model": {
411
+ "$ref": "#/definitions/WhisperModelName"
412
+ }
413
+ },
414
+ "additionalProperties": false
415
+ },
416
+ "vosk": {
417
+ "type": "object",
418
+ "properties": {
419
+ "modelPath": {
420
+ "type": "string"
421
+ }
422
+ },
423
+ "additionalProperties": false
424
+ },
425
+ "silero": {
426
+ "type": "object",
427
+ "properties": {
428
+ "modelPath": {
429
+ "type": "string"
430
+ }
431
+ },
432
+ "additionalProperties": false
433
+ },
434
+ "googleCloud": {
435
+ "type": "object",
436
+ "properties": {
437
+ "apiKey": {
438
+ "type": "string"
439
+ },
440
+ "alternativeLanguageCodes": {
441
+ "type": "array",
442
+ "items": {
443
+ "type": "string"
444
+ }
445
+ },
446
+ "profanityFilter": {
447
+ "type": "boolean"
448
+ },
449
+ "autoPunctuation": {
450
+ "type": "boolean"
451
+ },
452
+ "useEnhancedModel": {
453
+ "type": "boolean"
454
+ }
455
+ },
456
+ "additionalProperties": false
457
+ },
458
+ "microsoftAzure": {
459
+ "type": "object",
460
+ "properties": {
461
+ "subscriptionKey": {
462
+ "type": "string"
463
+ },
464
+ "serviceRegion": {
465
+ "type": "string"
466
+ }
467
+ },
468
+ "additionalProperties": false
469
+ },
470
+ "amazonTranscribe": {
471
+ "type": "object",
472
+ "properties": {
473
+ "region": {
474
+ "type": "string"
475
+ },
476
+ "accessKeyId": {
477
+ "type": "string"
478
+ },
479
+ "secretAccessKey": {
480
+ "type": "string"
481
+ }
482
+ },
483
+ "additionalProperties": false
484
+ }
485
+ },
486
+ "additionalProperties": false
487
+ },
488
+ "RecognitionEngine": {
489
+ "type": "string",
490
+ "enum": [
491
+ "whisper",
492
+ "vosk",
493
+ "silero",
494
+ "google-cloud",
495
+ "microsoft-azure",
496
+ "amazon-transcribe"
497
+ ]
498
+ },
499
+ "WhisperModelName": {
500
+ "type": "string",
501
+ "enum": [
502
+ "tiny",
503
+ "tiny.en",
504
+ "base",
505
+ "base.en",
506
+ "small",
507
+ "small.en",
508
+ "medium",
509
+ "medium.en",
510
+ "large",
511
+ "large-v1",
512
+ "large-v2"
513
+ ]
514
+ },
515
+ "PhoneAlignmentMethod": {
516
+ "type": "string",
517
+ "enum": [
518
+ "interpolation",
519
+ "dtw"
520
+ ]
521
+ },
522
+ "TimePitchShiftingMethod": {
523
+ "type": "string",
524
+ "enum": [
525
+ "sonic",
526
+ "rubberband"
527
+ ]
528
+ },
529
+ "RubberbandOptions": {
530
+ "type": "object",
531
+ "properties": {
532
+ "stretch": {
533
+ "type": "string",
534
+ "enum": [
535
+ "elastic",
536
+ "precise"
537
+ ]
538
+ },
539
+ "transients": {
540
+ "type": "string",
541
+ "enum": [
542
+ "crisp",
543
+ "mixed",
544
+ "smooth"
545
+ ]
546
+ },
547
+ "detector": {
548
+ "type": "string",
549
+ "enum": [
550
+ "compound",
551
+ "percussive",
552
+ "soft"
553
+ ]
554
+ },
555
+ "phase": {
556
+ "type": "string",
557
+ "enum": [
558
+ "laminar",
559
+ "independent"
560
+ ]
561
+ },
562
+ "window": {
563
+ "type": "string",
564
+ "enum": [
565
+ "standard",
566
+ "long",
567
+ "short"
568
+ ]
569
+ },
570
+ "smoothing": {
571
+ "type": "string",
572
+ "enum": [
573
+ "off",
574
+ "on"
575
+ ]
576
+ },
577
+ "formant": {
578
+ "type": "string",
579
+ "enum": [
580
+ "shited",
581
+ "preserved"
582
+ ]
583
+ },
584
+ "pitch": {
585
+ "type": "string",
586
+ "enum": [
587
+ "high-speed",
588
+ "high-quality",
589
+ "high-consistency"
590
+ ]
591
+ },
592
+ "channels": {
593
+ "type": "string",
594
+ "enum": [
595
+ "apart",
596
+ "together"
597
+ ]
598
+ },
599
+ "engine": {
600
+ "type": "string",
601
+ "enum": [
602
+ "faster",
603
+ "finer"
604
+ ]
605
+ }
606
+ },
607
+ "additionalProperties": false
608
+ },
609
+ "SynthesisOptions": {
610
+ "type": "object",
611
+ "properties": {
612
+ "engine": {
613
+ "$ref": "#/definitions/SynthesisEngine"
614
+ },
615
+ "language": {
616
+ "type": "string"
617
+ },
618
+ "voice": {
619
+ "type": "string"
620
+ },
621
+ "voiceGender": {
622
+ "$ref": "#/definitions/VoiceGender"
623
+ },
624
+ "speed": {
625
+ "type": "number"
626
+ },
627
+ "pitch": {
628
+ "type": "number"
629
+ },
630
+ "pitchVariation": {
631
+ "type": "number"
632
+ },
633
+ "ssml": {
634
+ "type": "boolean"
635
+ },
636
+ "splitToSentences": {
637
+ "type": "boolean"
638
+ },
639
+ "segmentEndPause": {
640
+ "type": "number"
641
+ },
642
+ "sentenceEndPause": {
643
+ "type": "number"
644
+ },
645
+ "alignment": {
646
+ "$ref": "#/definitions/AlignmentOptions"
647
+ },
648
+ "postProcessing": {
649
+ "type": "object",
650
+ "properties": {
651
+ "normalizeAudio": {
652
+ "type": "boolean"
653
+ },
654
+ "targetPeakDb": {
655
+ "type": "number"
656
+ },
657
+ "maxIncreaseDb": {
658
+ "type": "number"
659
+ },
660
+ "speed": {
661
+ "type": "number"
662
+ },
663
+ "pitch": {
664
+ "type": "number"
665
+ },
666
+ "timePitchShiftingMethod": {
667
+ "$ref": "#/definitions/TimePitchShiftingMethod"
668
+ },
669
+ "rubberband": {
670
+ "$ref": "#/definitions/RubberbandOptions"
671
+ }
672
+ },
673
+ "additionalProperties": false
674
+ },
675
+ "vits": {
676
+ "type": "object",
677
+ "properties": {
678
+ "speakerId": {
679
+ "type": "number"
680
+ }
681
+ },
682
+ "additionalProperties": false
683
+ },
684
+ "pico": {
685
+ "type": "object",
686
+ "additionalProperties": false
687
+ },
688
+ "flite": {
689
+ "type": "object",
690
+ "additionalProperties": false
691
+ },
692
+ "espeak": {
693
+ "type": "object",
694
+ "properties": {
695
+ "rate": {
696
+ "type": "number"
697
+ },
698
+ "pitch": {
699
+ "type": "number"
700
+ },
701
+ "pitchRange": {
702
+ "type": "number"
703
+ }
704
+ },
705
+ "additionalProperties": false
706
+ },
707
+ "sam": {
708
+ "type": "object",
709
+ "properties": {
710
+ "pitch": {
711
+ "type": "number"
712
+ },
713
+ "speed": {
714
+ "type": "number"
715
+ },
716
+ "mouth": {
717
+ "type": "number"
718
+ },
719
+ "throat": {
720
+ "type": "number"
721
+ }
722
+ },
723
+ "additionalProperties": false
724
+ },
725
+ "sapi": {
726
+ "type": "object",
727
+ "properties": {
728
+ "rate": {
729
+ "type": "number"
730
+ }
731
+ },
732
+ "additionalProperties": false
733
+ },
734
+ "msspeech": {
735
+ "type": "object",
736
+ "properties": {
737
+ "rate": {
738
+ "type": "number"
739
+ }
740
+ },
741
+ "additionalProperties": false
742
+ },
743
+ "coquiServer": {
744
+ "type": "object",
745
+ "properties": {
746
+ "serverUrl": {
747
+ "type": "string"
748
+ },
749
+ "speakerId": {
750
+ "type": [
751
+ "string",
752
+ "null"
753
+ ]
754
+ }
755
+ },
756
+ "additionalProperties": false
757
+ },
758
+ "googleCloud": {
759
+ "type": "object",
760
+ "properties": {
761
+ "apiKey": {
762
+ "type": "string"
763
+ },
764
+ "pitchDeltaSemitones": {
765
+ "type": "number"
766
+ },
767
+ "customVoice": {
768
+ "type": "object",
769
+ "properties": {
770
+ "model": {
771
+ "type": "string"
772
+ },
773
+ "reportedUsage": {
774
+ "type": "string"
775
+ }
776
+ },
777
+ "additionalProperties": false
778
+ }
779
+ },
780
+ "additionalProperties": false
781
+ },
782
+ "microsoftAzure": {
783
+ "type": "object",
784
+ "properties": {
785
+ "subscriptionKey": {
786
+ "type": "string"
787
+ },
788
+ "serviceRegion": {
789
+ "type": "string"
790
+ },
791
+ "pitchDeltaHz": {
792
+ "type": "number"
793
+ }
794
+ },
795
+ "additionalProperties": false
796
+ },
797
+ "awsPolly": {
798
+ "type": "object",
799
+ "properties": {
800
+ "region": {
801
+ "type": "string"
802
+ },
803
+ "accessKeyId": {
804
+ "type": "string"
805
+ },
806
+ "secretAccessKey": {
807
+ "type": "string"
808
+ },
809
+ "pollyEngine": {
810
+ "type": "string",
811
+ "enum": [
812
+ "standard",
813
+ "neural"
814
+ ]
815
+ },
816
+ "lexiconNames": {
817
+ "type": "array",
818
+ "items": {
819
+ "type": "string"
820
+ }
821
+ }
822
+ },
823
+ "additionalProperties": false
824
+ },
825
+ "elevenlabs": {
826
+ "type": "object",
827
+ "properties": {
828
+ "apiKey": {
829
+ "type": "string"
830
+ },
831
+ "stability": {
832
+ "type": "number"
833
+ },
834
+ "similarityBoost": {
835
+ "type": "number"
836
+ }
837
+ },
838
+ "additionalProperties": false
839
+ },
840
+ "googleTranslate": {
841
+ "type": "object",
842
+ "properties": {
843
+ "tld": {
844
+ "type": "string"
845
+ }
846
+ },
847
+ "additionalProperties": false
848
+ },
849
+ "microsoftEdge": {
850
+ "type": "object",
851
+ "properties": {
852
+ "trustedClientToken": {
853
+ "type": "string"
854
+ },
855
+ "pitchDeltaHz": {
856
+ "type": "number"
857
+ }
858
+ },
859
+ "additionalProperties": false
860
+ },
861
+ "streamlabsPolly": {
862
+ "type": "object",
863
+ "additionalProperties": false
864
+ }
865
+ },
866
+ "additionalProperties": false
867
+ },
868
+ "SpeechTranslationOptions": {
869
+ "type": "object",
870
+ "properties": {
871
+ "engine": {
872
+ "$ref": "#/definitions/SpeechTranslationEngine"
873
+ },
874
+ "sourceLanguage": {
875
+ "type": "string"
876
+ },
877
+ "targetLanguage": {
878
+ "type": "string"
879
+ },
880
+ "whisper": {
881
+ "type": "object",
882
+ "properties": {
883
+ "model": {
884
+ "$ref": "#/definitions/WhisperModelName"
885
+ }
886
+ },
887
+ "additionalProperties": false
888
+ }
889
+ },
890
+ "additionalProperties": false
891
+ },
892
+ "SpeechTranslationEngine": {
893
+ "type": "string",
894
+ "const": "whisper"
895
+ },
896
+ "SpeechLanguageDetectionOptions": {
897
+ "type": "object",
898
+ "properties": {
899
+ "engine": {
900
+ "$ref": "#/definitions/SpeechLanguageDetectionEngine"
901
+ },
902
+ "defaultLanguage": {
903
+ "type": "string"
904
+ },
905
+ "fallbackThresholdProbability": {
906
+ "type": "number"
907
+ },
908
+ "silero": {
909
+ "type": "object",
910
+ "additionalProperties": false
911
+ },
912
+ "whisper": {
913
+ "type": "object",
914
+ "properties": {
915
+ "model": {
916
+ "$ref": "#/definitions/WhisperModelName"
917
+ }
918
+ },
919
+ "required": [
920
+ "model"
921
+ ],
922
+ "additionalProperties": false
923
+ }
924
+ },
925
+ "additionalProperties": false
926
+ },
927
+ "SpeechLanguageDetectionEngine": {
928
+ "type": "string",
929
+ "enum": [
930
+ "silero",
931
+ "whisper"
932
+ ]
933
+ },
934
+ "TextLanguageDetectionOptions": {
935
+ "type": "object",
936
+ "properties": {
937
+ "engine": {
938
+ "$ref": "#/definitions/TextLanguageDetectionEngine"
939
+ },
940
+ "defaultLanguage": {
941
+ "type": "string"
942
+ },
943
+ "fallbackThresholdProbability": {
944
+ "type": "number"
945
+ }
946
+ },
947
+ "additionalProperties": false
948
+ },
949
+ "TextLanguageDetectionEngine": {
950
+ "type": "string",
951
+ "enum": [
952
+ "tinyld",
953
+ "fasttext"
954
+ ]
955
+ },
956
+ "VADOptions": {
957
+ "type": "object",
958
+ "properties": {
959
+ "engine": {
960
+ "$ref": "#/definitions/VADEngine"
961
+ },
962
+ "activityThreshold": {
963
+ "type": "number"
964
+ },
965
+ "webrtc": {
966
+ "type": "object",
967
+ "properties": {
968
+ "frameDuration": {
969
+ "type": "number",
970
+ "enum": [
971
+ 10,
972
+ 20,
973
+ 30
974
+ ]
975
+ },
976
+ "mode": {
977
+ "type": "number",
978
+ "enum": [
979
+ 0,
980
+ 1,
981
+ 2,
982
+ 3
983
+ ]
984
+ }
985
+ },
986
+ "additionalProperties": false
987
+ },
988
+ "silero": {
989
+ "type": "object",
990
+ "properties": {
991
+ "modelPath": {
992
+ "type": "string"
993
+ },
994
+ "frameDuration": {
995
+ "type": "number",
996
+ "enum": [
997
+ 30,
998
+ 60,
999
+ 90
1000
+ ]
1001
+ }
1002
+ },
1003
+ "additionalProperties": false
1004
+ },
1005
+ "rnnoise": {
1006
+ "type": "object",
1007
+ "additionalProperties": false
1008
+ }
1009
+ },
1010
+ "additionalProperties": false
1011
+ },
1012
+ "VADEngine": {
1013
+ "type": "string",
1014
+ "enum": [
1015
+ "webrtc",
1016
+ "silero",
1017
+ "rnnoise"
1018
+ ]
1019
+ },
1020
+ "DenoisingOptions": {
1021
+ "type": "object",
1022
+ "properties": {
1023
+ "method": {
1024
+ "$ref": "#/definitions/DenoisingMethod"
1025
+ },
1026
+ "postProcessing": {
1027
+ "type": "object",
1028
+ "properties": {
1029
+ "normalizeAudio": {
1030
+ "type": "boolean"
1031
+ },
1032
+ "targetPeakDb": {
1033
+ "type": "number"
1034
+ },
1035
+ "maxIncreaseDb": {
1036
+ "type": "number"
1037
+ },
1038
+ "dryMixGainDb": {
1039
+ "type": "number"
1040
+ }
1041
+ },
1042
+ "required": [
1043
+ "normalizeAudio",
1044
+ "targetPeakDb",
1045
+ "maxIncreaseDb"
1046
+ ],
1047
+ "additionalProperties": false
1048
+ }
1049
+ },
1050
+ "additionalProperties": false
1051
+ },
1052
+ "DenoisingMethod": {
1053
+ "type": "string",
1054
+ "const": "rnnoise"
1055
+ }
1056
+ }
1057
+ }