termux-tts 1.4.1 → 1.4.2
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/.github/workflows/release.yml +22 -6
- package/CHANGELOG.md +40 -28
- package/LICENSE +17 -17
- package/README.md +438 -114
- package/README.pypi.md +438 -54
- package/bin/cli.js +33 -33
- package/doc.config.yaml +532 -532
- package/docs/benchmarks.md +11 -11
- package/index.js +5 -5
- package/install.sh +53 -53
- package/package.json +57 -32
- package/pyproject.toml +81 -45
- package/setup.py +38 -38
- package/termux_tts/__init__.py +2 -2
- package/termux_tts/control/component.py +398 -398
- package/termux_tts/engine_native.py +104 -104
- package/termux_tts/exceptions.py +28 -28
- package/termux_tts/tokenizer.py +184 -184
|
@@ -2,6 +2,9 @@ name: Release
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
- master
|
|
5
8
|
tags:
|
|
6
9
|
- 'v*'
|
|
7
10
|
workflow_dispatch:
|
|
@@ -20,7 +23,7 @@ jobs:
|
|
|
20
23
|
- name: Check if PyPI project exists
|
|
21
24
|
id: check-py
|
|
22
25
|
run: |
|
|
23
|
-
if [ -f "pyproject.toml" ]; then
|
|
26
|
+
if [ -f "pyproject.toml" ] || [ -f "setup.py" ]; then
|
|
24
27
|
echo "has_python=true" >> $GITHUB_OUTPUT
|
|
25
28
|
else
|
|
26
29
|
echo "has_python=false" >> $GITHUB_OUTPUT
|
|
@@ -72,11 +75,24 @@ jobs:
|
|
|
72
75
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
73
76
|
run: |
|
|
74
77
|
if [ -f "package.json" ]; then
|
|
75
|
-
|
|
76
|
-
|
|
78
|
+
PKG_NAME=$(node -p "require('./package.json').name")
|
|
79
|
+
PKG_VER=$(node -p "require('./package.json').version")
|
|
80
|
+
if [ "$(npm view ${PKG_NAME}@${PKG_VER} version 2>/dev/null)" = "${PKG_VER}" ]; then
|
|
81
|
+
echo "Version ${PKG_VER} of ${PKG_NAME} is already published on NPM. Skipping."
|
|
82
|
+
else
|
|
83
|
+
echo "Publishing ${PKG_NAME}@${PKG_VER} to NPM..."
|
|
84
|
+
npm publish --access public
|
|
85
|
+
fi
|
|
77
86
|
elif [ -f "npm/package.json" ]; then
|
|
78
|
-
|
|
79
|
-
|
|
87
|
+
cd npm
|
|
88
|
+
PKG_NAME=$(node -p "require('./package.json').name")
|
|
89
|
+
PKG_VER=$(node -p "require('./package.json').version")
|
|
90
|
+
if [ "$(npm view ${PKG_NAME}@${PKG_VER} version 2>/dev/null)" = "${PKG_VER}" ]; then
|
|
91
|
+
echo "Version ${PKG_VER} of ${PKG_NAME} is already published on NPM. Skipping."
|
|
92
|
+
else
|
|
93
|
+
echo "Publishing ${PKG_NAME}@${PKG_VER} to NPM..."
|
|
94
|
+
npm publish --access public
|
|
95
|
+
fi
|
|
80
96
|
else
|
|
81
97
|
echo "No package.json found. Skipping NPM publish."
|
|
82
|
-
fi
|
|
98
|
+
fi
|
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [1.4.2] - 2026-09-07
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Complete 12-tier enterprise English documentation overhaul for PyPI and GitHub/NPM.
|
|
9
|
+
- Detailed empirical mobile hardware benchmarks (Snapdragon 8 Elite / Adreno 830, Exynos 1380 / Mali-G68 MP5).
|
|
10
|
+
- Full GPU interconnect architecture documentation with SPIR-V compute shader details.
|
|
11
|
+
- Comprehensive CPU vs. GPU thermal dissipation and latency trade-off analysis.
|
|
12
|
+
- 3-stage 24/7 unattended background execution guide (Termux wake-lock, battery optimization, ADB phantom process killer).
|
|
13
|
+
- Expanded technical SEO metadata keywords (34 keywords).
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
5
17
|
## [1.4.1] - 2026-09-07
|
|
6
18
|
|
|
7
19
|
### Fixed
|
|
@@ -10,27 +22,27 @@ All notable changes to this project will be documented in this file.
|
|
|
10
22
|
|
|
11
23
|
---
|
|
12
24
|
|
|
13
|
-
## [1.4.0] - 2026-09-07
|
|
14
|
-
|
|
15
|
-
### Added
|
|
16
|
-
- Direct integration with `TtsAdapter` from `ameva_runtime.adapters` SSOT.
|
|
17
|
-
- Dual-tier VITS Vulkan neural engine routing with strict Fail-Fast error semantics.
|
|
18
|
-
- English localization for all diagnostics, logs, and exception messages.
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## [1.1.5] - 2026-09-05
|
|
23
|
-
|
|
24
|
-
### Changed
|
|
25
|
-
- Synchronized install.sh hardware diagnostics binding to ameva-runtime.
|
|
26
|
-
- Modernized 12-stage hardware diagnostic bridge and documentation architecture diagrams.
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## [1.1.4] - 2026-09-05
|
|
31
|
-
|
|
32
|
-
### Changed
|
|
33
|
-
- Migrated hardware acceleration dependency to unified `ameva-runtime>=2.0.0` and `@ameva/runtime>=2.0.0`.
|
|
34
|
-
- Synchronized Python and npm package versions to v1.1.4.
|
|
35
|
-
|
|
36
|
-
|
|
25
|
+
## [1.4.0] - 2026-09-07
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
- Direct integration with `TtsAdapter` from `ameva_runtime.adapters` SSOT.
|
|
29
|
+
- Dual-tier VITS Vulkan neural engine routing with strict Fail-Fast error semantics.
|
|
30
|
+
- English localization for all diagnostics, logs, and exception messages.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## [1.1.5] - 2026-09-05
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
- Synchronized install.sh hardware diagnostics binding to ameva-runtime.
|
|
38
|
+
- Modernized 12-stage hardware diagnostic bridge and documentation architecture diagrams.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## [1.1.4] - 2026-09-05
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
- Migrated hardware acceleration dependency to unified `ameva-runtime>=2.0.0` and `@ameva/runtime>=2.0.0`.
|
|
46
|
+
- Synchronized Python and npm package versions to v1.1.4.
|
|
47
|
+
|
|
48
|
+
|
package/LICENSE
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
Copyright 2026 UnoKim & AMEVA Open-Source Foundation
|
|
6
|
-
|
|
7
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
-
you may not use this file except in compliance with the License.
|
|
9
|
-
You may obtain a copy of the License at
|
|
10
|
-
|
|
11
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
-
|
|
13
|
-
Unless required by applicable law or agreed to in writing, software
|
|
14
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
-
See the License for the specific language governing permissions and
|
|
17
|
-
limitations under the License.
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
Copyright 2026 UnoKim & AMEVA Open-Source Foundation
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|