Skip to content

Commit f110c77

Browse files
authored
Release v1.11.0 (#2010)
1 parent 7182499 commit f110c77

File tree

36 files changed

+114
-80
lines changed

36 files changed

+114
-80
lines changed

CHANGELOG.md

Lines changed: 53 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,58 @@
1+
## 1.11.0
2+
3+
* Fix building wheels for Python 3.7 (#1933)
4+
* Add Kotlin and Java API for online punctuation models (#1936)
5+
* Add Kokoro v1.1-zh (#1942)
6+
* Support RKNN for Zipformer CTC models. (#1948)
7+
* Add transducer modified_beam_search for RKNN. (#1949)
8+
* Update README to include projects that is using sherpa-onnx (#1956)
9+
* Limit number of tokens per second for whisper. (#1958)
10+
* Ebranchformer (#1951)
11+
* Test using sherpa-onnx as a cmake subproject (#1961)
12+
* Add C++ demo for VAD+non-streaming ASR (#1964)
13+
* Export gtcrn models to sherpa-onnx (#1975)
14+
* c-api add wave write to buffer. (#1962)
15+
* add SherpaOnnxOfflineRecognizerSetConfig binding for go, and optimize the new/free for C.struct_SherpaOnnxOfflineRecognizerConfig ptr (#1976)
16+
* Add C++ runtime for speech enhancement GTCRN models (#1977)
17+
* Add Python API for speech enhancement GTCRN models (#1978)
18+
* Add C API for speech enhancement GTCRN models (#1984)
19+
* Add CXX API for speech enhancement GTCRN models (#1986)
20+
* Add Swift API for speech enhancement GTCRN models (#1989)
21+
* Add C# API for speech enhancement GTCRN models (#1990)
22+
* Add Go API for speech enhancement GTCRN models (#1991)
23+
* Add Pascal API for speech enhancement GTCRN models (#1992)
24+
* Add Dart API for speech enhancement GTCRN models (#1993)
25+
* Add JavaScript (node-addon) API for speech enhancement GTCRN models (#1996)
26+
* Add WebAssembly (WASM) for speech enhancement GTCRN models (#2002)
27+
* Add JavaScript API (wasm) for speech enhancement GTCRN models (#2007)
28+
* Add Kotlin API for speech enhancement GTCRN models (#2008)
29+
* Add Java API for speech enhancement GTCRN models (#2009)
30+
31+
32+
33+
34+
135
## 1.10.46
236

3-
# Fix kokoro lexicon. (#1886)
4-
# speaker-identification-with-vad-non-streaming-asr.py Lack of support for sense_voice. (#1884)
5-
# Fix generating Chinese lexicon for Kokoro TTS 1.0 (#1888)
6-
# Reduce vad-whisper-c-api example code. (#1891)
7-
# JNI Exception Handling (#1452)
8-
# Fix #1901: UnicodeEncodeError running export_bpe_vocab.py (#1902)
9-
# Fix publishing pre-built windows libraries (#1905)
10-
# Fixing Whisper Model Token Normalization (#1904)
11-
# feat: add mic example for better compatibility (#1909)
12-
# Add onnxruntime 1.18.1 for Linux aarch64 GPU (#1914)
13-
# Add C++ API for streaming zipformer ASR on RK NPU (#1908)
14-
# change [1<<28] to [1<<10], to fix build issues on GOARCH=386 that [1<<28] too large (#1916)
15-
# Flutter Config toJson/fromJson (#1893)
16-
# Fix publishing linux pre-built artifacts (#1919)
17-
# go.mod set to use go 1.17, and use unsafe.Slice to optimize the code (#1920)
18-
# fix: AddPunct panic for Go(#1921)
19-
# Fix publishing macos pre-built artifacts (#1922)
20-
# Minor fixes for rknn (#1925)
21-
# Build wheels for rknn linux aarch64 (#1928)
37+
* Fix kokoro lexicon. (#1886)
38+
* speaker-identification-with-vad-non-streaming-asr.py Lack of support for sense_voice. (#1884)
39+
* Fix generating Chinese lexicon for Kokoro TTS 1.0 (#1888)
40+
* Reduce vad-whisper-c-api example code. (#1891)
41+
* JNI Exception Handling (#1452)
42+
* Fix #1901: UnicodeEncodeError running export_bpe_vocab.py (#1902)
43+
* Fix publishing pre-built windows libraries (#1905)
44+
* Fixing Whisper Model Token Normalization (#1904)
45+
* feat: add mic example for better compatibility (#1909)
46+
* Add onnxruntime 1.18.1 for Linux aarch64 GPU (#1914)
47+
* Add C++ API for streaming zipformer ASR on RK NPU (#1908)
48+
* change [1<<28] to [1<<10], to fix build issues on GOARCH=386 that [1<<28] too large (#1916)
49+
* Flutter Config toJson/fromJson (#1893)
50+
* Fix publishing linux pre-built artifacts (#1919)
51+
* go.mod set to use go 1.17, and use unsafe.Slice to optimize the code (#1920)
52+
* fix: AddPunct panic for Go(#1921)
53+
* Fix publishing macos pre-built artifacts (#1922)
54+
* Minor fixes for rknn (#1925)
55+
* Build wheels for rknn linux aarch64 (#1928)
2256

2357
## 1.10.45
2458

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ project(sherpa-onnx)
1010
# Remember to update
1111
# ./CHANGELOG.md
1212
# ./new-release.sh
13-
set(SHERPA_ONNX_VERSION "1.10.46")
13+
set(SHERPA_ONNX_VERSION "1.11.0")
1414

1515
# Disable warning about
1616
#

android/SherpaOnnxAar/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
git clone https://github.com/k2-fsa/sherpa-onnx
55
cd sherpa-onnx
66
7-
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.46/sherpa-onnx-v1.10.46-android.tar.bz2
8-
tar xvf sherpa-onnx-v1.10.46-android.tar.bz2
7+
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.11.0/sherpa-onnx-v1.11.0-android.tar.bz2
8+
tar xvf sherpa-onnx-v1.11.0-android.tar.bz2
99
1010
cp -v jniLibs/arm64-v8a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/arm64-v8a/
1111
cp -v jniLibs/armeabi-v7a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/armeabi-v7a/
@@ -16,5 +16,5 @@ cd android/SherpaOnnxAar
1616
1717
./gradlew :sherpa_onnx:assembleRelease
1818
ls -lh ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar
19-
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.10.46.aar
19+
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.11.0.aar
2020
```

android/SherpaOnnxJavaDemo/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ dependencies {
3434
implementation 'pub.devrel:easypermissions:3.0.0'
3535
implementation 'androidx.core:core-ktx:1.7.0'
3636
// implementation files('/Users/fangjun/open-source/sherpa-onnx/android/SherpaOnnxAar/sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar')
37-
implementation 'com.github.k2-fsa:sherpa-onnx:v1.10.46'
37+
implementation 'com.github.k2-fsa:sherpa-onnx:v1.11.0'
3838
}

build-ios-shared.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do
242242
<key>CFBundlePackageType</key>
243243
<string>FMWK</string>
244244
<key>CFBundleShortVersionString</key>
245-
<string>1.10.46</string>
245+
<string>1.11.0</string>
246246
<key>CFBundleSupportedPlatforms</key>
247247
<array>
248248
<string>iPhoneOS</string>

dart-api-examples/add-punctuations/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
sdk: ">=3.0.0 <4.0.0"
1010

1111
dependencies:
12-
sherpa_onnx: ^1.10.46
12+
sherpa_onnx: ^1.11.0
1313
path: ^1.9.0
1414
args: ^2.5.0
1515

dart-api-examples/audio-tagging/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
sdk: ">=3.0.0 <4.0.0"
1010

1111
dependencies:
12-
sherpa_onnx: ^1.10.46
12+
sherpa_onnx: ^1.11.0
1313
path: ^1.9.0
1414
args: ^2.5.0
1515

dart-api-examples/keyword-spotter/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
sdk: ">=3.0.0 <4.0.0"
1010

1111
dependencies:
12-
sherpa_onnx: ^1.10.46
12+
sherpa_onnx: ^1.11.0
1313
# sherpa_onnx:
1414
# path: ../../flutter/sherpa_onnx
1515
path: ^1.9.0

dart-api-examples/non-streaming-asr/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010

1111
# Add regular dependencies here.
1212
dependencies:
13-
sherpa_onnx: ^1.10.46
13+
sherpa_onnx: ^1.11.0
1414
path: ^1.9.0
1515
args: ^2.5.0
1616

dart-api-examples/speaker-diarization/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ environment:
88
sdk: ">=3.0.0 <4.0.0"
99

1010
dependencies:
11-
sherpa_onnx: ^1.10.46
11+
sherpa_onnx: ^1.11.0
1212
# sherpa_onnx:
1313
# path: ../../flutter/sherpa_onnx
1414
path: ^1.9.0

dart-api-examples/speaker-identification/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
sdk: ">=3.0.0 <4.0.0"
1010

1111
dependencies:
12-
sherpa_onnx: ^1.10.46
12+
sherpa_onnx: ^1.11.0
1313
path: ^1.9.0
1414
args: ^2.5.0
1515

dart-api-examples/speech-enhancement-gtcrn/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010

1111
# Add regular dependencies here.
1212
dependencies:
13-
sherpa_onnx: ^1.10.46
13+
sherpa_onnx: ^1.11.0
1414
# sherpa_onnx:
1515
# path: ../../flutter/sherpa_onnx
1616
path: ^1.9.0

dart-api-examples/streaming-asr/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ environment:
1111

1212
# Add regular dependencies here.
1313
dependencies:
14-
sherpa_onnx: ^1.10.46
14+
sherpa_onnx: ^1.11.0
1515
path: ^1.9.0
1616
args: ^2.5.0
1717

dart-api-examples/tts/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ environment:
88

99
# Add regular dependencies here.
1010
dependencies:
11-
sherpa_onnx: ^1.10.46
11+
sherpa_onnx: ^1.11.0
1212
path: ^1.9.0
1313
args: ^2.5.0
1414

dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
sdk: ">=3.0.0 <4.0.0"
1111

1212
dependencies:
13-
sherpa_onnx: ^1.10.46
13+
sherpa_onnx: ^1.11.0
1414
path: ^1.9.0
1515
args: ^2.5.0
1616

dart-api-examples/vad/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
sdk: ">=3.0.0 <4.0.0"
1010

1111
dependencies:
12-
sherpa_onnx: ^1.10.46
12+
sherpa_onnx: ^1.11.0
1313
path: ^1.9.0
1414
args: ^2.5.0
1515

flutter-examples/streaming_asr/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: >
55
66
publish_to: 'none'
77

8-
version: 1.10.46
8+
version: 1.11.0
99

1010
topics:
1111
- speech-recognition
@@ -31,7 +31,7 @@ dependencies:
3131
record: ^5.1.0
3232
url_launcher: ^6.2.6
3333

34-
sherpa_onnx: ^1.10.46
34+
sherpa_onnx: ^1.11.0
3535
# sherpa_onnx:
3636
# path: ../../flutter/sherpa_onnx
3737

flutter-examples/tts/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: >
55
66
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
77

8-
version: 1.10.46
8+
version: 1.11.0
99

1010
environment:
1111
sdk: ">=2.17.0 <4.0.0"
@@ -18,7 +18,7 @@ dependencies:
1818
cupertino_icons: ^1.0.6
1919
path_provider: ^2.1.3
2020
path: ^1.9.0
21-
sherpa_onnx: ^1.10.46
21+
sherpa_onnx: ^1.11.0
2222
# sherpa_onnx:
2323
# path: ../../flutter/sherpa_onnx
2424
url_launcher: 6.2.6

flutter/sherpa_onnx/pubspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ topics:
1717
- voice-activity-detection
1818

1919
# remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
20-
version: 1.10.46
20+
version: 1.11.0
2121

2222
homepage: https://github.com/k2-fsa/sherpa-onnx
2323

@@ -30,23 +30,23 @@ dependencies:
3030
flutter:
3131
sdk: flutter
3232

33-
sherpa_onnx_android: ^1.10.46
33+
sherpa_onnx_android: ^1.11.0
3434
# sherpa_onnx_android:
3535
# path: ../sherpa_onnx_android
3636

37-
sherpa_onnx_macos: ^1.10.46
37+
sherpa_onnx_macos: ^1.11.0
3838
# sherpa_onnx_macos:
3939
# path: ../sherpa_onnx_macos
4040

41-
sherpa_onnx_linux: ^1.10.46
41+
sherpa_onnx_linux: ^1.11.0
4242
# sherpa_onnx_linux:
4343
# path: ../sherpa_onnx_linux
4444

45-
sherpa_onnx_windows: ^1.10.46
45+
sherpa_onnx_windows: ^1.11.0
4646
# sherpa_onnx_windows:
4747
# path: ../sherpa_onnx_windows
4848

49-
sherpa_onnx_ios: ^1.10.46
49+
sherpa_onnx_ios: ^1.11.0
5050
# sherpa_onnx_ios:
5151
# path: ../sherpa_onnx_ios
5252

flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c
88
Pod::Spec.new do |s|
99
s.name = 'sherpa_onnx_ios'
10-
s.version = '1.10.46'
10+
s.version = '1.11.0'
1111
s.summary = 'A new Flutter FFI plugin project.'
1212
s.description = <<-DESC
1313
A new Flutter FFI plugin project.

flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'sherpa_onnx_macos'
7-
s.version = '1.10.46'
7+
s.version = '1.11.0'
88
s.summary = 'sherpa-onnx Flutter FFI plugin project.'
99
s.description = <<-DESC
1010
sherpa-onnx Flutter FFI plugin project.

harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Use these variables when you tailor your ArkTS code. They must be of the const type.
33
*/
4-
export const HAR_VERSION = '1.10.44';
4+
export const HAR_VERSION = '1.11.0';
55
export const BUILD_MODE_NAME = 'debug';
66
export const DEBUG = true;
77
export const TARGET_NAME = 'default';

harmony-os/SherpaOnnxHar/sherpa_onnx/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following:
2323

2424
```
2525
"dependencies": {
26-
"sherpa_onnx": "1.10.46",
26+
"sherpa_onnx": "1.11.0",
2727
},
2828
```
2929

harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sherpa_onnx",
3-
"version": "1.10.46",
3+
"version": "1.11.0",
44
"description": "On-device speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without Internet connection",
55
"main": "Index.ets",
66
"author": "The next-gen Kaldi team",

harmony-os/SherpaOnnxSpeakerDiarization/entry/oh-package.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "",
77
"license": "",
88
"dependencies": {
9-
"sherpa_onnx": "1.10.46"
9+
"sherpa_onnx": "1.11.0"
1010
}
1111
}
1212

harmony-os/SherpaOnnxSpeakerIdentification/entry/oh-package.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "",
77
"license": "",
88
"dependencies": {
9-
"sherpa_onnx": "1.10.46",
9+
"sherpa_onnx": "1.11.0",
1010
}
1111
}
1212

harmony-os/SherpaOnnxStreamingAsr/entry/oh-package.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "",
77
"license": "",
88
"dependencies": {
9-
"sherpa_onnx": "1.10.46",
9+
"sherpa_onnx": "1.11.0",
1010
}
1111
}
1212

harmony-os/SherpaOnnxTts/entry/oh-package.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "",
77
"license": "",
88
"dependencies": {
9-
"sherpa_onnx": "1.10.46",
9+
"sherpa_onnx": "1.11.0",
1010
}
1111
}
1212

harmony-os/SherpaOnnxVadAsr/entry/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Introduction
22

3-
Please download ./sherpa_onnx-v1.10.46.har
3+
Please download ./sherpa_onnx-v1.11.0.har
44
from <https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har>
55

66
Hint: For users who have no access to huggingface, please use

harmony-os/SherpaOnnxVadAsr/entry/oh-package.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license": "",
88
"dependencies": {
99
// please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx
10-
"sherpa_onnx": "1.10.46",
10+
"sherpa_onnx": "1.11.0",
1111
}
1212
}
1313

0 commit comments

Comments
 (0)