echogarden 0.11.7 → 0.11.9

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 (38) hide show
  1. package/README.md +10 -28
  2. package/data/schemas/options.json +6 -0
  3. package/dist/alignment/SpeechAlignment.d.ts +4 -13
  4. package/dist/alignment/SpeechAlignment.js +6 -20
  5. package/dist/alignment/SpeechAlignment.js.map +1 -1
  6. package/dist/api/Alignment.js +8 -4
  7. package/dist/api/Alignment.js.map +1 -1
  8. package/dist/api/Synthesis.d.ts +1 -0
  9. package/dist/api/Synthesis.js +14 -4
  10. package/dist/api/Synthesis.js.map +1 -1
  11. package/dist/audio/AudioBufferConversion.d.ts +2 -2
  12. package/dist/audio/AudioBufferConversion.js +1 -1
  13. package/dist/audio/AudioBufferConversion.js.map +1 -1
  14. package/dist/audio/AudioPlayer.js +2 -2
  15. package/dist/audio/AudioPlayer.js.map +1 -1
  16. package/dist/audio/AudioUtilities.d.ts +3 -3
  17. package/dist/audio/AudioUtilities.js.map +1 -1
  18. package/dist/codecs/WaveCodec.d.ts +3 -2
  19. package/dist/codecs/WaveCodec.js +1 -1
  20. package/dist/codecs/WaveCodec.js.map +1 -1
  21. package/dist/dsp/BiquadFilter.d.ts +28 -13
  22. package/dist/dsp/BiquadFilter.js +83 -69
  23. package/dist/dsp/BiquadFilter.js.map +1 -1
  24. package/dist/dsp/MelSpectogram.js +1 -1
  25. package/dist/dsp/MelSpectogram.js.map +1 -1
  26. package/dist/synthesis/EspeakTTS.d.ts +12 -3
  27. package/dist/synthesis/EspeakTTS.js +33 -20
  28. package/dist/synthesis/EspeakTTS.js.map +1 -1
  29. package/dist/synthesis/SvoxPicoTTS.js +5 -5
  30. package/dist/synthesis/SvoxPicoTTS.js.map +1 -1
  31. package/dist/synthesis/VitsTTS.js +4 -2
  32. package/dist/synthesis/VitsTTS.js.map +1 -1
  33. package/docs/Development.md +2 -2
  34. package/docs/Options.md +2 -1
  35. package/docs/Server.md +3 -3
  36. package/docs/Tasklist.md +9 -13
  37. package/docs/Technical.md +3 -4
  38. package/package.json +9 -9
