-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
piper: add page #13144
base: main
Are you sure you want to change the base?
piper: add page #13144
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! I have added some suggestions.
@@ -0,0 +1,28 @@ | |||
# piper | |||
|
|||
> A fast, local neural text to speech system that sounds great. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
> A fast, local neural text to speech system that sounds great. | |
> A fast, local neural text to speech system. |
This is the self-description of the program.
> A fast, local neural text to speech system that sounds great. | ||
> More information: <https://github.com/rhasspy/piper>. | ||
|
||
- Output a wav [f]ile using a [m]odel (assuming config json at path to model_path + .json): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Output a wav [f]ile using a [m]odel (assuming config json at path to model_path + .json): | |
- Output a WAV [f]ile using a text-to-speech [m]odel (assuming config json at path to model_path + .json): |
|
||
`echo {{Thing to say}} | piper -m {{path/to/model.onnx}} -f {{outputfile.wav}}` | ||
|
||
- Output a wav [f]ile using a [m]odel and specifying its [c]onfig json: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Output a wav [f]ile using a [m]odel and specifying its [c]onfig json: | |
- Output a WAV [f]ile using a [m]odel and specifying its [c]onfig json: |
|
||
`echo {{Thing to say}} | piper -m {{path/to/model.onnx}} -c {{path/to/model.onnx.json}} -f {{outputfile.wav}}` | ||
|
||
- Select a particular speaker in a voice with multiple speakers: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Select a particular speaker in a voice with multiple speakers: | |
- Select a particular speaker in a voice with the specified number of speakers: |
- Stream output immediately to mpv (synthesizing second sentence while first sentence is spoken): | ||
|
||
`echo {{'First sentence. Second sentence'}} | piper -m {{en_GB-northern_english_male-medium.onnx}} --output-raw -f - | mpv -` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Stream output immediately to mpv (synthesizing second sentence while first sentence is spoken): | |
`echo {{'First sentence. Second sentence'}} | piper -m {{en_GB-northern_english_male-medium.onnx}} --output-raw -f - | mpv -` | |
- Stream the output to the MPV media player: | |
`echo {{'First sentence. Second sentence'}} | piper -m {{en_GB-northern_english_male-medium.onnx}} --output-raw -f - | mpv -` |
- Download model and config after trying it out on <https://rhasspy.github.io/piper-samples/>: | ||
|
||
`export MODEL="{{en_GB-alba-medium}}"; for EXT in .onnx .onnx.json; do curl -L "https://huggingface.co/rhasspy/piper-voices/resolve/main/{{en/en_GB/alba/medium/}}$MODEL$EXT" > $MODEL$EXT; done` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if I'd keep this example ... After all, this demonstrates how to download files, and not the usage of piper
common
,linux
,osx
,windows
,sunos
,android
, etc.