termux-tts 1.5.5 → 1.6.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 (2) hide show
  1. package/README.md +36 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -127,6 +127,42 @@ main();
127
127
 
128
128
  ---
129
129
 
130
+ ## Distributed Clustering & Memory Pooling (AMEVA-Cluster)
131
+
132
+ Termux-TTS natively integrates with **AMEVA-Cluster** (`pip install ameva-cluster`) for distributed speech synthesis across interconnected mobile nodes.
133
+
134
+ ### 1. Install Cluster Runtime
135
+ ```bash
136
+ pip install ameva-cluster
137
+ # or Node.js:
138
+ npm install @ameva/cluster
139
+ ```
140
+
141
+ ### 2. Launch Worker Node on Remote Phone
142
+ ```bash
143
+ # On remote worker device (e.g. Galaxy A53):
144
+ ameva-cluster worker --port 50052
145
+ ```
146
+
147
+ ### 3. Distributed Speech Synthesis via Master Node
148
+ ```bash
149
+ # Master CLI offloading neural vocoder synthesis:
150
+ termux-tts synthesize "Clustering active across distributed phone fleet." \
151
+ --rpc 192.0.2.10:50052,192.0.2.11:50052 \
152
+ -o cluster_output.wav
153
+ ```
154
+
155
+ ```python
156
+ import termux_tts as tts
157
+
158
+ # Python SDK Distributed TTS
159
+ with tts.load(cluster_rpc_servers="192.0.2.10:50052,192.0.2.11:50052") as engine:
160
+ result = engine.synthesize("Distributed TTS voice synthesis active.", output="distributed.wav")
161
+ print(f"Elapsed: {result.elapsed_ms:.1f}ms")
162
+ ```
163
+
164
+ ---
165
+
130
166
  ## Official Documentation & Benchmarks
131
167
  - [Official Architecture & API Reference](https://uno-km.vercel.app/lib/tts/)
132
168
  - [Ecosystem Metrics & Registry Stats](https://uno-km.vercel.app/foundation/metrics)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "termux-tts",
3
- "version": "1.5.5",
3
+ "version": "1.6.0",
4
4
  "description": "On-device Text-to-Speech framework utilizing device resources (DSP Formant Vocoder, ONNX Neural Runtime & Android Native Voice)",
5
5
  "main": "index.js",
6
6
  "bin": {