Add JavaScript API (wasm) for speech enhancement GTCRN models (#2007)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "sherpa-onnx-PLATFORM2-ARCH",
|
||||
"version": "SHERPA_ONNX_VERSION",
|
||||
"description": "Speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without internet connection",
|
||||
"description": "Speech-to-text, text-to-speech, speaker diarization, and speech enhancement using Next-gen Kaldi without internet connection",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
@@ -46,7 +46,9 @@
|
||||
"vad",
|
||||
"node-addon-api",
|
||||
"speaker id",
|
||||
"language id"
|
||||
"language id",
|
||||
"speech enhancement",
|
||||
"denoising"
|
||||
],
|
||||
"author": "The next-gen Kaldi team",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
6
.github/scripts/node-addon/package.json
vendored
6
.github/scripts/node-addon/package.json
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "sherpa-onnx-node",
|
||||
"version": "SHERPA_ONNX_VERSION",
|
||||
"description": "Speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without internet connection",
|
||||
"description": "Speech-to-text, text-to-speech, speaker diarization, and speech enhancement using Next-gen Kaldi without internet connection",
|
||||
"main": "sherpa-onnx.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
@@ -46,7 +46,9 @@
|
||||
"vad",
|
||||
"node-addon-api",
|
||||
"speaker id",
|
||||
"language id"
|
||||
"language id",
|
||||
"speech enhancement",
|
||||
"denoising"
|
||||
],
|
||||
"author": "The next-gen Kaldi team",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
10
.github/scripts/test-nodejs-npm.sh
vendored
10
.github/scripts/test-nodejs-npm.sh
vendored
@@ -9,6 +9,16 @@ git status
|
||||
ls -lh
|
||||
ls -lh node_modules
|
||||
|
||||
# speech enhancement
|
||||
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/speech-enhancement-models/gtcrn_simple.onnx
|
||||
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/speech-enhancement-models/inp_16k.wav
|
||||
node ./test-offline-speech-enhancement-gtcrn.js
|
||||
ls -lh *.wav
|
||||
rm gtcrn_simple.onnx
|
||||
rm inp_16k.wav
|
||||
rm enhanced-16k.wav
|
||||
|
||||
|
||||
# offline tts
|
||||
#
|
||||
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/kokoro-multi-lang-v1_0.tar.bz2
|
||||
|
||||
@@ -4,7 +4,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- wasm
|
||||
- wasm-gtcrn
|
||||
tags:
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+*'
|
||||
|
||||
@@ -79,9 +78,9 @@ jobs:
|
||||
file_glob: true
|
||||
overwrite: true
|
||||
file: ./*.tar.bz2
|
||||
repo_name: k2-fsa/sherpa-onnx
|
||||
repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
|
||||
tag: v1.10.46
|
||||
# repo_name: k2-fsa/sherpa-onnx
|
||||
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
|
||||
# tag: v1.10.46
|
||||
|
||||
- name: Release
|
||||
if: github.repository_owner == 'k2-fsa' && github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||
|
||||
Reference in New Issue
Block a user