diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6493a95e4..1a1ce29af 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,23 @@
+## 1.10.33
+
+* Add non-streaming ASR support for HarmonyOS. (#1564)
+* Add streaming ASR support for HarmonyOS. (#1565)
+* Fix building for Android (#1568)
+* Publish `sherpa_onnx.har` for HarmonyOS (#1572)
+* Add VAD+ASR demo for HarmonyOS (#1573)
+* Fix publishing har packages for HarmonyOS (#1576)
+* Add CI to build HAPs for HarmonyOS (#1578)
+* Add microphone demo about VAD+ASR for HarmonyOS (#1581)
+* Fix getting microphone permission for HarmonyOS VAD+ASR example (#1582)
+* Add HarmonyOS support for text-to-speech. (#1584)
+* Fix: support both old and new websockets request headers format (#1588)
+* Add on-device tex-to-speech (TTS) demo for HarmonyOS (#1590)
+
## 1.10.32
* Support cross-compiling for HarmonyOS (#1553)
* HarmonyOS support for VAD. (#1561)
-* Fix publishing flutter iOS app to appstore.
+* Fix publishing flutter iOS app to appstore (#1563).
## 1.10.31
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f5b626b8c..cdbdfbc09 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@ project(sherpa-onnx)
# Remember to update
# ./CHANGELOG.md
# ./new-release.sh
-set(SHERPA_ONNX_VERSION "1.10.32")
+set(SHERPA_ONNX_VERSION "1.10.33")
# Disable warning about
#
diff --git a/build-ios-shared.sh b/build-ios-shared.sh
index 9ac67848e..1dee7d76d 100755
--- a/build-ios-shared.sh
+++ b/build-ios-shared.sh
@@ -242,7 +242,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.10.32
+ 1.10.33
CFBundleSupportedPlatforms
iPhoneOS
diff --git a/dart-api-examples/add-punctuations/pubspec.yaml b/dart-api-examples/add-punctuations/pubspec.yaml
index fef4dd729..ebf064dbb 100644
--- a/dart-api-examples/add-punctuations/pubspec.yaml
+++ b/dart-api-examples/add-punctuations/pubspec.yaml
@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
path: ^1.9.0
args: ^2.5.0
diff --git a/dart-api-examples/audio-tagging/pubspec.yaml b/dart-api-examples/audio-tagging/pubspec.yaml
index fa359d89d..20288d20a 100644
--- a/dart-api-examples/audio-tagging/pubspec.yaml
+++ b/dart-api-examples/audio-tagging/pubspec.yaml
@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
path: ^1.9.0
args: ^2.5.0
diff --git a/dart-api-examples/keyword-spotter/pubspec.yaml b/dart-api-examples/keyword-spotter/pubspec.yaml
index ffa074a23..7951ff1a0 100644
--- a/dart-api-examples/keyword-spotter/pubspec.yaml
+++ b/dart-api-examples/keyword-spotter/pubspec.yaml
@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
diff --git a/dart-api-examples/non-streaming-asr/pubspec.yaml b/dart-api-examples/non-streaming-asr/pubspec.yaml
index 52ee859e6..d747ba126 100644
--- a/dart-api-examples/non-streaming-asr/pubspec.yaml
+++ b/dart-api-examples/non-streaming-asr/pubspec.yaml
@@ -10,7 +10,7 @@ environment:
# Add regular dependencies here.
dependencies:
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
path: ^1.9.0
args: ^2.5.0
diff --git a/dart-api-examples/speaker-diarization/pubspec.yaml b/dart-api-examples/speaker-diarization/pubspec.yaml
index 6706e28d1..05ed44f91 100644
--- a/dart-api-examples/speaker-diarization/pubspec.yaml
+++ b/dart-api-examples/speaker-diarization/pubspec.yaml
@@ -8,7 +8,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
diff --git a/dart-api-examples/speaker-identification/pubspec.yaml b/dart-api-examples/speaker-identification/pubspec.yaml
index 4b47846b8..64b1383df 100644
--- a/dart-api-examples/speaker-identification/pubspec.yaml
+++ b/dart-api-examples/speaker-identification/pubspec.yaml
@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
path: ^1.9.0
args: ^2.5.0
diff --git a/dart-api-examples/streaming-asr/pubspec.yaml b/dart-api-examples/streaming-asr/pubspec.yaml
index cfc9037ab..538641a74 100644
--- a/dart-api-examples/streaming-asr/pubspec.yaml
+++ b/dart-api-examples/streaming-asr/pubspec.yaml
@@ -11,7 +11,7 @@ environment:
# Add regular dependencies here.
dependencies:
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
path: ^1.9.0
args: ^2.5.0
diff --git a/dart-api-examples/tts/pubspec.yaml b/dart-api-examples/tts/pubspec.yaml
index 9cf7049bc..ba4c4de0c 100644
--- a/dart-api-examples/tts/pubspec.yaml
+++ b/dart-api-examples/tts/pubspec.yaml
@@ -8,7 +8,7 @@ environment:
# Add regular dependencies here.
dependencies:
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
path: ^1.9.0
args: ^2.5.0
diff --git a/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml b/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml
index ca0d08cad..014daad04 100644
--- a/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml
+++ b/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml
@@ -10,7 +10,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
path: ^1.9.0
args: ^2.5.0
diff --git a/dart-api-examples/vad/pubspec.yaml b/dart-api-examples/vad/pubspec.yaml
index cd1acfbd2..230e62677 100644
--- a/dart-api-examples/vad/pubspec.yaml
+++ b/dart-api-examples/vad/pubspec.yaml
@@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
path: ^1.9.0
args: ^2.5.0
diff --git a/flutter-examples/streaming_asr/pubspec.yaml b/flutter-examples/streaming_asr/pubspec.yaml
index 680d9d346..da2cd2d10 100644
--- a/flutter-examples/streaming_asr/pubspec.yaml
+++ b/flutter-examples/streaming_asr/pubspec.yaml
@@ -5,7 +5,7 @@ description: >
publish_to: 'none'
-version: 1.10.32
+version: 1.10.33
topics:
- speech-recognition
@@ -31,7 +31,7 @@ dependencies:
record: ^5.1.0
url_launcher: ^6.2.6
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
diff --git a/flutter-examples/tts/pubspec.yaml b/flutter-examples/tts/pubspec.yaml
index f8eca471a..646db8906 100644
--- a/flutter-examples/tts/pubspec.yaml
+++ b/flutter-examples/tts/pubspec.yaml
@@ -5,7 +5,7 @@ description: >
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
-version: 1.10.32
+version: 1.10.33
environment:
sdk: ">=2.17.0 <4.0.0"
@@ -18,7 +18,7 @@ dependencies:
cupertino_icons: ^1.0.6
path_provider: ^2.1.3
path: ^1.9.0
- sherpa_onnx: ^1.10.32
+ sherpa_onnx: ^1.10.33
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
url_launcher: 6.2.6
diff --git a/flutter/sherpa_onnx/pubspec.yaml b/flutter/sherpa_onnx/pubspec.yaml
index f5da2dbb6..8f7057a47 100644
--- a/flutter/sherpa_onnx/pubspec.yaml
+++ b/flutter/sherpa_onnx/pubspec.yaml
@@ -17,7 +17,7 @@ topics:
- voice-activity-detection
# remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
-version: 1.10.32
+version: 1.10.33
homepage: https://github.com/k2-fsa/sherpa-onnx
@@ -30,23 +30,23 @@ dependencies:
flutter:
sdk: flutter
- sherpa_onnx_android: ^1.10.32
+ sherpa_onnx_android: ^1.10.33
# sherpa_onnx_android:
# path: ../sherpa_onnx_android
- sherpa_onnx_macos: ^1.10.32
+ sherpa_onnx_macos: ^1.10.33
# sherpa_onnx_macos:
# path: ../sherpa_onnx_macos
- sherpa_onnx_linux: ^1.10.32
+ sherpa_onnx_linux: ^1.10.33
# sherpa_onnx_linux:
# path: ../sherpa_onnx_linux
- sherpa_onnx_windows: ^1.10.32
+ sherpa_onnx_windows: ^1.10.33
# sherpa_onnx_windows:
# path: ../sherpa_onnx_windows
- sherpa_onnx_ios: ^1.10.32
+ sherpa_onnx_ios: ^1.10.33
# sherpa_onnx_ios:
# path: ../sherpa_onnx_ios
diff --git a/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec b/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec
index e840a2225..2ff5a781c 100644
--- a/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec
+++ b/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec
@@ -7,7 +7,7 @@
# https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c
Pod::Spec.new do |s|
s.name = 'sherpa_onnx_ios'
- s.version = '1.10.32'
+ s.version = '1.10.33'
s.summary = 'A new Flutter FFI plugin project.'
s.description = <<-DESC
A new Flutter FFI plugin project.
diff --git a/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec b/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
index 100966033..a3ec33d16 100644
--- a/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
+++ b/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
@@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'sherpa_onnx_macos'
- s.version = '1.10.32'
+ s.version = '1.10.33'
s.summary = 'sherpa-onnx Flutter FFI plugin project.'
s.description = <<-DESC
sherpa-onnx Flutter FFI plugin project.
diff --git a/harmony-os/SherpaOnnxHar/README.md b/harmony-os/SherpaOnnxHar/README.md
index e775cedee..5896e7acf 100644
--- a/harmony-os/SherpaOnnxHar/README.md
+++ b/harmony-os/SherpaOnnxHar/README.md
@@ -22,9 +22,9 @@ Pre-built `har` packages can be found at
You can also download it using
```
-wget https://ohpm.openharmony.cn/ohpm/sherpa_onnx/-/sherpa_onnx-1.10.32.har
+wget https://ohpm.openharmony.cn/ohpm/sherpa_onnx/-/sherpa_onnx-1.10.33.har
-# Please replace the version 1.10.32 if needed.
+# Please replace the version 1.10.33 if needed.
```
You can also use
diff --git a/harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets b/harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets
index c6564edc7..2558f09c8 100644
--- a/harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets
+++ b/harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets
@@ -1,7 +1,7 @@
/**
* Use these variables when you tailor your ArkTS code. They must be of the const type.
*/
-export const HAR_VERSION = '1.10.32';
+export const HAR_VERSION = '1.10.33';
export const BUILD_MODE_NAME = 'debug';
export const DEBUG = true;
export const TARGET_NAME = 'default';
diff --git a/harmony-os/SherpaOnnxHar/sherpa_onnx/README.md b/harmony-os/SherpaOnnxHar/sherpa_onnx/README.md
index 8f8243981..e94741a01 100644
--- a/harmony-os/SherpaOnnxHar/sherpa_onnx/README.md
+++ b/harmony-os/SherpaOnnxHar/sherpa_onnx/README.md
@@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following:
```
"dependencies": {
- "sherpa_onnx": "1.10.32",
+ "sherpa_onnx": "1.10.33",
},
```
@@ -33,7 +33,8 @@ Note that we recommend always using the latest version.
| Demo | URL | Description|
|------|-----|------------|
-|SherpaOnnxVadAsr|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxVadAsr)|It shows how to use VAD with a non-streaming ASR model for speech recognition|
+|SherpaOnnxVadAsr|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxVadAsr)|It shows how to use VAD with a non-streaming ASR model for on-device speech recognition without accessing the network |
+|SherpaOnnxTts|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxTts)|It shows how to use Next-gen Kaldi for on-device text-to-speech (TTS, i.e., speech synthesis)|
# Documentation
diff --git a/harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5 b/harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5
index 4d622d6e4..7e123d17e 100644
--- a/harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5
+++ b/harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5
@@ -1,6 +1,6 @@
{
"name": "sherpa_onnx",
- "version": "1.10.32",
+ "version": "1.10.33",
"description": "Speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without internet connection",
"main": "Index.ets",
"author": "The next-gen Kaldi team",
diff --git a/harmony-os/SherpaOnnxTts/entry/oh-package.json5 b/harmony-os/SherpaOnnxTts/entry/oh-package.json5
index daff21b30..e57a8e40e 100644
--- a/harmony-os/SherpaOnnxTts/entry/oh-package.json5
+++ b/harmony-os/SherpaOnnxTts/entry/oh-package.json5
@@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
- "sherpa_onnx": "1.10.32",
+ "sherpa_onnx": "1.10.33",
}
}
diff --git a/harmony-os/SherpaOnnxVadAsr/entry/README.md b/harmony-os/SherpaOnnxVadAsr/entry/README.md
index fcdfe710b..4862dd945 100644
--- a/harmony-os/SherpaOnnxVadAsr/entry/README.md
+++ b/harmony-os/SherpaOnnxVadAsr/entry/README.md
@@ -1,6 +1,6 @@
# Introduction
-Please download ./sherpa_onnx-v1.10.32.har
+Please download ./sherpa_onnx-v1.10.33.har
from
Hint: For users who have no access to huggingface, please use
diff --git a/harmony-os/SherpaOnnxVadAsr/entry/oh-package.json5 b/harmony-os/SherpaOnnxVadAsr/entry/oh-package.json5
index 78a4d6b5b..b871adad1 100644
--- a/harmony-os/SherpaOnnxVadAsr/entry/oh-package.json5
+++ b/harmony-os/SherpaOnnxVadAsr/entry/oh-package.json5
@@ -7,7 +7,7 @@
"license": "",
"dependencies": {
// please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx
- "sherpa_onnx": "1.10.32",
+ "sherpa_onnx": "1.10.33",
}
}
diff --git a/new-release.sh b/new-release.sh
index 2fc30371f..052e9ebf3 100755
--- a/new-release.sh
+++ b/new-release.sh
@@ -2,12 +2,12 @@
set -ex
-sed -i.bak 's/1\.10\.31/1\.10\.32/g' ./build-ios-shared.sh
-find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
-find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
-find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
-find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
-find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
+sed -i.bak 's/1\.10\.32/1\.10\.33/g' ./build-ios-shared.sh
+find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
+find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
+find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
+find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
+find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
-find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
-find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
+find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
+find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
diff --git a/nodejs-addon-examples/package.json b/nodejs-addon-examples/package.json
index 47bed5b88..12a5d80ca 100644
--- a/nodejs-addon-examples/package.json
+++ b/nodejs-addon-examples/package.json
@@ -1,5 +1,5 @@
{
"dependencies": {
- "sherpa-onnx-node": "^1.10.32"
+ "sherpa-onnx-node": "^1.10.33"
}
}