This is a tip to have MRL mouthcontrol worky with external mp3 and maryTTS
( waiting something cleaner : other acapela service or maryTTS audioplay or mouthcontrol in audioplay )
add this at the top of your script :
AudioFile = Runtime.createAndStart("AudioFile", "AudioFile")
and this is to play the sound with mouthcontrol
mouth.setAudioEffects("Volume(amount=0)")
mouth.speak("Hello sir, I am C3po unicyborg relations")
AudioFile.playFileBlocking("sound\\Hello sir, I am C3po unicyborg relations.mp3")
mouth.setAudioEffects("Volume(amount=1.70)")