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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 1.12.36

* Dotnet Android arm64 targeting (#3485)
* Use file path to initialize onnxruntime session. (#3482)
* update onnxruntime package name and hash for riscv64-spacemit (#3481)
* Fix initializing fp32 Qwen3-ASR models. (#3480)
* Fix Qwen3ASR hotwords handling (#3477)
* Update Qwen3 ASR models (#3476)
* Fix building for vad+asr (#3475)
* Add per-stream language hint for Qwen3-ASR (and tighten scaffold cleanup) (#3472)
* Add hotwords argument to OfflineQwen3ASRModelConfig (#3468)

## 1.12.35

* Add Go API for Cohere Transcribe (#3466)
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ project(sherpa-onnx)
# Remember to update
# ./CHANGELOG.md
# ./new-release.sh
set(SHERPA_ONNX_VERSION "1.12.35")
set(SHERPA_ONNX_VERSION "1.12.36")

# Disable warning about
#
Expand Down
4 changes: 2 additions & 2 deletions android/SherpaOnnx/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 32
versionCode 20260403
versionName "1.12.35"
versionCode 20260408
versionName "1.12.36"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
4 changes: 2 additions & 2 deletions android/SherpaOnnx2Pass/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 32
versionCode 20260403
versionName "1.12.35"
versionCode 20260408
versionName "1.12.36"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
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.35/sherpa-onnx-v1.12.35-android.tar.bz2
tar xvf sherpa-onnx-v1.12.35-android.tar.bz2
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.36/sherpa-onnx-v1.12.36-android.tar.bz2
tar xvf sherpa-onnx-v1.12.36-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.35.aar
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.12.36.aar
```
4 changes: 2 additions & 2 deletions android/SherpaOnnxAudioTagging/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.audio.tagging"
minSdk = 21
targetSdk = 34
versionCode = 20260403
versionName = "1.12.35"
versionCode = 20260408
versionName = "1.12.36"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
4 changes: 2 additions & 2 deletions android/SherpaOnnxAudioTaggingWearOs/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.audio.tagging.wear.os"
minSdk = 26
targetSdk = 34
versionCode = 20260403
versionName = "1.12.35"
versionCode = 20260408
versionName = "1.12.36"
vectorDrawables {
useSupportLibrary = true
}
Expand Down
6 changes: 3 additions & 3 deletions android/SherpaOnnxJavaDemo/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 28
targetSdk 34
versionCode 20260403
versionName "1.12.35"
versionCode 20260408
versionName "1.12.36"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -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.35'
implementation 'com.github.k2-fsa:sherpa-onnx:v1.12.36'
}
4 changes: 2 additions & 2 deletions android/SherpaOnnxKws/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 32
versionCode 20260403
versionName "1.12.35"
versionCode 20260408
versionName "1.12.36"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
4 changes: 2 additions & 2 deletions android/SherpaOnnxSimulateStreamingAsr/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.simulate.streaming.asr"
minSdk = 21
targetSdk = 34
versionCode = 20260403
versionName = "1.12.35"
versionCode = 20260408
versionName = "1.12.36"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.simulate.streaming.asr.wear.os"
minSdk = 28
targetSdk = 34
versionCode = 20260403
versionName = "1.12.35"
versionCode = 20260408
versionName = "1.12.36"
vectorDrawables {
useSupportLibrary = true
}
Expand Down Expand Up @@ -58,7 +58,7 @@ dependencies {
implementation(libs.compose.foundation)
implementation(libs.activity.compose)
implementation(libs.core.splashscreen)
implementation("com.github.k2-fsa:sherpa-onnx:v1.12.35")
implementation("com.github.k2-fsa:sherpa-onnx:v1.12.36")
androidTestImplementation(platform(libs.compose.bom))
androidTestImplementation(libs.ui.test.junit4)
debugImplementation(libs.ui.tooling)
Expand Down
4 changes: 2 additions & 2 deletions android/SherpaOnnxSpeakerDiarization/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.speaker.diarization"
minSdk = 21
targetSdk = 34
versionCode = 20260403
versionName = "1.12.35"
versionCode = 20260408
versionName = "1.12.36"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
4 changes: 2 additions & 2 deletions android/SherpaOnnxSpeakerIdentification/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.speaker.identification"
minSdk = 21
targetSdk = 34
versionCode = 20260403
versionName = "1.12.35"
versionCode = 20260408
versionName = "1.12.36"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.slid"
minSdk = 21
targetSdk = 34
versionCode = 20260403
versionName = "1.12.35"
versionCode = 20260408
versionName = "1.12.36"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
4 changes: 2 additions & 2 deletions android/SherpaOnnxTts/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 32
versionCode 20260403
versionName "1.12.35"
versionCode 20260408
versionName "1.12.36"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
4 changes: 2 additions & 2 deletions android/SherpaOnnxTtsEngine/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId = "com.k2fsa.sherpa.onnx.tts.engine"
minSdk = 21
targetSdk = 34
versionCode = 20260403
versionName = "1.12.35"
versionCode = 20260408
versionName = "1.12.36"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
4 changes: 2 additions & 2 deletions android/SherpaOnnxVad/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 33
versionCode 20260403
versionName "1.12.35"
versionCode 20260408
versionName "1.12.36"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
4 changes: 2 additions & 2 deletions android/SherpaOnnxVadAsr/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 33
versionCode 20260403
versionName "1.12.35"
versionCode 20260408
versionName "1.12.36"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
4 changes: 2 additions & 2 deletions android/SherpaOnnxWebSocket/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "com.k2fsa.sherpa.onnx"
minSdk 21
targetSdk 32
versionCode 20260403
versionName "1.12.35"
versionCode 20260408
versionName "1.12.36"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
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.35</string>
<string>1.12.36</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.35
sherpa_onnx: ^1.12.36
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.35
sherpa_onnx: ^1.12.36
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.35
sherpa_onnx: ^1.12.36
# 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.35
sherpa_onnx: ^1.12.36
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.35
sherpa_onnx: ^1.12.36
# 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.35
sherpa_onnx: ^1.12.36
path: ^1.9.0
args: ^2.5.0

Expand Down
2 changes: 1 addition & 1 deletion dart-api-examples/speech-enhancement-dpdfnet/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.35
sherpa_onnx: ^1.12.36
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.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.35
sherpa_onnx: ^1.12.36
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
Expand Down
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.35
sherpa_onnx: ^1.12.36
# 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.35
sherpa_onnx: ^1.12.36
path: ^1.9.0
args: ^2.5.0

Expand Down
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.35
sherpa_onnx: ^1.12.36
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.0
Expand Down
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.35
sherpa_onnx: ^1.12.36
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
path: ^1.9.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.35
sherpa_onnx: ^1.12.36
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.35
sherpa_onnx: ^1.12.36
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.35
sherpa_onnx: ^1.12.36
path: ^1.9.0
args: ^2.5.0

Expand Down
4 changes: 2 additions & 2 deletions flutter-examples/non_streaming_vad_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.35
version: 1.12.36

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

sherpa_onnx: ^1.12.35
sherpa_onnx: ^1.12.36
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx

Expand Down
Loading
Loading