echogarden 0.9.3 → 0.10.1
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 +3 -7
- package/data/schemas/options.json +57 -26
- package/dist/api/API.d.ts +2 -0
- package/dist/api/API.js +2 -0
- package/dist/api/API.js.map +1 -1
- package/dist/api/Alignment.d.ts +4 -4
- package/dist/api/Alignment.js +31 -31
- package/dist/api/Alignment.js.map +1 -1
- package/dist/api/Denoising.d.ts +9 -3
- package/dist/api/Denoising.js +9 -9
- package/dist/api/Denoising.js.map +1 -1
- package/dist/api/LanguageDetection.d.ts +13 -17
- package/dist/api/LanguageDetection.js +13 -17
- package/dist/api/LanguageDetection.js.map +1 -1
- package/dist/api/Recognition.d.ts +4 -4
- package/dist/api/Recognition.js +10 -12
- package/dist/api/Recognition.js.map +1 -1
- package/dist/api/Synthesis.d.ts +10 -6
- package/dist/api/Synthesis.js +61 -25
- package/dist/api/Synthesis.js.map +1 -1
- package/dist/api/Translation.d.ts +4 -4
- package/dist/api/Translation.js +11 -12
- package/dist/api/Translation.js.map +1 -1
- package/dist/api/Vad.d.ts +5 -8
- package/dist/api/Vad.js +12 -14
- package/dist/api/Vad.js.map +1 -1
- package/dist/audio/AudioPlayer.d.ts +1 -1
- package/dist/audio/AudioPlayer.js +12 -14
- package/dist/audio/AudioPlayer.js.map +1 -1
- package/dist/audio/AudioUtilities.d.ts +2 -0
- package/dist/audio/AudioUtilities.js +28 -0
- package/dist/audio/AudioUtilities.js.map +1 -1
- package/dist/audio/SoxPath.js +4 -0
- package/dist/audio/SoxPath.js.map +1 -1
- package/dist/cli/CLI.js +88 -124
- package/dist/cli/CLI.js.map +1 -1
- package/dist/codecs/FFMpegTranscoder.d.ts +1 -0
- package/dist/codecs/FFMpegTranscoder.js +48 -2
- package/dist/codecs/FFMpegTranscoder.js.map +1 -1
- package/dist/denoising/RNNoise.js.map +1 -1
- package/dist/dsp/MFCC.js.map +1 -1
- package/dist/recognition/WhisperSTT.js +2 -2
- package/dist/recognition/WhisperSTT.js.map +1 -1
- package/dist/server/Client.d.ts +10 -8
- package/dist/server/Client.js +56 -59
- package/dist/server/Client.js.map +1 -1
- package/dist/server/Server.d.ts +1 -1
- package/dist/server/Server.js +24 -13
- package/dist/server/Server.js.map +1 -1
- package/dist/server/ServerStarter.js +2 -2
- package/dist/server/ServerStarter.js.map +1 -1
- package/dist/server/Worker.d.ts +28 -11
- package/dist/server/Worker.js +45 -12
- package/dist/server/Worker.js.map +1 -1
- package/dist/speech-language-detection/SileroLanguageDetection.js +2 -2
- package/dist/speech-language-detection/SileroLanguageDetection.js.map +1 -1
- package/dist/synthesis/GoogleTranslateTTS.js.map +1 -1
- package/dist/synthesis/MicrosoftEdgeTTS.js +1 -1
- package/dist/synthesis/MicrosoftEdgeTTS.js.map +1 -1
- package/dist/synthesis/VitsTTS.js.map +1 -1
- package/dist/utilities/Logger.d.ts +2 -2
- package/dist/utilities/Logger.js +7 -9
- package/dist/utilities/Logger.js.map +1 -1
- package/dist/utilities/ObjectUtilities.js +4 -1
- package/dist/utilities/ObjectUtilities.js.map +1 -1
- package/dist/utilities/PackageManager.js +3 -1
- package/dist/utilities/PackageManager.js.map +1 -1
- package/dist/utilities/Timeline.js.map +1 -1
- package/docs/API.md +215 -0
- package/docs/Options.md +30 -23
- package/docs/Server.md +158 -0
- package/docs/Tasklist.md +4 -8
- package/package.json +7 -7
package/docs/Tasklist.md
CHANGED
|
@@ -42,9 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
### Worker
|
|
44
44
|
* Add cancelation checks in more operations
|
|
45
|
-
* Optionally omit unnecessary data from the response (decoded input, segment data, etc.)
|
|
46
45
|
* Support more operations
|
|
47
|
-
* Support compressed audio in response
|
|
48
46
|
|
|
49
47
|
### CLI
|
|
50
48
|
* Show names of files written do disk. This is useful for cases where a file is auto-renamed to allow overwrite.
|
|
@@ -53,7 +51,6 @@
|
|
|
53
51
|
* Consider what to do with non-supported templates like `[hello]`
|
|
54
52
|
* Show a message when a new version is available
|
|
55
53
|
* Figure out which terminal outputs should go to stdout, or if that's a good idea at all
|
|
56
|
-
* Option to set audio output codec options
|
|
57
54
|
* Option to set audio output device for playback
|
|
58
55
|
* Print available synthesis voices when no voice matches (or suggest near matches)
|
|
59
56
|
* `transcribe` may also accept `http://` and `https://` URLs and pull the remote media file
|
|
@@ -83,9 +80,9 @@
|
|
|
83
80
|
|
|
84
81
|
### CLI / New commands
|
|
85
82
|
* `speak-youtube`: To speak the subtitles of a YouTube video
|
|
86
|
-
* `play-with-
|
|
83
|
+
* `play-with-subtitles`: Preview subtitles in terminal
|
|
87
84
|
* `play-with-timeline`: Preview timeline in terminal
|
|
88
|
-
* `
|
|
85
|
+
* `subtitles-to-text`, `subtitles-to-timeline`, `srt-to-vtt`, `vtt-to-srt`
|
|
89
86
|
* `crop-to-timeline`, `split-by-timeline`
|
|
90
87
|
* `text-to-ipa`, `arpabet-to-ipa`, `ipa-to-arpabet`
|
|
91
88
|
* `phonemize-text`
|
|
@@ -110,7 +107,6 @@
|
|
|
110
107
|
### Segmentation
|
|
111
108
|
* Split long words
|
|
112
109
|
* See if it's possible to reliably use eSpeak as a segmentation engine
|
|
113
|
-
* Path to `kuromoji` dictionaries can be found more reliably than current
|
|
114
110
|
|
|
115
111
|
### Subtitles
|
|
116
112
|
* If a subtitle is too short and at the end of the audio, try to extend it back if possible (for example, if the previous subtitle is already extended, take back from it)
|
|
@@ -139,10 +135,10 @@
|
|
|
139
135
|
|
|
140
136
|
### Synthesis / preprocessing
|
|
141
137
|
* Extend the heteronyms JSON document with additional words like "conducts", "survey", "protest", "transport", "abuse", "combat", "combats", "affect", "contest", "detail", "marked", "contrast", "construct", "constructs", "console", "recall", "permit", "permits", "prospect", "prospects", "proceed", "proceeds", "invite", "reject", "deserts", "transcript", "transcripts", "compact", "impact", "impacts"
|
|
142
|
-
* Full date normalization (e.g. `21 August 2023`, `21 Aug 2023`)
|
|
138
|
+
* Full date normalization (e.g. `21 August 2023`, `21 Aug 2023`, `August 21, 2023`)
|
|
143
139
|
* Add support for capitalized-only rules, and possibly also all uppercase / all lowercase rules.
|
|
144
|
-
* Support normalizing to graphemes, not only phonemes
|
|
145
140
|
* Add support for multiple words in `precededBy` and `succeededBy`
|
|
141
|
+
* Support substituting to graphemes in lexicons, not only phonemes
|
|
146
142
|
* Cache lexicons to avoid parsing the JSON each time it is loaded (this may not be needed for if the file is relatively small)
|
|
147
143
|
* Is it possible to pre-phonemize common words like "the" or is it a bad idea / not necessary?
|
|
148
144
|
* Add support for text preprocessing for all engines that can benefit from it (possibly including cloud engines).
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "echogarden",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "An integrated speech system, providing a set of synthesis, recognition, alignment, and other processing tools, designed to be directly accessible to end-users.",
|
|
5
5
|
"author": "Rotem Dan",
|
|
6
|
-
"license": "GPL-3.0
|
|
6
|
+
"license": "GPL-3.0",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"speech",
|
|
9
9
|
"text-to-speech",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"echogarden": "./dist/cli/CLILauncher.js"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@aws-sdk/client-polly": "^3.
|
|
57
|
-
"@aws-sdk/client-transcribe-streaming": "^3.
|
|
56
|
+
"@aws-sdk/client-polly": "^3.382.0",
|
|
57
|
+
"@aws-sdk/client-transcribe-streaming": "^3.382.0",
|
|
58
58
|
"@echogarden/espeak-ng-emscripten": "^0.1.2",
|
|
59
59
|
"@echogarden/fasttext-wasm": "^0.1.0",
|
|
60
60
|
"@echogarden/flite-wasi": "^0.1.1",
|
|
@@ -66,7 +66,6 @@
|
|
|
66
66
|
"@echogarden/speex-resampler-wasm": "^0.1.1",
|
|
67
67
|
"@echogarden/svoxpico-wasm": "^0.1.0",
|
|
68
68
|
"@mozilla/readability": "^0.4.4",
|
|
69
|
-
"@types/graceful-fs": "^4.1.6",
|
|
70
69
|
"alawmulaw": "^6.0.0",
|
|
71
70
|
"buffer-split": "^1.0.0",
|
|
72
71
|
"chalk": "^5.3.0",
|
|
@@ -124,8 +123,9 @@
|
|
|
124
123
|
"@types/recursive-readdir": "^2.2.1",
|
|
125
124
|
"@types/tar": "^6.1.5",
|
|
126
125
|
"@types/ws": "^8.5.5",
|
|
127
|
-
"@typescript-eslint/eslint-plugin": "^6.2.
|
|
128
|
-
"@typescript-eslint/parser": "^6.2.
|
|
126
|
+
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
|
127
|
+
"@typescript-eslint/parser": "^6.2.1",
|
|
128
|
+
"@types/graceful-fs": "^4.1.6",
|
|
129
129
|
"eslint": "^8.46.0",
|
|
130
130
|
"ts-json-schema-generator": "^1.2.0",
|
|
131
131
|
"typescript": "^5.1.6"
|