Fangjun Kuang
Committed by GitHub

Release v1.10.42 (#1814)

## 1.10.42
* Fix publishing wheels (#1746)
* Update README to include https://github.com/xinhecuican/QSmartAssistant (#1755)
* Add Kokoro TTS to MFC examples (#1760)
* Refactor node-addon C++ code. (#1768)
* Add keyword spotter C API for HarmonyOS (#1769)
* Add ArkTS API for Keyword spotting. (#1775)
* Add Flutter example for Kokoro TTS (#1776)
* Initialize the audio session for iOS ASR example (#1786)
* Fix: Prepend 0 to tokenization to prevent word skipping for Kokoro. (#1787)
* Export Kokoro 1.0 to sherpa-onnx (#1788)
* Add C++ and Python API for Kokoro 1.0 multilingual TTS model (#1795)
* Add Java and Koltin API for Kokoro TTS 1.0 (#1798)
* Add Android demo for Kokoro TTS 1.0 (#1799)
* Add C API for Kokoro TTS 1.0 (#1801)
* Add CXX API for Kokoro TTS 1.0 (#1802)
* Add Swift API for Kokoro TTS 1.0 (#1803)
* Add Go API for Kokoro TTS 1.0 (#1804)
* Add C# API for Kokoro TTS 1.0 (#1805)
* Add Dart API for Kokoro TTS 1.0 (#1806)
* Add Pascal API for Kokoro TTS 1.0 (#1807)
* Add JavaScript API (node-addon) for Kokoro TTS 1.0 (#1808)
* Add JavaScript API (WebAssembly) for Kokoro TTS 1.0 (#1809)
* Add Flutter example for Kokoro TTS 1.0 (#1810)
* Add iOS demo for Kokoro TTS 1.0 (#1812)
* Add HarmonyOS demo for Kokoro TTS 1.0 (#1813)
## 1.10.41
* Fix UI for Android TTS Engine. (#1735)
... ...
... ... @@ -10,7 +10,7 @@ project(sherpa-onnx)
# Remember to update
# ./CHANGELOG.md
# ./new-release.sh
set(SHERPA_ONNX_VERSION "1.10.41")
set(SHERPA_ONNX_VERSION "1.10.42")
# Disable warning about
#
... ...
... ... @@ -4,8 +4,8 @@
git clone https://github.com/k2-fsa/sherpa-onnx
cd sherpa-onnx
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.41/sherpa-onnx-v1.10.41-android.tar.bz2
tar xvf sherpa-onnx-v1.10.41-android.tar.bz2
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.42/sherpa-onnx-v1.10.42-android.tar.bz2
tar xvf sherpa-onnx-v1.10.42-android.tar.bz2
cp -v jniLibs/arm64-v8a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/arm64-v8a/
cp -v jniLibs/armeabi-v7a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/armeabi-v7a/
... ... @@ -16,5 +16,5 @@ cd android/SherpaOnnxAar
./gradlew :sherpa_onnx:assembleRelease
ls -lh ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.10.41.aar
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.10.42.aar
```
... ...
... ... @@ -34,5 +34,5 @@ dependencies {
implementation 'pub.devrel:easypermissions:3.0.0'
implementation 'androidx.core:core-ktx:1.7.0'
// implementation files('/Users/fangjun/open-source/sherpa-onnx/android/SherpaOnnxAar/sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar')
implementation 'com.github.k2-fsa:sherpa-onnx:v1.10.41'
implementation 'com.github.k2-fsa:sherpa-onnx:v1.10.42'
}
... ...
... ... @@ -242,7 +242,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.10.41</string>
<string>1.10.42</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
... ...
... ... @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.41
sherpa_onnx: ^1.10.42
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.41
sherpa_onnx: ^1.10.42
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.41
sherpa_onnx: ^1.10.42
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
... ...
... ... @@ -10,7 +10,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.10.41
sherpa_onnx: ^1.10.42
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -8,7 +8,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.41
sherpa_onnx: ^1.10.42
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
... ...
... ... @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.41
sherpa_onnx: ^1.10.42
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -11,7 +11,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.10.41
sherpa_onnx: ^1.10.42
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -8,7 +8,7 @@ environment:
# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.10.41
sherpa_onnx: ^1.10.42
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -10,7 +10,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.41
sherpa_onnx: ^1.10.42
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
sherpa_onnx: ^1.10.41
sherpa_onnx: ^1.10.42
path: ^1.9.0
args: ^2.5.0
... ...
... ... @@ -5,7 +5,7 @@ description: >
publish_to: 'none'
version: 1.10.41
version: 1.10.42
topics:
- speech-recognition
... ... @@ -31,7 +31,7 @@ dependencies:
record: ^5.1.0
url_launcher: ^6.2.6
sherpa_onnx: ^1.10.41
sherpa_onnx: ^1.10.42
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
... ...
... ... @@ -5,7 +5,7 @@ description: >
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.10.41
version: 1.10.42
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.41
sherpa_onnx: ^1.10.42
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
url_launcher: 6.2.6
... ...
... ... @@ -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.41
version: 1.10.42
homepage: https://github.com/k2-fsa/sherpa-onnx
... ... @@ -30,23 +30,23 @@ dependencies:
flutter:
sdk: flutter
sherpa_onnx_android: ^1.10.41
sherpa_onnx_android: ^1.10.42
# sherpa_onnx_android:
# path: ../sherpa_onnx_android
sherpa_onnx_macos: ^1.10.41
sherpa_onnx_macos: ^1.10.42
# sherpa_onnx_macos:
# path: ../sherpa_onnx_macos
sherpa_onnx_linux: ^1.10.41
sherpa_onnx_linux: ^1.10.42
# sherpa_onnx_linux:
# path: ../sherpa_onnx_linux
sherpa_onnx_windows: ^1.10.41
sherpa_onnx_windows: ^1.10.42
# sherpa_onnx_windows:
# path: ../sherpa_onnx_windows
sherpa_onnx_ios: ^1.10.41
sherpa_onnx_ios: ^1.10.42
# sherpa_onnx_ios:
# path: ../sherpa_onnx_ios
... ...
... ... @@ -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.41'
s.version = '1.10.42'
s.summary = 'A new Flutter FFI plugin project.'
s.description = <<-DESC
A new Flutter FFI plugin project.
... ...
... ... @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'sherpa_onnx_macos'
s.version = '1.10.41'
s.version = '1.10.42'
s.summary = 'sherpa-onnx Flutter FFI plugin project.'
s.description = <<-DESC
sherpa-onnx Flutter FFI plugin project.
... ...
... ... @@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following:
```
"dependencies": {
"sherpa_onnx": "1.10.41",
"sherpa_onnx": "1.10.42",
},
```
... ...
{
"name": "sherpa_onnx",
"version": "1.10.41",
"version": "1.10.42",
"description": "On-device 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",
... ...
... ... @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.10.41"
"sherpa_onnx": "1.10.42"
}
}
... ...
... ... @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.10.41",
"sherpa_onnx": "1.10.42",
}
}
... ...
... ... @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.10.41",
"sherpa_onnx": "1.10.42",
}
}
... ...
... ... @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.10.41",
"sherpa_onnx": "1.10.42",
}
}
... ...
# Introduction
Please download ./sherpa_onnx-v1.10.41.har
Please download ./sherpa_onnx-v1.10.42.har
from <https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har>
Hint: For users who have no access to huggingface, please use
... ...
... ... @@ -7,7 +7,7 @@
"license": "",
"dependencies": {
// please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx
"sherpa_onnx": "1.10.41",
"sherpa_onnx": "1.10.42",
}
}
... ...
... ... @@ -2,8 +2,8 @@ jdk:
- openjdk17
before_install:
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.41/sherpa-onnx-1.10.41.aar
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.42/sherpa-onnx-1.10.42.aar
install:
- FILE="-Dfile=sherpa-onnx-1.10.41.aar"
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.10.41 -Dpackaging=aar -DgeneratePom=true
- FILE="-Dfile=sherpa-onnx-1.10.42.aar"
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.10.42 -Dpackaging=aar -DgeneratePom=true
... ...
... ... @@ -2,20 +2,20 @@
set -ex
sed -i.bak 's/1\.10\.40/1\.10\.41/g' ./build-ios-shared.sh
sed -i.bak 's/1\.10\.40/1\.10\.41/g' ./pom.xml
sed -i.bak 's/1\.10\.40/1\.10\.41/g' ./jitpack.yml
sed -i.bak 's/1\.10\.40/1\.10\.41/g' ./android/SherpaOnnxAar/README.md
sed -i.bak 's/1\.10\.41/1\.10\.42/g' ./build-ios-shared.sh
sed -i.bak 's/1\.10\.41/1\.10\.42/g' ./pom.xml
sed -i.bak 's/1\.10\.41/1\.10\.42/g' ./jitpack.yml
sed -i.bak 's/1\.10\.41/1\.10\.42/g' ./android/SherpaOnnxAar/README.md
find android -name build.gradle -type f -exec sed -i.bak 's/sherpa-onnx:v1\.10\.40/sherpa-onnx:v1\.10\.41/g' {} \;
find android -name build.gradle -type f -exec sed -i.bak 's/sherpa-onnx:v1\.10\.41/sherpa-onnx:v1\.10\.42/g' {} \;
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.40/1\.10\.41/g' {} \;
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.40/1\.10\.41/g' {} \;
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.40/1\.10\.41/g' {} \;
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.40/1\.10\.41/g' {} \;
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.40/1\.10\.41/g' {} \;
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.41/1\.10\.42/g' {} \;
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.41/1\.10\.42/g' {} \;
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.41/1\.10\.42/g' {} \;
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.41/1\.10\.42/g' {} \;
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.41/1\.10\.42/g' {} \;
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.40/1\.10\.41/g' {} \;
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.40/1\.10\.41/g' {} \;
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.41/1\.10\.42/g' {} \;
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.41/1\.10\.42/g' {} \;
find . -name "*.bak" -exec rm {} \;
... ...
{
"dependencies": {
"sherpa-onnx-node": "^1.10.41"
"sherpa-onnx-node": "^1.10.42"
}
}
... ...
... ... @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.k2fsa.sherpa.onnx</groupId>
<artifactId>sherpa-onnx-android</artifactId>
<version>1.10.41</version>
<version>1.10.42</version>
<url>https://github.com/k2-fsa/sherpa-onnx</url>
<packaging>pom</packaging>
<description>First Android Library</description>
... ...