title: How to add a new voice to MBROLA - FreeTTS
body: <p>I took several days trying to add different voices that us1, us2 and us3 in a project with MBROLA and FreeTTS. I'm working with Eclipse on Windows (64bits) </p>
  
  <p>I have read all this messages:</p>
  
  <p><a href="https://stackoverflow.com/questions/19229196/how-to-change-voice-in-freetts-java">How to change voice in FreeTTS - Java</a></p>
  
  <p><a href="https://stackoverflow.com/questions/20323703/freetts-text-to-speech-setting-mbrola-voice-com-sun-speech-freetts-processexce">freetts - text to speech setting mbrola voice com.sun.speech.freetts.ProcessException: Processing Utterance:</a></p>
  
  <p><a href="https://stackoverflow.com/questions/26236562/mbrola-voices-with-freetts-windows">MBROLA voices with FreeTTS - Windows</a></p>
  
  <p><a href="https://stackoverflow.com/questions/13810052/freetts-mbrola-not-able-to-find-path">FreeTTS mbrola not able to find path</a></p>
  
  <p><a href="https://stackoverflow.com/questions/19229196/how-to-change-voice-in-freetts-java">How to change voice in FreeTTS - Java</a></p>
  
  <p>and this other</p>
  
  <p><a href="http://sourceforge.net/p/freetts/discussion/137669/thread/848a09ab" rel="nofollow noreferrer">http://sourceforge.net/p/freetts/discussion/137669/thread/848a09ab</a></p>
  
  <p>These are the steps I've done: </p>
  
  <p>1.- First i read Freetts docs <a href="http://freetts.sourceforge.net/docs/index.php#download_and_install" rel="nofollow noreferrer">http://freetts.sourceforge.net/docs/index.php#download_and_install</a></p>
  
  <p>2.- I've donwload </p>
  
  <pre><code>freetts-1.2.2-src.zip and freetts-1.2.2-bin.zip
  </code></pre>
  
  <p>3.- I've created new Eclipse Project and I've added </p>
  
  <pre><code>freetts-1.2.2-src\freetts-1.2.2\demo\freetts\HelloWorld\FreeTTSHelloWorld.java
  </code></pre>
  
  <p>4.- Import jar</p>
  
  <pre><code>freetts-1.2.2-bin\freetts-1.2\lib\freetts.jar
  </code></pre>
  
  <p>When running, in the console I get</p>
  
  <pre><code>All voices available:
  System property "mbrola.base" is undefined.  Will not use MBROLA voices.
      alan (time domain)
      kevin (general domain)
      kevin16 (general domain)
  
  Using voice: kevin16
  System property "mbrola.base" is undefined.  Will not use MBROLA voices.
  </code></pre>
  
  <p>Then I've donwload MBROLA PC/DOS binary </p>
  
  <pre><code>mbr301d.zip 
  </code></pre>
  
  <p>from <a href="http://tcts.fpms.ac.be/synthesis/mbrola.html" rel="nofollow noreferrer">http://tcts.fpms.ac.be/synthesis/mbrola.html</a></p>
  
  <p>I've unzip this at </p>
  
  <pre><code>C:\Users\Usuario\Downloads\mbr301d
  </code></pre>
  
  <p>and added the us1, us2 and us3 voices. The folder structure is:</p>
  
  <pre><code>mbr302a (folder)
  us1 (folder)
  us2 (folder)
  us3 (folder)
  mbrola.exe
  readme.txt
  </code></pre>
  
  <p>Now i set mbrola.base </p>
  
  <pre><code>System.setProperty("mbrola.base", "C:\\Users\\Usuario\\Downloads\\mbr301d");
  </code></pre>
  
  <p>And when i run again:</p>
  
  <pre><code>All voices available:
      alan (time domain)
      kevin (general domain)
      kevin16 (general domain)
      mbrola_us1 (general domain)
      mbrola_us2 (general domain)
      mbrola_us3 (general domain)
  
  Using voice: mbrola_us1 
  </code></pre>
  
  <p>Everything works perfect with those voices. But i need working with spanish voices. Then i've donwload from MBROLA website </p>
  
  <pre><code>es1: Spanish Male (2.1Mb)    Alistair Conkie
  es2: Spanish Male (5.1Mb)    TCC Communications Corp.
  es3: Spanish Female (1.9Mb)    Universidad Carlos III de Madrid
  </code></pre>
  
  <p>and unzip at my MBROLA folder</p>
  
  <pre><code>mbr302a (folder)
  us1 (folder)
  us2 (folder)
  us3 (folder)
  es1 (folder)
  es2 (folder)
  es3 (folder)
  mbrola.exe
  readme.txt
  </code></pre>
  
  <p>But when i run again, not found. I get the same voices than before.</p>
  
  <p>Has anyone run mbrola with different voices than us1, us2 and us3? What steps i need follow to configure the new voices?</p>