<h1 id="using-piper">Using Piper</h1>
<h2 id="github">Github</h2>
<p>Piper</p>
<p><a href="https://github.com/rhasspy/piper" title="Piper Github">Piper
Github</a></p>
<p>Thorsten-Voice</p>
<p><a href="https://github.com/thorstenMueller/Thorsten-Voice"
title="Thorsten-Voice Github">Thorsten-Voice Github</a></p>
<h2 id="readme">README</h2>
<p><a href="https://github.com/rhasspy/piper/blob/master/README.md"
title="Piper Github README">Piper Github README</a></p>
<h2 id="videos">Videos</h2>
<p>Create your AI digital voice clone locally with Piper TTS |
Tutorial</p>
<p><a href="https://www.youtube.com/watch?v=b_we_jma220"
title="Create voice clone with Piper">Create voice clone with
Piper</a></p>
<p>Thorsten-Voice</p>
<p><a href="https://www.youtube.com/@ThorstenMueller"
title="Thorsten Mueller">Thorsten Mueller</a></p>
<h2 id="voices">Voices</h2>
<h3 id="voice-repo">Voice repo</h3>
<p><a href="https://huggingface.co/rhasspy/piper-voices/tree/main"
title="Piper voices">Piper voices</a></p>
<h3 id="voice-sample-testing">Voice sample testing</h3>
<p><a href="https://rhasspy.github.io/piper-samples"
title="Voice sample testing">Voice sample testing</a></p>
<h2 id="clone-voices">Clone voices</h2>
<p>Clone this model repository</p>
<h3 id="make-sure-you-have-git-lfs-installed">Make sure you have git-lfs
installed</h3>
<p><a href="https://git-lfs.com" title="Git lfs (Large filesystem)">Git
lfs (Large filesystem)</a></p>
<p>In my case on Fedora 39</p>
<pre><code>sudo dnf install git-lfs | teelog</code></pre>
<h2 id="aside">Aside</h2>
<p>I use an alias to create a log file with a date stamp</p>
<pre><code>alias teelog=&#39;tee -a ~/logfiles/dump_`date +&quot;%Y-%m-%d_%H%M%S&quot;`.log&#39;</code></pre>
<pre><code>git lfs install
git clone https://huggingface.co/rhasspy/piper-voices

# if you want to clone without large files &#x2013; just their pointers
# prepend your git clone with the following env var:

GIT_LFS_SKIP_SMUDGE=1</code></pre>
<h3 id="sample-usage">Sample usage</h3>
<pre><code>echo &#39;Welcome to the world of speech synthesis!&#39; | ./piper --model en_US-lessac-medium.onnx --output_file welcome.wav</code></pre>
<h3 id="usage-from-a-text-file">Usage from a text file</h3>
<pre><code>cat sample/hamlet_to_be.txt | piper --model ~/git/piper/etc/test_voice.onnx --output_file hamlet_to-be_piper_sample_voice.wav</code></pre>
