I found a line of code that gets the ProgramAB to talk and listen and it works fine on my laptop but I can't seem to get anything to work on the PI. I used this
ear.addTextListener(alice)
alice.addTextListener(mouth)
(I opened Services with the correct names)
one or both of these were in a tutorial that I followed. I seem to be having alot of problems getting things to work on the RasPi. Any suggestions or any idea where I can go to learn more about this?
PI Speakers
The default sound output on the PI is the HDMI interface. So if you have it connected to a HDMI display, then the sound should go that way.
The other alternative is to connect a speaker to the 3.5 mm jack. In that case you need to force the sound to go thru that jack. You can do that using:
sudo raspi-config
and the select Advanced options => Audio => Force 3.5mm headphone jack.
Also check in the Volume control, so that it's not muted and that you have the volume turned up a bit.
Respond sound
I've done all that and sound works on YouTube or anything else just not with MRL.
Raspi3 Sound
Ok, now I went to youtube and played a video and i can hear it. I installed Chromium on the Pi since it's the closest to Chrome. I started MRL and the Acapela and ProgramAB.Wrote the python code, mouth.addTextListener(alice2). Went to the Acapela window typed hi hit speak and guess what, no sound. The log says it is speaking, the speakers are on and functioning but I am lost.Anyone have suggestions?
Sound
This is strange, since I have been able to use AcapelaSpeech on both PI2 and PI3.
What version of Java are you using ? You can find out with this command:
java -version
On my installation it returns:
java version "1.8.0_65"
Sound solution
Thanks for that, a check of my java version showed I was using opensdk 1.7, I switched to the oracle8 and all is good.Got my sound now, Thanx for the help