<pre>Hi,
I am running into the following error when using cmu-rms-hsmm
and cmu-bdl-hsmm voices with MaryTTS 5.0.

*Unsupported conversion: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2
bytes/frame, little-endian from PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2
bytes/frame, little-endian*

cmu-slt-hsmm is working fine, though. I am
using voice-cmu-bdl-hsmm-5.0-SNAPSHOT.jar
and voice-cmu-rms-hsmm-5.0-SNAPSHOT.jar that I downloaded from
<a href="http://mary.dfki.de/download/5.0-SNAPSHOT/">http://mary.dfki.de/download/5.0-SNAPSHOT/</a></pre><pre><br></pre><pre>I am using Java 1.6 on windows.

The source code is below.

import java.util.Locale;

import javax.sound.sampled.*;

import marytts.LocalMaryInterface;
import marytts.util.data.audio.MaryAudioUtils;
public class Test {
 public static void main(String[] args) {
 try {
LocalMaryInterface marytts = new LocalMaryInterface();
marytts.setLocale(Locale.US);
 //marytts.setVoice(&quot;cmu-slt-hsmm&quot;);
marytts.setVoice(&quot;cmu-rms-hsmm&quot;);
 //marytts.setVoice(&quot;cmu-bdl-hsmm&quot;);
 AudioInputStream audio = marytts.generateAudio(&quot;Hello World!&quot;);
 MaryAudioUtils.writeWavFile(MaryAudioUtils.getSamplesAsDoubleArray(audio),
&quot;thisIsMyText.wav&quot;, audio.getFormat());
 } catch (Exception e) {
 e.printStackTrace();
 }
}
}

The complete stack trace is below.

marytts.exceptions.SynthesisException: cannot process
at marytts.LocalMaryInterface.process(LocalMaryInterface.java:378)
 at marytts.LocalMaryInterface.generateAudio(LocalMaryInterface.java:306)
at Test.main(Test.java:17)
Caused by: java.lang.Exception: Module Synthesis: Problem processing the
data.
at marytts.server.Request.processOneChunk(Request.java:551)
 at marytts.server.Request.processOrLookupOneChunk(Request.java:389)
at marytts.server.Request.process(Request.java:336)
 at marytts.LocalMaryInterface.process(LocalMaryInterface.java:376)
... 2 more
Caused by: javax.sound.sampled.UnsupportedAudioFileException: Conversion
from audio format PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame,
little-endian to requested audio format PCM_SIGNED 48000.0 Hz, 16 bit,
mono, 2 bytes/frame, little-endian not supported.
Unsupported conversion: PCM_SIGNED 48000.0 Hz, 16 bit, mono, 2 bytes/frame,
little-endian from PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame,
little-endian
at marytts.modules.Synthesis.synthesizeOneSection(Synthesis.java:288)
 at marytts.modules.Synthesis.process(Synthesis.java:232)
at marytts.server.Request.processOneChunk(Request.java:549)
 ... 5 more

Please advise. Thanks in advance for your help.

Best Regards,
Sri</pre>