Fangjun Kuang
Committed by GitHub

Release v1.12.13 (#2593)

正在显示 55 个修改的文件 包含 100 行增加92 行删除
  1 +## 1.12.13
  2 +
  3 +* Fix initializing symbol table for OnlineRecognizer. (#2590)
  4 +* Support RK NPU for SenseVoice non-streaming ASR models (#2589)
  5 +* Upload RKNN models for sense-voice (#2592)
  6 +
1 ## 1.12.12 7 ## 1.12.12
2 8
3 * Fix building for risc-v (#2549) 9 * Fix building for risc-v (#2549)
@@ -14,7 +14,7 @@ project(sherpa-onnx) @@ -14,7 +14,7 @@ project(sherpa-onnx)
14 # Remember to update 14 # Remember to update
15 # ./CHANGELOG.md 15 # ./CHANGELOG.md
16 # ./new-release.sh 16 # ./new-release.sh
17 -set(SHERPA_ONNX_VERSION "1.12.12") 17 +set(SHERPA_ONNX_VERSION "1.12.13")
18 18
19 # Disable warning about 19 # Disable warning about
20 # 20 #
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId "com.k2fsa.sherpa.onnx" 11 applicationId "com.k2fsa.sherpa.onnx"
12 minSdk 21 12 minSdk 21
13 targetSdk 32 13 targetSdk 32
14 - versionCode 20250910  
15 - versionName "1.12.12" 14 + versionCode 20250912
  15 + versionName "1.12.13"
16 16
17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18 } 18 }
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId "com.k2fsa.sherpa.onnx" 11 applicationId "com.k2fsa.sherpa.onnx"
12 minSdk 21 12 minSdk 21
13 targetSdk 32 13 targetSdk 32
14 - versionCode 20250910  
15 - versionName "1.12.12" 14 + versionCode 20250912
  15 + versionName "1.12.13"
16 16
17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18 } 18 }
@@ -4,8 +4,8 @@ @@ -4,8 +4,8 @@
4 git clone https://github.com/k2-fsa/sherpa-onnx 4 git clone https://github.com/k2-fsa/sherpa-onnx
5 cd sherpa-onnx 5 cd sherpa-onnx
6 6
7 -wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.12/sherpa-onnx-v1.12.12-android.tar.bz2  
8 -tar xvf sherpa-onnx-v1.12.12-android.tar.bz2 7 +wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.13/sherpa-onnx-v1.12.13-android.tar.bz2
  8 +tar xvf sherpa-onnx-v1.12.13-android.tar.bz2
9 9
10 cp -v jniLibs/arm64-v8a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/arm64-v8a/ 10 cp -v jniLibs/arm64-v8a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/arm64-v8a/
11 cp -v jniLibs/armeabi-v7a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/armeabi-v7a/ 11 cp -v jniLibs/armeabi-v7a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/armeabi-v7a/
@@ -16,5 +16,5 @@ cd android/SherpaOnnxAar @@ -16,5 +16,5 @@ cd android/SherpaOnnxAar
16 16
17 ./gradlew :sherpa_onnx:assembleRelease 17 ./gradlew :sherpa_onnx:assembleRelease
18 ls -lh ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar 18 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.12.12.aar 19 +cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.12.13.aar
20 ``` 20 ```
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId = "com.k2fsa.sherpa.onnx.audio.tagging" 11 applicationId = "com.k2fsa.sherpa.onnx.audio.tagging"
12 minSdk = 21 12 minSdk = 21
13 targetSdk = 34 13 targetSdk = 34
14 - versionCode = 20250910  
15 - versionName = "1.12.12" 14 + versionCode = 20250912
  15 + versionName = "1.12.13"
16 16
17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
18 vectorDrawables { 18 vectorDrawables {
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId = "com.k2fsa.sherpa.onnx.audio.tagging.wear.os" 11 applicationId = "com.k2fsa.sherpa.onnx.audio.tagging.wear.os"
12 minSdk = 26 12 minSdk = 26
13 targetSdk = 34 13 targetSdk = 34
14 - versionCode = 20250910  
15 - versionName = "1.12.12" 14 + versionCode = 20250912
  15 + versionName = "1.12.13"
16 vectorDrawables { 16 vectorDrawables {
17 useSupportLibrary = true 17 useSupportLibrary = true
18 } 18 }
@@ -9,8 +9,8 @@ android { @@ -9,8 +9,8 @@ android {
9 applicationId "com.k2fsa.sherpa.onnx" 9 applicationId "com.k2fsa.sherpa.onnx"
10 minSdk 28 10 minSdk 28
11 targetSdk 34 11 targetSdk 34
12 - versionCode 20250910  
13 - versionName "1.12.12" 12 + versionCode 20250912
  13 + versionName "1.12.13"
14 14
15 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 15 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16 } 16 }
@@ -34,5 +34,5 @@ dependencies { @@ -34,5 +34,5 @@ dependencies {
34 implementation 'pub.devrel:easypermissions:3.0.0' 34 implementation 'pub.devrel:easypermissions:3.0.0'
35 implementation 'androidx.core:core-ktx:1.7.0' 35 implementation 'androidx.core:core-ktx:1.7.0'
36 // implementation files('/Users/fangjun/open-source/sherpa-onnx/android/SherpaOnnxAar/sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar') 36 // 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.12.12' 37 + implementation 'com.github.k2-fsa:sherpa-onnx:v1.12.13'
38 } 38 }
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId "com.k2fsa.sherpa.onnx" 11 applicationId "com.k2fsa.sherpa.onnx"
12 minSdk 21 12 minSdk 21
13 targetSdk 32 13 targetSdk 32
14 - versionCode 20250910  
15 - versionName "1.12.12" 14 + versionCode 20250912
  15 + versionName "1.12.13"
16 16
17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18 } 18 }
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId = "com.k2fsa.sherpa.onnx.simulate.streaming.asr" 11 applicationId = "com.k2fsa.sherpa.onnx.simulate.streaming.asr"
12 minSdk = 21 12 minSdk = 21
13 targetSdk = 34 13 targetSdk = 34
14 - versionCode = 20250910  
15 - versionName = "1.12.12" 14 + versionCode = 20250912
  15 + versionName = "1.12.13"
16 16
17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
18 vectorDrawables { 18 vectorDrawables {
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId = "com.k2fsa.sherpa.onnx.simulate.streaming.asr.wear.os" 11 applicationId = "com.k2fsa.sherpa.onnx.simulate.streaming.asr.wear.os"
12 minSdk = 28 12 minSdk = 28
13 targetSdk = 34 13 targetSdk = 34
14 - versionCode = 20250910  
15 - versionName = "1.12.12" 14 + versionCode = 20250912
  15 + versionName = "1.12.13"
16 vectorDrawables { 16 vectorDrawables {
17 useSupportLibrary = true 17 useSupportLibrary = true
18 } 18 }
@@ -58,7 +58,7 @@ dependencies { @@ -58,7 +58,7 @@ dependencies {
58 implementation(libs.compose.foundation) 58 implementation(libs.compose.foundation)
59 implementation(libs.activity.compose) 59 implementation(libs.activity.compose)
60 implementation(libs.core.splashscreen) 60 implementation(libs.core.splashscreen)
61 - implementation("com.github.k2-fsa:sherpa-onnx:v1.12.12") 61 + implementation("com.github.k2-fsa:sherpa-onnx:v1.12.13")
62 androidTestImplementation(platform(libs.compose.bom)) 62 androidTestImplementation(platform(libs.compose.bom))
63 androidTestImplementation(libs.ui.test.junit4) 63 androidTestImplementation(libs.ui.test.junit4)
64 debugImplementation(libs.ui.tooling) 64 debugImplementation(libs.ui.tooling)
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId = "com.k2fsa.sherpa.onnx.speaker.diarization" 11 applicationId = "com.k2fsa.sherpa.onnx.speaker.diarization"
12 minSdk = 21 12 minSdk = 21
13 targetSdk = 34 13 targetSdk = 34
14 - versionCode = 20250910  
15 - versionName = "1.12.12" 14 + versionCode = 20250912
  15 + versionName = "1.12.13"
16 16
17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
18 vectorDrawables { 18 vectorDrawables {
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId = "com.k2fsa.sherpa.onnx.speaker.identification" 11 applicationId = "com.k2fsa.sherpa.onnx.speaker.identification"
12 minSdk = 21 12 minSdk = 21
13 targetSdk = 34 13 targetSdk = 34
14 - versionCode = 20250910  
15 - versionName = "1.12.12" 14 + versionCode = 20250912
  15 + versionName = "1.12.13"
16 16
17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
18 vectorDrawables { 18 vectorDrawables {
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId = "com.k2fsa.sherpa.onnx.slid" 11 applicationId = "com.k2fsa.sherpa.onnx.slid"
12 minSdk = 21 12 minSdk = 21
13 targetSdk = 34 13 targetSdk = 34
14 - versionCode = 20250910  
15 - versionName = "1.12.12" 14 + versionCode = 20250912
  15 + versionName = "1.12.13"
16 16
17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
18 vectorDrawables { 18 vectorDrawables {
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId "com.k2fsa.sherpa.onnx" 11 applicationId "com.k2fsa.sherpa.onnx"
12 minSdk 21 12 minSdk 21
13 targetSdk 32 13 targetSdk 32
14 - versionCode 20250910  
15 - versionName "1.12.12" 14 + versionCode 20250912
  15 + versionName "1.12.13"
16 16
17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18 } 18 }
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId = "com.k2fsa.sherpa.onnx.tts.engine" 11 applicationId = "com.k2fsa.sherpa.onnx.tts.engine"
12 minSdk = 21 12 minSdk = 21
13 targetSdk = 34 13 targetSdk = 34
14 - versionCode = 20250910  
15 - versionName = "1.12.12" 14 + versionCode = 20250912
  15 + versionName = "1.12.13"
16 16
17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
18 vectorDrawables { 18 vectorDrawables {
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId "com.k2fsa.sherpa.onnx" 11 applicationId "com.k2fsa.sherpa.onnx"
12 minSdk 21 12 minSdk 21
13 targetSdk 33 13 targetSdk 33
14 - versionCode 20250910  
15 - versionName "1.12.12" 14 + versionCode 20250912
  15 + versionName "1.12.13"
16 16
17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18 } 18 }
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId "com.k2fsa.sherpa.onnx" 11 applicationId "com.k2fsa.sherpa.onnx"
12 minSdk 21 12 minSdk 21
13 targetSdk 33 13 targetSdk 33
14 - versionCode 20250910  
15 - versionName "1.12.12" 14 + versionCode 20250912
  15 + versionName "1.12.13"
16 16
17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18 } 18 }
@@ -11,8 +11,8 @@ android { @@ -11,8 +11,8 @@ android {
11 applicationId "com.k2fsa.sherpa.onnx" 11 applicationId "com.k2fsa.sherpa.onnx"
12 minSdk 21 12 minSdk 21
13 targetSdk 32 13 targetSdk 32
14 - versionCode 20250910  
15 - versionName "1.12.12" 14 + versionCode 20250912
  15 + versionName "1.12.13"
16 16
17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18 } 18 }
@@ -242,7 +242,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do @@ -242,7 +242,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do
242 <key>CFBundlePackageType</key> 242 <key>CFBundlePackageType</key>
243 <string>FMWK</string> 243 <string>FMWK</string>
244 <key>CFBundleShortVersionString</key> 244 <key>CFBundleShortVersionString</key>
245 - <string>1.12.12</string> 245 + <string>1.12.13</string>
246 <key>CFBundleSupportedPlatforms</key> 246 <key>CFBundleSupportedPlatforms</key>
247 <array> 247 <array>
248 <string>iPhoneOS</string> 248 <string>iPhoneOS</string>
@@ -9,7 +9,7 @@ environment: @@ -9,7 +9,7 @@ environment:
9 sdk: ">=3.0.0 <4.0.0" 9 sdk: ">=3.0.0 <4.0.0"
10 10
11 dependencies: 11 dependencies:
12 - sherpa_onnx: ^1.12.12 12 + sherpa_onnx: ^1.12.13
13 path: ^1.9.0 13 path: ^1.9.0
14 args: ^2.5.0 14 args: ^2.5.0
15 15
@@ -9,7 +9,7 @@ environment: @@ -9,7 +9,7 @@ environment:
9 sdk: ">=3.0.0 <4.0.0" 9 sdk: ">=3.0.0 <4.0.0"
10 10
11 dependencies: 11 dependencies:
12 - sherpa_onnx: ^1.12.12 12 + sherpa_onnx: ^1.12.13
13 path: ^1.9.0 13 path: ^1.9.0
14 args: ^2.5.0 14 args: ^2.5.0
15 15
@@ -9,7 +9,7 @@ environment: @@ -9,7 +9,7 @@ environment:
9 sdk: ">=3.0.0 <4.0.0" 9 sdk: ">=3.0.0 <4.0.0"
10 10
11 dependencies: 11 dependencies:
12 - sherpa_onnx: ^1.12.12 12 + sherpa_onnx: ^1.12.13
13 # sherpa_onnx: 13 # sherpa_onnx:
14 # path: ../../flutter/sherpa_onnx 14 # path: ../../flutter/sherpa_onnx
15 path: ^1.9.0 15 path: ^1.9.0
@@ -10,7 +10,7 @@ environment: @@ -10,7 +10,7 @@ environment:
10 10
11 # Add regular dependencies here. 11 # Add regular dependencies here.
12 dependencies: 12 dependencies:
13 - sherpa_onnx: ^1.12.12 13 + sherpa_onnx: ^1.12.13
14 path: ^1.9.0 14 path: ^1.9.0
15 args: ^2.5.0 15 args: ^2.5.0
16 16
@@ -8,7 +8,7 @@ environment: @@ -8,7 +8,7 @@ environment:
8 sdk: ">=3.0.0 <4.0.0" 8 sdk: ">=3.0.0 <4.0.0"
9 9
10 dependencies: 10 dependencies:
11 - sherpa_onnx: ^1.12.12 11 + sherpa_onnx: ^1.12.13
12 # sherpa_onnx: 12 # sherpa_onnx:
13 # path: ../../flutter/sherpa_onnx 13 # path: ../../flutter/sherpa_onnx
14 path: ^1.9.0 14 path: ^1.9.0
@@ -9,7 +9,7 @@ environment: @@ -9,7 +9,7 @@ environment:
9 sdk: ">=3.0.0 <4.0.0" 9 sdk: ">=3.0.0 <4.0.0"
10 10
11 dependencies: 11 dependencies:
12 - sherpa_onnx: ^1.12.12 12 + sherpa_onnx: ^1.12.13
13 path: ^1.9.0 13 path: ^1.9.0
14 args: ^2.5.0 14 args: ^2.5.0
15 15
@@ -10,7 +10,7 @@ environment: @@ -10,7 +10,7 @@ environment:
10 10
11 # Add regular dependencies here. 11 # Add regular dependencies here.
12 dependencies: 12 dependencies:
13 - sherpa_onnx: ^1.12.12 13 + sherpa_onnx: ^1.12.13
14 # sherpa_onnx: 14 # sherpa_onnx:
15 # path: ../../flutter/sherpa_onnx 15 # path: ../../flutter/sherpa_onnx
16 path: ^1.9.0 16 path: ^1.9.0
@@ -11,7 +11,7 @@ environment: @@ -11,7 +11,7 @@ environment:
11 11
12 # Add regular dependencies here. 12 # Add regular dependencies here.
13 dependencies: 13 dependencies:
14 - sherpa_onnx: ^1.12.12 14 + sherpa_onnx: ^1.12.13
15 path: ^1.9.0 15 path: ^1.9.0
16 args: ^2.5.0 16 args: ^2.5.0
17 17
@@ -8,7 +8,7 @@ environment: @@ -8,7 +8,7 @@ environment:
8 8
9 # Add regular dependencies here. 9 # Add regular dependencies here.
10 dependencies: 10 dependencies:
11 - sherpa_onnx: ^1.12.12 11 + sherpa_onnx: ^1.12.13
12 path: ^1.9.0 12 path: ^1.9.0
13 args: ^2.5.0 13 args: ^2.5.0
14 14
@@ -10,7 +10,7 @@ environment: @@ -10,7 +10,7 @@ environment:
10 sdk: ">=3.0.0 <4.0.0" 10 sdk: ">=3.0.0 <4.0.0"
11 11
12 dependencies: 12 dependencies:
13 - sherpa_onnx: ^1.12.12 13 + sherpa_onnx: ^1.12.13
14 path: ^1.9.0 14 path: ^1.9.0
15 args: ^2.5.0 15 args: ^2.5.0
16 16
@@ -9,7 +9,7 @@ environment: @@ -9,7 +9,7 @@ environment:
9 sdk: ">=3.0.0 <4.0.0" 9 sdk: ">=3.0.0 <4.0.0"
10 10
11 dependencies: 11 dependencies:
12 - sherpa_onnx: ^1.12.12 12 + sherpa_onnx: ^1.12.13
13 path: ^1.9.0 13 path: ^1.9.0
14 args: ^2.5.0 14 args: ^2.5.0
15 15
@@ -5,7 +5,7 @@ description: > @@ -5,7 +5,7 @@ description: >
5 5
6 publish_to: 'none' 6 publish_to: 'none'
7 7
8 -version: 1.12.12 8 +version: 1.12.13
9 9
10 topics: 10 topics:
11 - speech-recognition 11 - speech-recognition
@@ -31,7 +31,7 @@ dependencies: @@ -31,7 +31,7 @@ dependencies:
31 record: ^5.1.0 31 record: ^5.1.0
32 url_launcher: ^6.2.6 32 url_launcher: ^6.2.6
33 33
34 - sherpa_onnx: ^1.12.12 34 + sherpa_onnx: ^1.12.13
35 # sherpa_onnx: 35 # sherpa_onnx:
36 # path: ../../flutter/sherpa_onnx 36 # path: ../../flutter/sherpa_onnx
37 37
@@ -5,7 +5,7 @@ description: > @@ -5,7 +5,7 @@ description: >
5 5
6 publish_to: 'none' # Remove this line if you wish to publish to pub.dev 6 publish_to: 'none' # Remove this line if you wish to publish to pub.dev
7 7
8 -version: 1.12.12 8 +version: 1.12.13
9 9
10 environment: 10 environment:
11 sdk: ">=2.17.0 <4.0.0" 11 sdk: ">=2.17.0 <4.0.0"
@@ -18,7 +18,7 @@ dependencies: @@ -18,7 +18,7 @@ dependencies:
18 cupertino_icons: ^1.0.6 18 cupertino_icons: ^1.0.6
19 path_provider: ^2.1.3 19 path_provider: ^2.1.3
20 path: ^1.9.0 20 path: ^1.9.0
21 - sherpa_onnx: ^1.12.12 21 + sherpa_onnx: ^1.12.13
22 # sherpa_onnx: 22 # sherpa_onnx:
23 # path: ../../flutter/sherpa_onnx 23 # path: ../../flutter/sherpa_onnx
24 url_launcher: 6.2.6 24 url_launcher: 6.2.6
@@ -17,7 +17,7 @@ topics: @@ -17,7 +17,7 @@ topics:
17 - voice-activity-detection 17 - voice-activity-detection
18 18
19 # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec 19 # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
20 -version: 1.12.12 20 +version: 1.12.13
21 21
22 homepage: https://github.com/k2-fsa/sherpa-onnx 22 homepage: https://github.com/k2-fsa/sherpa-onnx
23 23
@@ -30,23 +30,23 @@ dependencies: @@ -30,23 +30,23 @@ dependencies:
30 flutter: 30 flutter:
31 sdk: flutter 31 sdk: flutter
32 32
33 - sherpa_onnx_android: ^1.12.12 33 + sherpa_onnx_android: ^1.12.13
34 # sherpa_onnx_android: 34 # sherpa_onnx_android:
35 # path: ../sherpa_onnx_android 35 # path: ../sherpa_onnx_android
36 36
37 - sherpa_onnx_macos: ^1.12.12 37 + sherpa_onnx_macos: ^1.12.13
38 # sherpa_onnx_macos: 38 # sherpa_onnx_macos:
39 # path: ../sherpa_onnx_macos 39 # path: ../sherpa_onnx_macos
40 40
41 - sherpa_onnx_linux: ^1.12.12 41 + sherpa_onnx_linux: ^1.12.13
42 # sherpa_onnx_linux: 42 # sherpa_onnx_linux:
43 # path: ../sherpa_onnx_linux 43 # path: ../sherpa_onnx_linux
44 44
45 - sherpa_onnx_windows: ^1.12.12 45 + sherpa_onnx_windows: ^1.12.13
46 # sherpa_onnx_windows: 46 # sherpa_onnx_windows:
47 # path: ../sherpa_onnx_windows 47 # path: ../sherpa_onnx_windows
48 48
49 - sherpa_onnx_ios: ^1.12.12 49 + sherpa_onnx_ios: ^1.12.13
50 # sherpa_onnx_ios: 50 # sherpa_onnx_ios:
51 # path: ../sherpa_onnx_ios 51 # path: ../sherpa_onnx_ios
52 52
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 # https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c 7 # https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c
8 Pod::Spec.new do |s| 8 Pod::Spec.new do |s|
9 s.name = 'sherpa_onnx_ios' 9 s.name = 'sherpa_onnx_ios'
10 - s.version = '1.12.12' 10 + s.version = '1.12.13'
11 s.summary = 'A new Flutter FFI plugin project.' 11 s.summary = 'A new Flutter FFI plugin project.'
12 s.description = <<-DESC 12 s.description = <<-DESC
13 A new Flutter FFI plugin project. 13 A new Flutter FFI plugin project.
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 # 4 #
5 Pod::Spec.new do |s| 5 Pod::Spec.new do |s|
6 s.name = 'sherpa_onnx_macos' 6 s.name = 'sherpa_onnx_macos'
7 - s.version = '1.12.12' 7 + s.version = '1.12.13'
8 s.summary = 'sherpa-onnx Flutter FFI plugin project.' 8 s.summary = 'sherpa-onnx Flutter FFI plugin project.'
9 s.description = <<-DESC 9 s.description = <<-DESC
10 sherpa-onnx Flutter FFI plugin project. 10 sherpa-onnx Flutter FFI plugin project.
1 /** 1 /**
2 * Use these variables when you tailor your ArkTS code. They must be of the const type. 2 * Use these variables when you tailor your ArkTS code. They must be of the const type.
3 */ 3 */
4 -export const HAR_VERSION = '1.12.12'; 4 +export const HAR_VERSION = '1.12.13';
5 export const BUILD_MODE_NAME = 'debug'; 5 export const BUILD_MODE_NAME = 'debug';
6 export const DEBUG = true; 6 export const DEBUG = true;
7 export const TARGET_NAME = 'default'; 7 export const TARGET_NAME = 'default';
@@ -14,4 +14,4 @@ export default class BuildProfile { @@ -14,4 +14,4 @@ export default class BuildProfile {
14 static readonly BUILD_MODE_NAME = BUILD_MODE_NAME; 14 static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
15 static readonly DEBUG = DEBUG; 15 static readonly DEBUG = DEBUG;
16 static readonly TARGET_NAME = TARGET_NAME; 16 static readonly TARGET_NAME = TARGET_NAME;
17 -} 17 +}
@@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following: @@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following:
23 23
24 ``` 24 ```
25 "dependencies": { 25 "dependencies": {
26 - "sherpa_onnx": "1.12.12", 26 + "sherpa_onnx": "1.12.13",
27 }, 27 },
28 ``` 28 ```
29 29
1 { 1 {
2 "name": "sherpa_onnx", 2 "name": "sherpa_onnx",
3 - "version": "1.12.12", 3 + "version": "1.12.13",
4 "description": "On-device speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without Internet connection", 4 "description": "On-device speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without Internet connection",
5 "main": "Index.ets", 5 "main": "Index.ets",
6 "author": "The next-gen Kaldi team", 6 "author": "The next-gen Kaldi team",
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 "author": "", 6 "author": "",
7 "license": "", 7 "license": "",
8 "dependencies": { 8 "dependencies": {
9 - "sherpa_onnx": "1.12.12" 9 + "sherpa_onnx": "1.12.13"
10 } 10 }
11 } 11 }
12 12
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 "author": "", 6 "author": "",
7 "license": "", 7 "license": "",
8 "dependencies": { 8 "dependencies": {
9 - "sherpa_onnx": "1.12.12", 9 + "sherpa_onnx": "1.12.13",
10 } 10 }
11 } 11 }
12 12
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 "author": "", 6 "author": "",
7 "license": "", 7 "license": "",
8 "dependencies": { 8 "dependencies": {
9 - "sherpa_onnx": "1.12.12", 9 + "sherpa_onnx": "1.12.13",
10 } 10 }
11 } 11 }
12 12
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 "author": "", 6 "author": "",
7 "license": "", 7 "license": "",
8 "dependencies": { 8 "dependencies": {
9 - "sherpa_onnx": "1.12.12", 9 + "sherpa_onnx": "1.12.13",
10 } 10 }
11 } 11 }
12 12
1 # Introduction 1 # Introduction
2 2
3 -Please download ./sherpa_onnx-v1.12.12.har 3 +Please download ./sherpa_onnx-v1.12.13.har
4 from <https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har> 4 from <https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har>
5 5
6 Hint: For users who have no access to huggingface, please use 6 Hint: For users who have no access to huggingface, please use
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 "license": "", 7 "license": "",
8 "dependencies": { 8 "dependencies": {
9 // please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx 9 // please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx
10 - "sherpa_onnx": "1.12.12", 10 + "sherpa_onnx": "1.12.13",
11 } 11 }
12 } 12 }
13 13
@@ -2,8 +2,8 @@ jdk: @@ -2,8 +2,8 @@ jdk:
2 - openjdk17 2 - openjdk17
3 3
4 before_install: 4 before_install:
5 - - wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.12/sherpa-onnx-1.12.12.aar 5 + - wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.13/sherpa-onnx-1.12.13.aar
6 6
7 install: 7 install:
8 - - FILE="-Dfile=sherpa-onnx-1.12.12.aar"  
9 - - mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.12.12 -Dpackaging=aar -DgeneratePom=true 8 + - FILE="-Dfile=sherpa-onnx-1.12.13.aar"
  9 + - mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.12.13 -Dpackaging=aar -DgeneratePom=true
