Fangjun Kuang
Committed by GitHub

Release v1.10.22 (#1267)

  1 +## 1.10.22
  2 +
  3 +* Add Pascal API for reading wave files (#1243)
  4 +* Pascal API for streaming ASR (#1246)
  5 +* Pascal API for non-streaming ASR (#1247)
  6 +* Pascal API for VAD (#1249)
  7 +* Add more C API examples (#1255)
  8 +* Add emotion, event of SenseVoice. (#1257)
  9 +* Support reading multi-channel wave files with 8/16/32-bit encoded samples (#1258)
  10 +* Enable IPO only for Release build. (#1261)
  11 +* Add Lazarus example for generating subtitles using Silero VAD with non-streaming ASR (#1251)
  12 +* Fix looking up OOVs in lexicon.txt for MeloTTS models. (#1266)
  13 +
  14 +
1 ## 1.10.21 15 ## 1.10.21
2 16
3 * Fix ffmpeg c api example (#1185) 17 * Fix ffmpeg c api example (#1185)
@@ -11,7 +11,7 @@ project(sherpa-onnx) @@ -11,7 +11,7 @@ project(sherpa-onnx)
11 # ./nodejs-addon-examples 11 # ./nodejs-addon-examples
12 # ./dart-api-examples/ 12 # ./dart-api-examples/
13 # ./CHANGELOG.md 13 # ./CHANGELOG.md
14 -set(SHERPA_ONNX_VERSION "1.10.21") 14 +set(SHERPA_ONNX_VERSION "1.10.22")
15 15
16 # Disable warning about 16 # Disable warning about
17 # 17 #
@@ -9,7 +9,7 @@ environment: @@ -9,7 +9,7 @@ environment:
9 sdk: ^3.4.0 9 sdk: ^3.4.0
10 10
11 dependencies: 11 dependencies:
12 - sherpa_onnx: ^1.10.21 12 + sherpa_onnx: ^1.10.22
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.4.0 9 sdk: ^3.4.0
10 10
11 dependencies: 11 dependencies:
12 - sherpa_onnx: ^1.10.21 12 + sherpa_onnx: ^1.10.22
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.4.0 9 sdk: ^3.4.0
10 10
11 dependencies: 11 dependencies:
12 - sherpa_onnx: ^1.10.21 12 + sherpa_onnx: ^1.10.22
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.10.21 13 + sherpa_onnx: ^1.10.22
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.4.0 9 sdk: ^3.4.0
10 10
11 dependencies: 11 dependencies:
12 - sherpa_onnx: ^1.10.21 12 + sherpa_onnx: ^1.10.22
13 path: ^1.9.0 13 path: ^1.9.0
14 args: ^2.5.0 14 args: ^2.5.0
15 15
@@ -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.10.21 14 + sherpa_onnx: ^1.10.22
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.10.21 11 + sherpa_onnx: ^1.10.22
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.4.0 10 sdk: ^3.4.0
11 11
12 dependencies: 12 dependencies:
13 - sherpa_onnx: ^1.10.21 13 + sherpa_onnx: ^1.10.22
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.4.0 9 sdk: ^3.4.0
10 10
11 dependencies: 11 dependencies:
12 - sherpa_onnx: ^1.10.21 12 + sherpa_onnx: ^1.10.22
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.10.21 8 +version: 1.10.22
9 9
10 topics: 10 topics:
11 - speech-recognition 11 - speech-recognition
@@ -30,7 +30,7 @@ dependencies: @@ -30,7 +30,7 @@ dependencies:
30 record: ^5.1.0 30 record: ^5.1.0
31 url_launcher: ^6.2.6 31 url_launcher: ^6.2.6
32 32
33 - sherpa_onnx: ^1.10.21 33 + sherpa_onnx: ^1.10.22
34 # sherpa_onnx: 34 # sherpa_onnx:
35 # path: ../../flutter/sherpa_onnx 35 # path: ../../flutter/sherpa_onnx
36 36
@@ -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.10.21 8 +version: 1.10.22
9 9
10 environment: 10 environment:
11 sdk: '>=3.4.0 <4.0.0' 11 sdk: '>=3.4.0 <4.0.0'
@@ -17,7 +17,7 @@ dependencies: @@ -17,7 +17,7 @@ dependencies:
17 cupertino_icons: ^1.0.6 17 cupertino_icons: ^1.0.6
18 path_provider: ^2.1.3 18 path_provider: ^2.1.3
19 path: ^1.9.0 19 path: ^1.9.0
20 - sherpa_onnx: ^1.10.21 20 + sherpa_onnx: ^1.10.22
21 url_launcher: ^6.2.6 21 url_launcher: ^6.2.6
22 audioplayers: ^5.0.0 22 audioplayers: ^5.0.0
23 23
@@ -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.10.21 20 +version: 1.10.22
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.10.21 33 + sherpa_onnx_android: ^1.10.22
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.10.21 37 + sherpa_onnx_macos: ^1.10.22
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.10.21 41 + sherpa_onnx_linux: ^1.10.22
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.10.21 45 + sherpa_onnx_windows: ^1.10.22
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.10.21 49 + sherpa_onnx_ios: ^1.10.22
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.10.21' 10 + s.version = '1.10.22'
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.10.21' 7 + s.version = '1.10.22'
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 "dependencies": { 2 "dependencies": {
3 - "sherpa-onnx-node": "^1.10.21" 3 + "sherpa-onnx-node": "^1.10.22"
4 } 4 }
5 } 5 }
@@ -316,44 +316,42 @@ const @@ -316,44 +316,42 @@ const
316 - https://downloads.freepascal.org/fpc/docs-pdf/CinFreePascal.pdf 316 - https://downloads.freepascal.org/fpc/docs-pdf/CinFreePascal.pdf
317 } 317 }
318 318
319 - {$IFDEF WINDOWS} 319 + {$if defined(WINDOWS)}
320 { For windows, we always use dynamic link. See 320 { For windows, we always use dynamic link. See
321 https://forum.lazarus.freepascal.org/index.php/topic,15712.msg84781.html#msg84781 321 https://forum.lazarus.freepascal.org/index.php/topic,15712.msg84781.html#msg84781
322 We need to rebuild the static lib for windows using Mingw or cygwin 322 We need to rebuild the static lib for windows using Mingw or cygwin
323 } 323 }
324 SherpaOnnxLibName = 'sherpa-onnx-c-api.dll'; 324 SherpaOnnxLibName = 'sherpa-onnx-c-api.dll';
325 - {$ELSE}  
326 - {$IFNDEF SHERPA_ONNX_USE_SHARED_LIBS}  
327 - {static link for linux and macos}  
328 - {$linklib sherpa-onnx-c-api}  
329 - {$linklib sherpa-onnx-core}  
330 - {$linklib kaldi-decoder-core}  
331 - {$linklib sherpa-onnx-kaldifst-core}  
332 - {$linklib sherpa-onnx-fstfar}  
333 - {$linklib sherpa-onnx-fst}  
334 - {$linklib kaldi-native-fbank-core}  
335 - {$linklib piper_phonemize}  
336 - {$linklib espeak-ng}  
337 - {$linklib ucd}  
338 - {$linklib onnxruntime}  
339 - {$linklib ssentencepiece_core}  
340 -  
341 - {$IFDEF LINUX}  
342 - {$linklib m}  
343 - {$LINKLIB stdc++}  
344 - {$LINKLIB gcc_s}  
345 - {$ENDIF}  
346 -  
347 - {$IFDEF DARWIN}  
348 - {$linklib c++}  
349 - {$ENDIF}  
350 - SherpaOnnxLibName = '';  
351 - {$ELSE}  
352 - {dynamic link for linux and macos}  
353 - SherpaOnnxLibName = 'sherpa-onnx-c-api';  
354 - {$linklib sherpa-onnx-c-api}  
355 - {$ENDIF}  
356 - {$ENDIF} 325 + {$elseif not defined(SHERPA_ONNX_USE_SHARED_LIBS)}
  326 + {static link for linux and macos}
  327 + {$linklib sherpa-onnx-c-api}
  328 + {$linklib sherpa-onnx-core}
  329 + {$linklib kaldi-decoder-core}
  330 + {$linklib sherpa-onnx-kaldifst-core}
  331 + {$linklib sherpa-onnx-fstfar}
  332 + {$linklib sherpa-onnx-fst}
  333 + {$linklib kaldi-native-fbank-core}
  334 + {$linklib piper_phonemize}
  335 + {$linklib espeak-ng}
  336 + {$linklib ucd}
  337 + {$linklib onnxruntime}
  338 + {$linklib ssentencepiece_core}
  339 +
  340 + {$ifdef LINUX}
  341 + {$linklib m}
  342 + {$LINKLIB stdc++}
  343 + {$LINKLIB gcc_s}
  344 + {$endif}
  345 +
  346 + {$ifdef DARWIN}
  347 + {$linklib c++}
  348 + {$endif}
  349 + SherpaOnnxLibName = '';
  350 + {$else}
  351 + {dynamic link for linux and macos}
  352 + SherpaOnnxLibName = 'sherpa-onnx-c-api';
  353 + {$linklib sherpa-onnx-c-api}
  354 + {$endif}
357 355
358 type 356 type
359 SherpaOnnxWave = record 357 SherpaOnnxWave = record