Back to Sherpa Onnx

Introduction

pascal-api-examples/README.md

1.13.01.8 KB
Original Source

Introduction

This directory contains examples for how to use the Object Pascal APIs of sherpa-onnx.

Documentation for this directory: https://k2-fsa.github.io/sherpa/onnx/pascal-api/index.html

DirectoryDescription
read-wavIt shows how to read a wave file.
speaker-diarizationIt shows how to use Pascal API for speaker diarization.
speech-enhancement-gtcrnIt shows how to use the offline speech denoiser API with GTCRN.
speech-enhancement-dpdfnetIt shows how to use the offline speech denoiser API with DPDFNet. Use dpdfnet_baseline.onnx, dpdfnet2.onnx, dpdfnet4.onnx, or dpdfnet8.onnx for 16 kHz downstream ASR and dpdfnet2_48khz_hr.onnx for 48 kHz enhancement output.
streaming-speech-enhancement-gtcrnIt shows how to use the streaming speech denoiser API with GTCRN.
streaming-speech-enhancement-dpdfnetIt shows how to use the streaming speech denoiser API with DPDFNet.
streaming-asrIt shows how to use streaming models for speech recognition.
non-streaming-asrIt shows how to use non-streaming models for speech recognition.
vadIt shows how to use the voice activity detection API.
vad-with-non-streaming-asrIt shows how to use the voice activity detection API with non-streaming models for speech recognition.
portaudio-testIt shows how to use PortAudio for recording and playing.
ttsIt shows how to use the text-to-speech API.