@@ -5,9 +5,9 @@ for speech recognition. @@ -5,9 +5,9 @@ for speech recognition.
5 5
6 |Directory| Pre-built exe (x64)|Pre-built exe (x86)| Description| 6 |Directory| Pre-built exe (x64)|Pre-built exe (x86)| Description|
7 |---------|--------------------|-------------------|------------| 7 |---------|--------------------|-------------------|------------|
8 -|[./NonStreamingSpeechRecognition](./NonStreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.12/sherpa-onnx-non-streaming-asr-x64-v1.12.12.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.12/sherpa-onnx-non-streaming-asr-x86-v1.12.12.exe)| Non-streaming speech recognition|  
9 -|[./StreamingSpeechRecognition](./StreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.12/sherpa-onnx-streaming-asr-x64-v1.12.12.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.12/sherpa-onnx-streaming-asr-x86-v1.12.12.exe)| Streaming speech recognition|  
10 -|[./NonStreamingTextToSpeech](./NonStreamingTextToSpeech)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.12/sherpa-onnx-non-streaming-tts-x64-v1.12.12.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.12/sherpa-onnx-non-streaming-tts-x86-v1.12.12.exe)| Non-streaming text to speech| 8 +|[./NonStreamingSpeechRecognition](./NonStreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.13/sherpa-onnx-non-streaming-asr-x64-v1.12.13.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.13/sherpa-onnx-non-streaming-asr-x86-v1.12.13.exe)| Non-streaming speech recognition|
  9 +|[./StreamingSpeechRecognition](./StreamingSpeechRecognition)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.13/sherpa-onnx-streaming-asr-x64-v1.12.13.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.13/sherpa-onnx-streaming-asr-x86-v1.12.13.exe)| Streaming speech recognition|
  10 +|[./NonStreamingTextToSpeech](./NonStreamingTextToSpeech)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.13/sherpa-onnx-non-streaming-tts-x64-v1.12.13.exe)|[URL](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.13/sherpa-onnx-non-streaming-tts-x86-v1.12.13.exe)| Non-streaming text to speech|
