[mary-users] Building HMM voices in 22050 Hz

Anderson de Oliveira Monte andersonxef at gmail.com
Sat Apr 21 18:19:04 CEST 2012


Hello Marcela,

Thanks for the settings. Now I have another problem to solve.

The voice that MARY synthesizes sounds rougher than the one synthesized by
the hts-engine during the HTS script training.

In addition to that, an exception occurrs when I try to save the audio of
this voice in .wav and .aiff files, it's only possible to save it in au.
files.

In the attachments you will find:

- Examples of the voice synthesized by hts-engine (gen_voz0001.wav) and by
MARY TTS (MARY_voz0001.au);
- The dialog box of the exception;
- A text file containing the error message of the exception.

Is there any configuration setting that I'm still missing?

Regards,

Anderson

2012/4/16 Marcela Charfuelan <Marcela.Charfuelan at dfki.de>

> **
> Dear Anderson de Oliveira Monte,
>
> The default settings are for 16Kz,
> HMMVoiceConfigure.fftLen 512
> HMMVoiceConfigure.frameLen 400  (0.025 sec)
> HMMVoiceConfigure.frameShift 80   (0.005 sec)
> HMMVoiceConfigure.freqWarp 0.42
>
> so if you want to train with 22050, please take into account the following
> settings:
>
> HMMVoiceConfigure.fftLen 512
> HMMVoiceConfigure.frameLen ~ 550  (0.025*22050)
> HMMVoiceConfigure.frameShift ~ 110  (0.005*22050)
> HMMVoiceConfigure.freqWarp  0.45
>
> Frequency warping factor:
> 8000 FREQWARP=0.31
> 10000 FREQWARP=0.35
> 12000 FREQWARP=0.37
> 16000 FREQWARP=0.42
> 22050 FREQWARP=0.45
> 32000 FREQWARP=0.45
> 44100 FREQWARP=0.53
> 48000 FREQWARP=0.55
>
> Regards,
> Marcela.
>
>
> On 04/13/2012 05:52 AM, Anderson de Oliveira Monte wrote:
>
> Hello,
>
>  I was able to build and install in MARY TTS a Brazilian Portuguese HMM
> Voice using wav files that were downsampled to 16000Hz.
>
>  Now I'm trying to build another voice with the same wav files in their
> original sampling rate (22050Hz). I've made two attempts, each one with the
> following sets of external programs:
>
>  *RECOMMENDED SET (by MARY's HMM-based voice building tutorial):*
> *HTS-2.1*
> *HTK-3.4*
> *HDecode-3.4*
> *SPTK-3.2 *
> *hts_engine_API-1.01 *
> *========================================================================*
> *ALTERNATIVE SET:*
> *HTS-2.1.1*
> *HTK-3.4.1*
> *HDecode-3.4.1*
>  *SPTK-3.3 *
> *hts_engine_API-1.03*
>
>  With the RECOMMENDED set, I was able to build and install the voice in
> MARY without erros. However, it's impossible to understand what it says (I
> believe it has something to do with the alignment step, although no error
> was reported during the whole voice building process). With the ALTERNATIVE
> set, I was able to build a nice voice, better than the one in 16000Hz (I
> checked it at the directories under "hts/gen/qst001/ver1/1mix/"), but
> errors ocurred when the training process tried to synthesize waveforms
> using the hts-engine (not only in version 1.03, but also in versions 1.01
> and 1.06). In addition to that, I tried to install and use this voice in
> MARY TTS, but errors also occurred when the MARY SERVER tried to load it.
>
>  I would like to know if anybody has already built a HMM voice in 22050Hz
> in MARY. If yes, how did you solve such issues and what versions of the
> mentioned programs did you use? Is there any version of MARY TTS with
> improvements or bugfixes to solve these issues?
>
>  All the best,
>
>  Anderson
>
>
> _______________________________________________
> Mary-users mailing listMary-users at dfki.dehttp://www.dfki.de/mailman/cgi-bin/listinfo/mary-users
>
>
>
> --
> _______________________________________________________________
>  Marcela Charfuelan, Researcher, DFKI GmbH
>  Projektbuero Berlin, Alt-Moabit 91c, D-10559 Berlin, Germany
>  Phone: +49 (0)30 23895-1821
>  URL  : http://www.dfki.de/~charfuel/
> _______________________________________________________________
>  Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
>  Firmensitz: Trippstadter Strasse 122, D-67663 Kaiserslautern
>  Geschaeftsfuehrung:
>  Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
>  Dr. Walter Olthoff
>  Vorsitzender des Aufsichtsrats:
>  Prof. Dr. h.c. Hans A. Aukes
>  Amtsgericht Kaiserslautern, HRB 2313
> _______________________________________________________________
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/mary-users/attachments/20120421/237454da/attachment-0001.htm 
-------------- next part --------------
java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:59125/process
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)
	at marytts.client.http.MaryHttpClient.requestInputStream(MaryHttpClient.java:435)
	at marytts.client.http.MaryHttpClient._process(MaryHttpClient.java:481)
	at marytts.client.MaryClient.process(MaryClient.java:661)
	at marytts.client.MaryGUIClient.saveOutput(MaryGUIClient.java:1041)
	at marytts.client.MaryGUIClient.access$1800(MaryGUIClient.java:98)
	at marytts.client.MaryGUIClient$10.actionPerformed(MaryGUIClient.java:673)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6203)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:5968)
	at java.awt.Container.processEvent(Container.java:2105)
	at java.awt.Component.dispatchEventImpl(Component.java:4564)
	at java.awt.Container.dispatchEventImpl(Container.java:2163)
	at java.awt.Component.dispatchEvent(Component.java:4390)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
	at java.awt.Container.dispatchEventImpl(Container.java:2149)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4390)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
	at java.awt.EventQueue.access$000(EventQueue.java:96)
	at java.awt.EventQueue$1.run(EventQueue.java:608)
	at java.awt.EventQueue$1.run(EventQueue.java:606)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
	at java.awt.EventQueue$2.run(EventQueue.java:622)
	at java.awt.EventQueue$2.run(EventQueue.java:620)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gen_voz0001.wav
Type: audio/x-wav
Size: 180884 bytes
Desc: not available
Url : http://www.dfki.de/pipermail/mary-users/attachments/20120421/237454da/attachment-0001.wav 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MARY_voz0001.au
Type: audio/basic
Size: 160998 bytes
Desc: not available
Url : http://www.dfki.de/pipermail/mary-users/attachments/20120421/237454da/attachment-0001.au 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IOException.png
Type: image/png
Size: 18381 bytes
Desc: not available
Url : http://www.dfki.de/pipermail/mary-users/attachments/20120421/237454da/attachment-0001.png 


More information about the Mary-users mailing list