[mary-users] Mary TTS / MaryClientUser.java example
Ingmar Steiner
ingmar.steiner at dfki.de
Fri May 29 06:45:43 CEST 2015
Dear Mike,
thanks for your message, but I'm not sure it's productive to duplicate
your posts in https://github.com/marytts/marytts/issues/319 to the
mailing list. We're already discussing your issue on GitHub, and
potentially interested subscribers can refer to it there.
Best wishes,
-Ingmar
On 5/29/15 12:19 AM, blsn2020 at gmail.com wrote:
> Hi All,
>
> I'm trying to run the ‘MaryClientUser.java’ example file:
> (https://github.com/marytts/marytts/blob/master/marytts-assembly/assembly-runtime/src/runtime/doc/examples/client/MaryClientUser.java).
>
> More info on my unsuccessful attempts is as follows:
>
> https://github.com/marytts/marytts/issues/319
>
> If anybody succeeds in having this file to work correctly,
>
> I really appreciate to know why I’m getting the mentioned errors (GitHub
> issue #319).
>
> ·Mary TTS client 5.1.2 (impl. unknown)
>
> ·Server cannot connect.
>
> Thanks for your time,
>
> Mike
>
> -----Original Message-----
> From: Sébastien Le Maguer [mailto:slemaguer at coli.uni-saarland.de]
> Sent: Sunday, May 24, 2015 9:33 AM
> To: blsn2020 at gmail.com
> Cc: mary-users at dfki.de
> Subject: Re: [mary-users] Mary TTS / MaryClientUser.java example
>
> Hello,
>
> you need to add, add least, marytts-runtime, marytts-common and
> marytts-signalproc jar to your classpath.
>
> Kind regards,
>
> Sébastien
>
> blsn2020 at gmail.com <mailto:blsn2020 at gmail.com> writes:
>
> > Hi,
>
> >
>
> >
>
> >
>
> > The Mary TTS voices sounds great.
>
> >
>
> >
>
> >
>
> > I installed Mary TTS (version 5.1.2) on my Windows (and Linux computers).
>
> >
>
> > I started the Mary TTS server and the Mary TTS client, and I did some
>
> > trials with text to audio conversion in the GUI window.
>
> >
>
> >
>
> >
>
> > I hope I'm not bothering you with too much of a newbie questions.
>
> >
>
> >
>
> >
>
> > Now, I'm trying to run the MaryClientUser.java example.
>
> >
>
> > Compiling doesn’t work, the .class is not created.
>
> >
>
> >
>
> >
>
> > I've spent a few hours over the last couple of days on this issue but
>
> > with no success.
>
> >
>
> > The following note is mentioned in the example file, (p.s. I can’t
>
> > find
>
> > ‘maryclient.jar’):
>
> >
>
> >
>
> >
>
> > /**
>
> >
>
> > * A demo class illustrating how to use the MaryClient class.
>
> >
>
> > * This will connect to a MARY server, version 4.x.
>
> >
>
> > * It requires maryclient.jar from MARY 4.0.
>
> >
>
> > * This works transparently with MARY servers in both http and socket
>
> > server mode.
>
> >
>
> > *
>
> >
>
> > * Compile this as follows:
>
> >
>
> > * <code>javac -cp maryclient.jar MaryClientUser.java</code>
>
> >
>
> > *
>
> >
>
> > * And run as:
>
> >
>
> > * <code>java -cp .:maryclient.jar MaryClientUser</code>
>
> >
>
> > *
>
> >
>
> > * @author marc
>
> >
>
> > *
>
> >
>
> > */
>
> >
>
> >
>
> >
>
> > However I get the following error message:
>
> >
>
> > ----------
>
> >
>
> > C:\Users\Mike\Documents\DreamwaveDocs\edchant>javac -cp maryclient.jar
>
> > MaryClientUser.java
>
> >
>
> > MaryClientUser.java:43: error: package marytts.util.data.audio does
>
> > not exist
>
> >
>
> > import marytts.util.data.audio.AudioPlayer;
>
> >
>
> > ^
>
> >
>
> > MaryClientUser.java:44: error: package marytts.client does not exist
>
> >
>
> > import marytts.client.MaryClient;
>
> >
>
> > ^
>
> >
>
> > MaryClientUser.java:45: error: package marytts.util.http does not
>
> > exist
>
> >
>
> > import marytts.util.http.Address;
>
> >
>
> > ^
>
> >
>
> > MaryClientUser.java:71: error: cannot find symbol
>
> >
>
> > MaryClient mary = MaryClient.getMaryClient(new
>
> > Address(serverHost, serve
>
> >
>
> > rPort));
>
> >
>
> > ^
>
> >
>
> > symbol: class MaryClient
>
> >
>
> > location: class MaryClientUser
>
> >
>
> > MaryClientUser.java:71: error: cannot find symbol
>
> >
>
> > MaryClient mary = MaryClient.getMaryClient(new
>
> > Address(serverHost, serve
>
> >
>
> > rPort));
>
> >
>
> > ^
>
> >
>
> > symbol: class Address
>
> >
>
> > location: class MaryClientUser
>
> >
>
> > MaryClientUser.java:71: error: cannot find symbol
>
> >
>
> > MaryClient mary = MaryClient.getMaryClient(new
>
> > Address(serverHost, serve
>
> >
>
> > rPort));
>
> >
>
> > ^
>
> >
>
> > symbol: variable MaryClient
>
> >
>
> > location: class MaryClientUser
>
> >
>
> > MaryClientUser.java:100: error: cannot find symbol
>
> >
>
> > AudioPlayer ap = new AudioPlayer(ais, lineListener);
>
> >
>
> > ^
>
> >
>
> > symbol: class AudioPlayer
>
> >
>
> > location: class MaryClientUser
>
> >
>
> > MaryClientUser.java:100: error: cannot find symbol
>
> >
>
> > AudioPlayer ap = new AudioPlayer(ais, lineListener);
>
> >
>
> > ^
>
> >
>
> > symbol: class AudioPlayer
>
> >
>
> > location: class MaryClientUser
>
> >
>
> > 8 errors
>
> >
>
> > ----------
>
> >
>
> >
>
> >
>
> > How to make the example file to work?
>
> >
>
> > Thanks again for the help request.
>
> >
>
> >
>
> >
>
> > Best wishes,
>
> >
>
> > Mike
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
>
> > ━━━━━━━━━
>
> >
>
> > [avast-mail] This email is free from viruses and malware because avast!
>
> > Antivirus protection is active.
>
> --
>
> Dr. Sébastien Le Maguer
>
> Postdoctorate researcher
>
> Saarland University
>
> Campus C7.4 - room 2.03
>
> D-66123 Saarbrücken
>
> Germany
>
> phone : +49-681-302-70030
>
> Mail: slemaguer at coli.uni-saarland.de <mailto:slemaguer at coli.uni-saarland.de>
>
> website : http://www.coli.uni-saarland.de/~slemaguer/
>
>
>
> ------------------------------------------------------------------------
> Avast logo <http://www.avast.com/>
>
> This email has been checked for viruses by Avast antivirus software.
> www.avast.com <http://www.avast.com/>
>
>
>
>
> _______________________________________________
> Mary-users mailing list
> Mary-users at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/mary-users
>
More information about the Mary-users
mailing list