Comments (5)
Fantastic @synesthesiam, I'll try as soon as I can with that output configuration in python :-) If I can make it work I'll try to write a test to submit so there's atleast an example of parsing some text.
from larynx.
Did you solve this? I'm trying to stream the audio file and save it contemporaneously, and I can only do that if I launch larynx twice.
from larynx.
@framilano Yes, I used python to save it to a file. You must import wavfile from larynx and then call the save method from it. The problem I'm encountering with this method is I find it hard to understand what value the bitrate should have.
from larynx.
The raw stream doesn't contain WAV header info since I can't know the duration beforehand. By default, the output should be 22050 Hz 16-bit mono PCM.
Here's an example using sox
to save to a WAV file:
larynx --raw-stream < test.txt | sox -t raw -r 22050 -b 16 -c 1 -e signed-integer - -t wav test.wav
from larynx.
Hi @synesthesiam ,
I tried to use the configuration you sent me with python, but I'm having a hard time setting the 16-bit mono PCM (I apologize but I'm not familiar with audio theory) would you please share an example?
Thanks a lot
from larynx.
Related Issues (20)
- Colab example showing how to train/finetune
- How to send text to larynx SERVER using BASH script? HOT 2
- Python install fail HOT 2
- Voice suggestion: GLaDOS from portal HOT 3
- How to change port number when running from docker HOT 4
- Suppress warnings
- Reads nice as niece
- Make web demo optional
- how to init a docker image which contains specified voice
- How to train a voice model? HOT 1
- Browser request for favicon.ico returns HTTP 500 error and error on console
- ImportError: cannot import name 'escape' from 'jinja2' HOT 1
- voices-dir option of larynx.server doesn't work
- Dates like "1700s" and "1980s" are replaced with the current date
- Question about quality of voice HOT 1
- Improve performance with caching HOT 1
- Bash MacOS Install won't run due to CERTIFICATE_VERIFY_FAILED
- Persian support
- larynx.text_to_speech() function doesn't work HOT 1
- Failed to COPY download/ /download/ during docker build 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 larynx.