11 11
12 Caution: You need to use Windows and install Visual Studio 2022 in order to 12 Caution: You need to use Windows and install Visual Studio 2022 in order to
13 compile it. 13 compile it.
@@ -2,14 +2,16 @@ @@ -2,14 +2,16 @@
2 2
3 set -ex 3 set -ex
4 4
5 -old_version_code=20250901  
6 -new_version_code=20250910 5 +old_version_code=20250910
  6 +new_version_code=20250912
7 7
8 -old_version="1\.12\.11"  
9 -new_version="1\.12\.12" 8 +old_version="1\.12\.12"
  9 +new_version="1\.12\.13"
10 10
11 replace_str="s/$old_version/$new_version/g" 11 replace_str="s/$old_version/$new_version/g"
12 12
  13 +sed -i.bak "$replace_str" ./CMakeLists.txt
  14 +
13 sed -i.bak "$replace_str" ./sherpa-onnx/csrc/version.cc 15 sed -i.bak "$replace_str" ./sherpa-onnx/csrc/version.cc
14 sha1=$(git describe --match=NeVeRmAtCh --always --abbrev=8) 16 sha1=$(git describe --match=NeVeRmAtCh --always --abbrev=8)
15 date=$(git log -1 --format=%ad --date=local) 17 date=$(git log -1 --format=%ad --date=local)
1 { 1 {
2 "dependencies": { 2 "dependencies": {
3 - "sherpa-onnx-node": "^1.12.12" 3 + "sherpa-onnx-node": "^1.12.13"
4 } 4 }
5 } 5 }
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 "dependencies": { 2 "dependencies": {
3 "mic": "^2.1.2", 3 "mic": "^2.1.2",
4 "naudiodon2": "^2.4.0", 4 "naudiodon2": "^2.4.0",
5 - "sherpa-onnx": "^1.12.12", 5 + "sherpa-onnx": "^1.12.13",
6 "wav": "^1.0.2" 6 "wav": "^1.0.2"
7 } 7 }
8 } 8 }
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 <modelVersion>4.0.0</modelVersion> 4 <modelVersion>4.0.0</modelVersion>
5 <groupId>com.k2fsa.sherpa.onnx</groupId> 5 <groupId>com.k2fsa.sherpa.onnx</groupId>
6 <artifactId>sherpa-onnx-android</artifactId> 6 <artifactId>sherpa-onnx-android</artifactId>
7 - <version>1.12.12</version> 7 + <version>1.12.13</version>
8 <url>https://github.com/k2-fsa/sherpa-onnx</url> 8 <url>https://github.com/k2-fsa/sherpa-onnx</url>
9 <packaging>pom</packaging> 9 <packaging>pom</packaging>
10 <description>First Android Library</description> 10 <description>First Android Library</description>
@@ -13,7 +13,7 @@ print("bin_files", bin_files) @@ -13,7 +13,7 @@ print("bin_files", bin_files)
13 13
14 setup( 14 setup(
15 name="sherpa-onnx-bin", 15 name="sherpa-onnx-bin",
16 - version="1.12.12", 16 + version="1.12.13",
17 description="Binary executables for sherpa-onnx", 17 description="Binary executables for sherpa-onnx",
18 author="The sherpa-onnx development team", 18 author="The sherpa-onnx development team",
19 url="https://github.com/k2-fsa/sherpa-onnx", 19 url="https://github.com/k2-fsa/sherpa-onnx",
@@ -23,7 +23,7 @@ setup( @@ -23,7 +23,7 @@ setup(
23 packages=[], 23 packages=[],
24 data_files=[("Scripts", bin_files) if is_windows() else ("bin", bin_files)], 24 data_files=[("Scripts", bin_files) if is_windows() else ("bin", bin_files)],
25 install_requires=[ 25 install_requires=[
26 - "sherpa-onnx-core==1.12.12", 26 + "sherpa-onnx-core==1.12.13",
27 ], 27 ],
28 classifiers=[ 28 classifiers=[
29 "Programming Language :: Python :: 3", 29 "Programming Language :: Python :: 3",
@@ -23,7 +23,7 @@ def get_binaries(): @@ -23,7 +23,7 @@ def get_binaries():
23 23
24 setup( 24 setup(
25 name="sherpa-onnx-core", 25 name="sherpa-onnx-core",
26 - version="1.12.12", 26 + version="1.12.13",
27 description="Core shared libraries for sherpa-onnx", 27 description="Core shared libraries for sherpa-onnx",
28 packages=["sherpa_onnx"], 28 packages=["sherpa_onnx"],
29 include_package_data=True, 29 include_package_data=True,
@@ -101,7 +101,7 @@ setuptools.setup( @@ -101,7 +101,7 @@ setuptools.setup(
101 ], 101 ],
102 }, 102 },
103 license="Apache licensed, as found in the LICENSE file", 103 license="Apache licensed, as found in the LICENSE file",
104 - install_requires=["sherpa-onnx-core==1.12.12"] if need_split_package() else None, 104 + install_requires=["sherpa-onnx-core==1.12.13"] if need_split_package() else None,
105 ) 105 )
106 106
107 with open("sherpa-onnx/python/sherpa_onnx/__init__.py", "r") as f: 107 with open("sherpa-onnx/python/sherpa_onnx/__init__.py", "r") as f:
@@ -7,17 +7,17 @@ @@ -7,17 +7,17 @@
7 namespace sherpa_onnx { 7 namespace sherpa_onnx {
8 8
9 const char *GetGitDate() { 9 const char *GetGitDate() {
10 - static const char *date = "Wed Sep 10 18:52:18 2025"; 10 + static const char *date = "Fri Sep 12 15:54:03 2025";
11 return date; 11 return date;
12 } 12 }
13 13
14 const char *GetGitSha1() { 14 const char *GetGitSha1() {
15 - static const char *sha1 = "7e42ba2c"; 15 + static const char *sha1 = "c415092f";
16 return sha1; 16 return sha1;
17 } 17 }
18 18
19 const char *GetVersionStr() { 19 const char *GetVersionStr() {
20 - static const char *version = "1.12.12"; 20 + static const char *version = "1.12.13";
21 return version; 21 return version;
22 } 22 }
23 23