Release v1.10.22 (#1267)

This commit is contained in:
Fangjun Kuang
2024-08-16 22:40:49 +08:00
committed by GitHub
parent 9dcea49dba
commit 88809753ab
18 changed files with 66 additions and 54 deletions

View File

@@ -1,3 +1,17 @@
## 1.10.22
* Add Pascal API for reading wave files (#1243)
* Pascal API for streaming ASR (#1246)
* Pascal API for non-streaming ASR (#1247)
* Pascal API for VAD (#1249)
* Add more C API examples (#1255)
* Add emotion, event of SenseVoice. (#1257)
* Support reading multi-channel wave files with 8/16/32-bit encoded samples (#1258)
* Enable IPO only for Release build. (#1261)
* Add Lazarus example for generating subtitles using Silero VAD with non-streaming ASR (#1251)
* Fix looking up OOVs in lexicon.txt for MeloTTS models. (#1266)
## 1.10.21 ## 1.10.21
* Fix ffmpeg c api example (#1185) * Fix ffmpeg c api example (#1185)

View File

@@ -11,7 +11,7 @@ project(sherpa-onnx)
# ./nodejs-addon-examples # ./nodejs-addon-examples
# ./dart-api-examples/ # ./dart-api-examples/
# ./CHANGELOG.md # ./CHANGELOG.md
set(SHERPA_ONNX_VERSION "1.10.21") set(SHERPA_ONNX_VERSION "1.10.22")
# Disable warning about # Disable warning about
# #

View File

@@ -9,7 +9,7 @@ environment:
sdk: ^3.4.0 sdk: ^3.4.0
dependencies: dependencies:
sherpa_onnx: ^1.10.21 sherpa_onnx: ^1.10.22
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -9,7 +9,7 @@ environment:
sdk: ^3.4.0 sdk: ^3.4.0
dependencies: dependencies:
sherpa_onnx: ^1.10.21 sherpa_onnx: ^1.10.22
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -9,7 +9,7 @@ environment:
sdk: ^3.4.0 sdk: ^3.4.0
dependencies: dependencies:
sherpa_onnx: ^1.10.21 sherpa_onnx: ^1.10.22
# sherpa_onnx: # sherpa_onnx:
# path: ../../flutter/sherpa_onnx # path: ../../flutter/sherpa_onnx
path: ^1.9.0 path: ^1.9.0

View File

@@ -10,7 +10,7 @@ environment:
# Add regular dependencies here. # Add regular dependencies here.
dependencies: dependencies:
sherpa_onnx: ^1.10.21 sherpa_onnx: ^1.10.22
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -9,7 +9,7 @@ environment:
sdk: ^3.4.0 sdk: ^3.4.0
dependencies: dependencies:
sherpa_onnx: ^1.10.21 sherpa_onnx: ^1.10.22
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -11,7 +11,7 @@ environment:
# Add regular dependencies here. # Add regular dependencies here.
dependencies: dependencies:
sherpa_onnx: ^1.10.21 sherpa_onnx: ^1.10.22
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -8,7 +8,7 @@ environment:
# Add regular dependencies here. # Add regular dependencies here.
dependencies: dependencies:
sherpa_onnx: ^1.10.21 sherpa_onnx: ^1.10.22
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -10,7 +10,7 @@ environment:
sdk: ^3.4.0 sdk: ^3.4.0
dependencies: dependencies:
sherpa_onnx: ^1.10.21 sherpa_onnx: ^1.10.22
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -9,7 +9,7 @@ environment:
sdk: ^3.4.0 sdk: ^3.4.0
dependencies: dependencies:
sherpa_onnx: ^1.10.21 sherpa_onnx: ^1.10.22
path: ^1.9.0 path: ^1.9.0
args: ^2.5.0 args: ^2.5.0

View File

@@ -5,7 +5,7 @@ description: >
publish_to: 'none' publish_to: 'none'
version: 1.10.21 version: 1.10.22
topics: topics:
- speech-recognition - speech-recognition
@@ -30,7 +30,7 @@ dependencies:
record: ^5.1.0 record: ^5.1.0
url_launcher: ^6.2.6 url_launcher: ^6.2.6
sherpa_onnx: ^1.10.21 sherpa_onnx: ^1.10.22
# sherpa_onnx: # sherpa_onnx:
# path: ../../flutter/sherpa_onnx # path: ../../flutter/sherpa_onnx

View File

@@ -5,7 +5,7 @@ description: >
publish_to: 'none' # Remove this line if you wish to publish to pub.dev publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.10.21 version: 1.10.22
environment: environment:
sdk: '>=3.4.0 <4.0.0' sdk: '>=3.4.0 <4.0.0'
@@ -17,7 +17,7 @@ dependencies:
cupertino_icons: ^1.0.6 cupertino_icons: ^1.0.6
path_provider: ^2.1.3 path_provider: ^2.1.3
path: ^1.9.0 path: ^1.9.0
sherpa_onnx: ^1.10.21 sherpa_onnx: ^1.10.22
url_launcher: ^6.2.6 url_launcher: ^6.2.6
audioplayers: ^5.0.0 audioplayers: ^5.0.0

View File

@@ -17,7 +17,7 @@ topics:
- voice-activity-detection - voice-activity-detection
# remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
version: 1.10.21 version: 1.10.22
homepage: https://github.com/k2-fsa/sherpa-onnx homepage: https://github.com/k2-fsa/sherpa-onnx
@@ -30,23 +30,23 @@ dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
sherpa_onnx_android: ^1.10.21 sherpa_onnx_android: ^1.10.22
# sherpa_onnx_android: # sherpa_onnx_android:
# path: ../sherpa_onnx_android # path: ../sherpa_onnx_android
sherpa_onnx_macos: ^1.10.21 sherpa_onnx_macos: ^1.10.22
# sherpa_onnx_macos: # sherpa_onnx_macos:
# path: ../sherpa_onnx_macos # path: ../sherpa_onnx_macos
sherpa_onnx_linux: ^1.10.21 sherpa_onnx_linux: ^1.10.22
# sherpa_onnx_linux: # sherpa_onnx_linux:
# path: ../sherpa_onnx_linux # path: ../sherpa_onnx_linux
# #
sherpa_onnx_windows: ^1.10.21 sherpa_onnx_windows: ^1.10.22
# sherpa_onnx_windows: # sherpa_onnx_windows:
# path: ../sherpa_onnx_windows # path: ../sherpa_onnx_windows
sherpa_onnx_ios: ^1.10.21 sherpa_onnx_ios: ^1.10.22
# sherpa_onnx_ios: # sherpa_onnx_ios:
# path: ../sherpa_onnx_ios # path: ../sherpa_onnx_ios

View File

@@ -7,7 +7,7 @@
# https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c # https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'sherpa_onnx_ios' s.name = 'sherpa_onnx_ios'
s.version = '1.10.21' s.version = '1.10.22'
s.summary = 'A new Flutter FFI plugin project.' s.summary = 'A new Flutter FFI plugin project.'
s.description = <<-DESC s.description = <<-DESC
A new Flutter FFI plugin project. A new Flutter FFI plugin project.

View File

@@ -4,7 +4,7 @@
# #
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'sherpa_onnx_macos' s.name = 'sherpa_onnx_macos'
s.version = '1.10.21' s.version = '1.10.22'
s.summary = 'sherpa-onnx Flutter FFI plugin project.' s.summary = 'sherpa-onnx Flutter FFI plugin project.'
s.description = <<-DESC s.description = <<-DESC
sherpa-onnx Flutter FFI plugin project. sherpa-onnx Flutter FFI plugin project.

View File

@@ -1,5 +1,5 @@
{ {
"dependencies": { "dependencies": {
"sherpa-onnx-node": "^1.10.21" "sherpa-onnx-node": "^1.10.22"
} }
} }

View File

@@ -316,14 +316,13 @@ const
- https://downloads.freepascal.org/fpc/docs-pdf/CinFreePascal.pdf - https://downloads.freepascal.org/fpc/docs-pdf/CinFreePascal.pdf
} }
{$IFDEF WINDOWS} {$if defined(WINDOWS)}
{ For windows, we always use dynamic link. See { For windows, we always use dynamic link. See
https://forum.lazarus.freepascal.org/index.php/topic,15712.msg84781.html#msg84781 https://forum.lazarus.freepascal.org/index.php/topic,15712.msg84781.html#msg84781
We need to rebuild the static lib for windows using Mingw or cygwin We need to rebuild the static lib for windows using Mingw or cygwin
} }
SherpaOnnxLibName = 'sherpa-onnx-c-api.dll'; SherpaOnnxLibName = 'sherpa-onnx-c-api.dll';
{$ELSE} {$elseif not defined(SHERPA_ONNX_USE_SHARED_LIBS)}
{$IFNDEF SHERPA_ONNX_USE_SHARED_LIBS}
{static link for linux and macos} {static link for linux and macos}
{$linklib sherpa-onnx-c-api} {$linklib sherpa-onnx-c-api}
{$linklib sherpa-onnx-core} {$linklib sherpa-onnx-core}
@@ -338,22 +337,21 @@ const
{$linklib onnxruntime} {$linklib onnxruntime}
{$linklib ssentencepiece_core} {$linklib ssentencepiece_core}
{$IFDEF LINUX} {$ifdef LINUX}
{$linklib m} {$linklib m}
{$LINKLIB stdc++} {$LINKLIB stdc++}
{$LINKLIB gcc_s} {$LINKLIB gcc_s}
{$ENDIF} {$endif}
{$IFDEF DARWIN} {$ifdef DARWIN}
{$linklib c++} {$linklib c++}
{$ENDIF} {$endif}
SherpaOnnxLibName = ''; SherpaOnnxLibName = '';
{$ELSE} {$else}
{dynamic link for linux and macos} {dynamic link for linux and macos}
SherpaOnnxLibName = 'sherpa-onnx-c-api'; SherpaOnnxLibName = 'sherpa-onnx-c-api';
{$linklib sherpa-onnx-c-api} {$linklib sherpa-onnx-c-api}
{$ENDIF} {$endif}
{$ENDIF}
type type
SherpaOnnxWave = record SherpaOnnxWave = record