Skip to content

A GStreamer Text-to-speech element using Coqui

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

avstack/gst-coquitts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gst-coquitts: A GStreamer element that does text-to-speech using Coqui.

Accepts text buffers on its sink pad, does text-to-speech using Coqui, and produces audio buffers on its source pad.

Installation

gst-coquitts is written in Rust and uses the cargo-c helper. Set up a Rust development environment (e.g. using rustup) and then:

cargo install cargo-c

git clone https://github.com/avstack/gst-coquitts
cd gst-coquitts
cargo cbuild --release
export GST_PLUGIN_PATH=$(pwd)/target/release

Example usage

The Coqui TTS python module must be installed. It's recommended to use a Python virtual environment. You can list possible models with Coqui's tts --list_models command.

gst-launch-1.0 --quiet fdsrc ! 'text/x-raw,format=utf8' ! coquitts model=tts_models/en/ljspeech/fast_pitch ! autoaudiosink

License

gst-coquitts is licensed under either of

at your option.

Contribution

Any kinds of contributions are welcome as a pull request.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in these crates by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Acknowledgements

gst-coquitts development is sponsored by AVStack. We provide globally-distributed, scalable, managed Jitsi Meet backends.

About

A GStreamer Text-to-speech element using Coqui

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published