Comments (2)
Please see
https://github.com/k2-fsa/sherpa-onnx/blob/master/python-api-examples/generate-subtitles.py
You can generate subtitles, which contain both time and text.
from sherpa-onnx.
Thank you very much for your reply. This code is too complex for simple text-speech-generation. I decided to split the text into several sentences and used pydub to calculate time length.
from sherpa-onnx.
Related Issues (20)
- 在做ASR时,如果对麦克风收音做降噪处理? HOT 2
- TTS,除了命令行调用外,能否在Python里直接调用?想避免模型重复加载耗时 HOT 4
- [Help wanted] Add OnlineNeMoCtcModelConfig to C API
- [Help wanted] Flutter APP for text-to-speech HOT 2
- 把SherpaOnnx 样例的Android kotlin代码转成Java就无法识别声音 HOT 3
- 如何调节输出音频的音量 HOT 1
- The command line tool named 'sherpa-onnx-cli' for convert the original keywords to tokens HOT 2
- Keyword spotting:iOS的keywords模型有吗 HOT 1
- Could you upload the apk of the latest update HOT 6
- swift api 中的hotwords,等同kotlin里的keywords吗 HOT 2
- I'm searching for the sherpa app in which the user can load a gguf model locally and chat with it using text messages HOT 1
- ImportError: ../../../_deps/onnxruntime-src/lib/libonnxruntime_providers_cuda.so: cannot open shared object file: No such file or directory HOT 54
- 发型的paraformer 2pass apk包,这个paraformer是large模型吗 HOT 2
- win x64 使用paraformer模型的问题 HOT 12
- 请问python脚本下usb声卡语音不能识别,怎么解决 HOT 6
- Import Piper / VITS as iOS Custom System Voices for TTS using AVSpeechSynthesisProviderAudioUnit Extension in Swift HOT 2
- Convert new piper tts models. HOT 1
- Multi-language support issue with Sherpa ONNX conversion (on android device) HOT 5
- Use offline model to stream online HOT 1
- Errors and Questions regarding exporting a model HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sherpa-onnx.