Posts

Mars Gold Rush

Image
In the below picture (taken from a part of NASA's Curiosity's Rover Highest Resolution Panorama [1]) it seems to show large chunks of gold clearly visible on the surface of Mars. If spectral analysis of the image confirms that it is indeed gold, it would seem that gold would be a resource initial colonizers of mars can add to their list of available resources and plan accordingly. References 1. https://mars.nasa.gov/news/8621/nasas-curiosity-mars-rover-snaps-its-highest-resolution-panorama-yet/

FreeTTS Hello World Java Maven

After spending too much time trying to get text to speech (tts) to work and seeing others struggle as well I decided to capture what worked for me. You can checkout the code on github https://github.com/geoinline/textToSpeech , or you can just copy and paste the below code and get hello world working! java code... import java.beans.PropertyVetoException; import java.util.Locale; import javax.speech.AudioException; import javax.speech.Central; import javax.speech.EngineException; import javax.speech.EngineStateError; import javax.speech.synthesis.Synthesizer; import javax.speech.synthesis.SynthesizerModeDesc; import javax.speech.synthesis.Voice; public class SpeechUtils { SynthesizerModeDesc desc; Synthesizer synthesizer; Voice voice; public void init(String voiceName) throws EngineException, AudioException, EngineStateError, PropertyVetoException { if (desc == null) { System.setProperty("freetts.voices",