package/docs/Technical.md CHANGED
@@ -16,7 +16,7 @@ Packages are downloaded as `.tar.gz` files, and are extracted to `[data-folder]/
16
16
  * `Users/User/Library/Application Support/echogarden` on macOS
17
17
  * `/home/user/.local/share/echogarden` on Linux
18
18
 
19
- By using downloadable packages, the installed size is made significantly smaller and the installation faster. The total size of all available packages is currently about 15.4GB (10.6GB compressed).
19
+ By using downloadable packages, the installed size is made significantly smaller and the installation faster. The total size of all available packages is currently about 16.2GB (11.4GB compressed).
20
20
 
21
21
  The packages are currently hosted and downloaded from a dedicated [Hugging Face repository](https://huggingface.co/echogarden/echogarden-packages).
22
22
 
@@ -28,7 +28,6 @@ Currently, the biggest contributors to the size are:
28
28
 
29
29
  * `onnxruntime-node` (NAPI): 92MB
30
30
  * `kuromoji` (JavaScript) 40MB
31
- * `ffmpeg` (WASM): 24MB
32
31
  * `flite-wasi` (WASI): 20MB
33
32
  * `espeak-ng-emscripten` (WASM): 18MB
34
33
 
@@ -38,7 +37,7 @@ So, yes, in the future it may be possible to reduce the core installed size by d
38
37
 
39
38
  ## Since the code is almost all JavaScript and WASM, why can't it just run in a web browser?
40
39
 
41
- It is technically possible, overall, since its core components: `espeak-ng` and `onnxruntime` both have WASM ports. Actually, `onnxruntime-web`, unlike `onnxruntime-node` can also make use of the GPU via WebGL, and in the future, [it will support WebGPU](https://github.com/microsoft/onnxruntime/issues/11695), which should give a performance boost.
40
+ It is technically possible, overall, since its core components: `espeak-ng` and `onnxruntime` both have WASM ports. Actually, `onnxruntime-web`, unlike `onnxruntime-node` can also make use of the GPU via WebGL and WebGPU, which may give a performance boost for some users.
42
41
 
43
42
  However, it is a lot of work, and only a subset of the engines can be supported (no cloud engines, in particular). There are several reasons why the web may not be the most effective platform for Echogarden:
44
43
 
@@ -52,7 +51,7 @@ However, it is a lot of work, and only a subset of the engines can be supported
52
51
  * Possibly lots of issues with inconsistent browser support and browser security constraints
53
52
  * Not future-proof. Due to changing restrictions of browsers, the runtime environment is not guaranteed be reliably reproducible in the future, meaning that it may need continuous maintenance to ensure it keeps working on the newest browsers
54
53
 
55
- It remains to be seen if this sort of work would feel justified somehow. I designed the tool to make the local installation extremely easy and issue-free. I guess it could look "impressive" to be able to run it in a browser, and may be come as a nice "toy" or "tech-demo", and could get some attention, but it may eventually turn out to be simpler and more practical to just install a local instance and connect to it from the browser via a WebSocket API (which is already working and running, but at a development stage).
54
+ It remains to be seen if this sort of work would feel justified somehow. I designed the tool to make the local installation extremely easy and issue-free. I guess it could look "impressive" to be able to run it in a browser, and may be come as a nice "toy" or "tech-demo", and could get some attention, but it may eventually turn out to be simpler and more practical to just install a local instance and connect to it from the browser via a WebSocket API.
56
55
 
57
56
  A TTS-only browser extension is in development. It registers Echogarden's voices on the browser's Web Speech API using the [`chrome.ttsEngine`](https://developer.chrome.com/docs/extensions/reference/ttsEngine/) extension API and communicates with it using the WebSocket API
58
57
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "echogarden",
3
- "version": "0.11.7",
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.",
3
+ "version": "0.11.9",
4
+ "description": "An integrated speech system, providing a variety of synthesis, recognition, alignment, and other processing tools, designed to be directly accessible to end-users.",
5
5
  "author": "Rotem Dan",
6
6
  "license": "GPL-3.0",
7
7
  "keywords": [
@@ -53,8 +53,8 @@
53
53
  "echogarden": "./dist/cli/CLILauncher.js"
54
54
  },
55
55
  "dependencies": {
56
- "@aws-sdk/client-polly": "^3.395.0",
57
- "@aws-sdk/client-transcribe-streaming": "^3.395.0",
56
+ "@aws-sdk/client-polly": "^3.398.0",
57
+ "@aws-sdk/client-transcribe-streaming": "^3.398.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",
@@ -119,15 +119,15 @@
119
119
  "@types/msgpack-lite": "^0.1.8",
120
120
  "@types/ndarray": "^1.0.11",
121
121
  "@types/ndarray-ops": "^1.2.4",
122
- "@types/node": "^20.5.3",
122
+ "@types/node": "^20.5.7",
123
123
  "@types/recursive-readdir": "^2.2.1",
124
124
  "@types/tar": "^6.1.5",
125
125
  "@types/ws": "^8.5.5",
126
- "@typescript-eslint/eslint-plugin": "^6.4.1",
127
- "@typescript-eslint/parser": "^6.4.1",
126
+ "@typescript-eslint/eslint-plugin": "^6.5.0",
127
+ "@typescript-eslint/parser": "^6.5.0",
128
128
  "@types/graceful-fs": "^4.1.6",
129
- "eslint": "^8.47.0",
129
+ "eslint": "^8.48.0",
130
130
  "ts-json-schema-generator": "^1.3.0",
131
- "typescript": "^5.1.6"
131
+ "typescript": "^5.2.2"
132
132
  }
133
133
  }