Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## 1.12.5

* Fix typo CMAKE_EXECUTBLE_LINKER_FLAGS -> CMAKE_EXECUTABLE_LINKER_FLAGS (#2344)
* Fix testing dart packages (#2345)
* fix(canary): use dynamo export, single input_ids and avoid 0/1 specialization (#2348)
* Fix TTS for Unreal Engine (#2349)
* Update readme to include https://github.com/mawwalker/stt-server (#2350)
* Add meta data to NeMo canary ONNX models (#2351)
* Update README to include https://github.com/bbeyondllove/asr_server (#2353)
* Add C++ runtime and Python API for NeMo Canary models (#2352)
* Add C/CXX/JavaScript API for NeMo Canary models (#2357)
* Add Java and Kotlin API for NeMo Canary models (#2359)
* Upload fp16 onnx model files for FireRedASR (#2360)
* Fix nemo feature normalization in test code (#2361)
* Refactor exporting NeMo models (#2362)
* Add LODR support to online and offline recognizers (#2026)
* Add CXX examples for NeMo TDT ASR. (#2363)
* Add Pascal/Go/C#/Dart API for NeMo Canary ASR models (#2367)

## 1.12.4

* Refactor release scripts. (#2323)
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ project(sherpa-onnx)
# Remember to update
# ./CHANGELOG.md
# ./new-release.sh
set(SHERPA_ONNX_VERSION "1.12.4")
set(SHERPA_ONNX_VERSION "1.12.5")

# Disable warning about
#
Expand Down
6 changes: 3 additions & 3 deletions android/SherpaOnnxAar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.4/sherpa-onnx-v1.12.4-android.tar.bz2
tar xvf sherpa-onnx-v1.12.4-android.tar.bz2
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.5/sherpa-onnx-v1.12.5-android.tar.bz2
tar xvf sherpa-onnx-v1.12.5-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/
Expand All @@ -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.12.4.aar
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.12.5.aar
```
2 changes: 1 addition & 1 deletion android/SherpaOnnxJavaDemo/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.4'
implementation 'com.github.k2-fsa:sherpa-onnx:v1.12.5'
}
2 changes: 1 addition & 1 deletion build-ios-shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.4</string>
<string>1.12.5</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/add-punctuations/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
path: ^1.9.0
args: ^2.5.0

Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/audio-tagging/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
path: ^1.9.0
args: ^2.5.0

Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/keyword-spotter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/non-streaming-asr/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:

# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
path: ^1.9.0
args: ^2.5.0

Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/speaker-diarization/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/speaker-identification/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
path: ^1.9.0
args: ^2.5.0

Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/speech-enhancement-gtcrn/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:

# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/streaming-asr/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:

# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
path: ^1.9.0
args: ^2.5.0

Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/tts/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:

# Add regular dependencies here.
dependencies:
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
path: ^1.9.0
args: ^2.5.0

Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
path: ^1.9.0
args: ^2.5.0

Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/vad/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
path: ^1.9.0
args: ^2.5.0

Expand Down
4 changes: 2 additions & 2 deletions flutter-examples/streaming_asr/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: >

publish_to: 'none'

version: 1.12.4
version: 1.12.5

topics:
- speech-recognition
Expand All @@ -31,7 +31,7 @@ dependencies:
record: ^5.1.0
url_launcher: ^6.2.6

sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx

Expand Down
4 changes: 2 additions & 2 deletions flutter-examples/tts/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: >

publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.12.4
version: 1.12.5

environment:
sdk: ">=2.17.0 <4.0.0"
Expand All @@ -18,7 +18,7 @@ dependencies:
cupertino_icons: ^1.0.6
path_provider: ^2.1.3
path: ^1.9.0
sherpa_onnx: ^1.12.4
sherpa_onnx: ^1.12.5
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
url_launcher: 6.2.6
Expand Down
12 changes: 6 additions & 6 deletions flutter/sherpa_onnx/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ topics:
- voice-activity-detection

# remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
version: 1.12.4
version: 1.12.5

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

Expand All @@ -30,23 +30,23 @@ dependencies:
flutter:
sdk: flutter

sherpa_onnx_android: ^1.12.4
sherpa_onnx_android: ^1.12.5
# sherpa_onnx_android:
# path: ../sherpa_onnx_android

sherpa_onnx_macos: ^1.12.4
sherpa_onnx_macos: ^1.12.5
# sherpa_onnx_macos:
# path: ../sherpa_onnx_macos

sherpa_onnx_linux: ^1.12.4
sherpa_onnx_linux: ^1.12.5
# sherpa_onnx_linux:
# path: ../sherpa_onnx_linux

sherpa_onnx_windows: ^1.12.4
sherpa_onnx_windows: ^1.12.5
# sherpa_onnx_windows:
# path: ../sherpa_onnx_windows

sherpa_onnx_ios: ^1.12.4
sherpa_onnx_ios: ^1.12.5
# sherpa_onnx_ios:
# path: ../sherpa_onnx_ios

Expand Down
2 changes: 1 addition & 1 deletion flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.4'
s.version = '1.12.5'
s.summary = 'A new Flutter FFI plugin project.'
s.description = <<-DESC
A new Flutter FFI plugin project.
Expand Down
2 changes: 1 addition & 1 deletion flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'sherpa_onnx_macos'
s.version = '1.12.4'
s.version = '1.12.5'
s.summary = 'sherpa-onnx Flutter FFI plugin project.'
s.description = <<-DESC
sherpa-onnx Flutter FFI plugin project.
Expand Down
2 changes: 1 addition & 1 deletion harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets
Original file line number Diff line number Diff line change
@@ -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.12.4';
export const HAR_VERSION = '1.12.5';
export const BUILD_MODE_NAME = 'debug';
export const DEBUG = true;
export const TARGET_NAME = 'default';
Expand Down
2 changes: 1 addition & 1 deletion harmony-os/SherpaOnnxHar/sherpa_onnx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following:

```
"dependencies": {
"sherpa_onnx": "1.12.4",
"sherpa_onnx": "1.12.5",
},
```

Expand Down
2 changes: 1 addition & 1 deletion harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sherpa_onnx",
"version": "1.12.4",
"version": "1.12.5",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.12.4"
"sherpa_onnx": "1.12.5"
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.12.4",
"sherpa_onnx": "1.12.5",
}
}

2 changes: 1 addition & 1 deletion harmony-os/SherpaOnnxStreamingAsr/entry/oh-package.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.12.4",
"sherpa_onnx": "1.12.5",
}
}

2 changes: 1 addition & 1 deletion harmony-os/SherpaOnnxTts/entry/oh-package.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"sherpa_onnx": "1.12.4",
"sherpa_onnx": "1.12.5",
}
}

2 changes: 1 addition & 1 deletion harmony-os/SherpaOnnxVadAsr/entry/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Introduction

Please download ./sherpa_onnx-v1.12.4.har
Please download ./sherpa_onnx-v1.12.5.har
from <https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har>

Hint: For users who have no access to huggingface, please use
Expand Down
2 changes: 1 addition & 1 deletion harmony-os/SherpaOnnxVadAsr/entry/oh-package.json5
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "",
"dependencies": {
// please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx
"sherpa_onnx": "1.12.4",
"sherpa_onnx": "1.12.5",
}
}

6 changes: 3 additions & 3 deletions jitpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ jdk:
- openjdk17

before_install:
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.4/sherpa-onnx-1.12.4.aar
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.5/sherpa-onnx-1.12.5.aar

install:
- FILE="-Dfile=sherpa-onnx-1.12.4.aar"
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.12.4 -Dpackaging=aar -DgeneratePom=true
- FILE="-Dfile=sherpa-onnx-1.12.5.aar"
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.12.5 -Dpackaging=aar -DgeneratePom=true
6 changes: 3 additions & 3 deletions mfc-examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ for speech recognition.

|Directory| Pre-built exe (x64)|Pre-built exe (x86)| Description|
|---------|--------------------|-------------------|------------|
|[./NonStreamingSpeechRecognition](./NonStreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.4/sherpa-onnx-non-streaming-asr-x64-v1.12.4.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.4/sherpa-onnx-non-streaming-asr-x86-v1.12.4.exe)| Non-streaming speech recognition|
|[./StreamingSpeechRecognition](./StreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.4/sherpa-onnx-streaming-asr-x64-v1.12.4.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.4/sherpa-onnx-streaming-asr-x86-v1.12.4.exe)| Streaming speech recognition|
|[./NonStreamingTextToSpeech](./NonStreamingTextToSpeech)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.4/sherpa-onnx-non-streaming-tts-x64-v1.12.4.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.4/sherpa-onnx-non-streaming-tts-x86-v1.12.4.exe)| Non-streaming text to speech|
|[./NonStreamingSpeechRecognition](./NonStreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.5/sherpa-onnx-non-streaming-asr-x64-v1.12.5.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.5/sherpa-onnx-non-streaming-asr-x86-v1.12.5.exe)| Non-streaming speech recognition|
|[./StreamingSpeechRecognition](./StreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.5/sherpa-onnx-streaming-asr-x64-v1.12.5.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.5/sherpa-onnx-streaming-asr-x86-v1.12.5.exe)| Streaming speech recognition|
|[./NonStreamingTextToSpeech](./NonStreamingTextToSpeech)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.5/sherpa-onnx-non-streaming-tts-x64-v1.12.5.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.5/sherpa-onnx-non-streaming-tts-x86-v1.12.5.exe)| Non-streaming text to speech|

Caution: You need to use Windows and install Visual Studio 2022 in order to
compile it.
Expand Down
4 changes: 2 additions & 2 deletions new-release.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash

set -ex
old_version="1\.12\.3"
new_version="1\.12\.4"
old_version="1\.12\.4"
new_version="1\.12\.5"
replace_str="s/$old_version/$new_version/g"

sed -i.bak "$replace_str" ./sherpa-onnx/csrc/version.cc
Expand Down
2 changes: 1 addition & 1 deletion nodejs-addon-examples/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dependencies": {
"sherpa-onnx-node": "^1.12.4"
"sherpa-onnx-node": "^1.12.5"
}
}
2 changes: 1 addition & 1 deletion nodejs-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"dependencies": {
"mic": "^2.1.2",
"naudiodon2": "^2.4.0",
"sherpa-onnx": "^1.12.4",
"sherpa-onnx": "^1.12.5",
"wav": "^1.0.2"
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.k2fsa.sherpa.onnx</groupId>
<artifactId>sherpa-onnx-android</artifactId>
<version>1.12.4</version>
<version>1.12.5</version>
<url>https://github.com/k2-fsa/sherpa-onnx</url>
<packaging>pom</packaging>
<description>First Android Library</description>
Expand Down
Loading
Loading