[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] freetts and windows (noob)



 Hi Sciss,

Thanks for the quick response.

I tried putting the .jar files in a lot of different locations:

c:\Program Files (x86)\Java\jre6\lib
c:\Program Files (x86)\Java\jre6\lib
c:\Program Files (x86)\SuperCollider\
c:\Program Files (x86)\SuperCollider\SCClassLibrary\
c:\Program Files (x86)\SuperCollider\SCClassLibrary\SwingOSC\

I even reinstalled the jre into the root drive and tried:

c:\Java\

Each time I would change the classpath to include these paths, but each time I tried to run the example I would get the same result.

I'll try putting it in the Extensions folder and see what happens. It just might be time to get a Mac...

-Daniel


On 9/22/2010 11:34 AM, Sciss wrote:
hi,

i recently reviewed the install process. this is from the current JSpeech help file:

JSpeech lets you use the java freetts speech synthesizer.

To use this synthesizer, you will have to install the free java text-to-speech synthesis package "FreeTTS"
	- Download and unzip the 1.2.2 binary from http://sourceforge.net/projects/freetts
	- Copy at least the following files from the lib folder into your's system class path:
		cmu_us_kal.jar
		cmulex.jar
		en_us.jar
		freetts.jar
	  (the java system class path for example on Mac OS X is : /Library/Java/Extensions)
	- Copy the file speech.properties into your home folder (~)
	- (Re)boot SwingOSC

hope that helps.

best, -sciss-



Am 22.09.2010 um 15:24 schrieb mcshane:

I'm new to SC (half way through the Cottle book). I was recently reviewing my
reading (had to put SC down for a month to complete a time lapse project)
and decided to give the "Hello World".speak; example a try. I downloaded
freetts, set up the classpath, etc... I continue to get the error:

getObject : java.lang.ClassNotFoundException :
com.sun.speech.freetts.VoiceManager
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	...
FAILURE /method Object not found : com.sun.speech.freetts.VoiceManager
FAILURE /methodr Cannot operate on null result
FAILURE /method Object not found : speech
FAILURE /set Object not found : speech
FAILURE /method Object not found : speech

I've tried dynamically adding classes, moving the freetts.jar to various
locations, but to no avail.

Has anyone had success having SC locate freetts in the Windows environment,
and would be willing to help a newcomer?

-mcshane
www.sattvastudio.com
--
View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/freetts-and-windows-noob-tp5559061p5559061.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/




_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/