@Override
    public void boot() {
        running = true;
        this.configuration = getAudioInputConfiguration();

        try {
            lsr = new LiveSpeechRecognizer(configuration);
        } catch (IOException e) {
            System.out.println("Eva was unable to configure Ears.");
            e.printStackTrace();
        }

        try {
            ssr = new StreamSpeechRecognizer(configuration);
        } catch (IOException e) {
            System.out.println("Eva was unable to configure Ears.");
            e.printStackTrace();
        }

        lsr.startRecognition(true);

        /*
        //some testing:
        System.out.println("testing some audio files:");
        String[] filenames = {
                "src/main/resources/mp3/GetOnTheHorse.mp3",
                "src/main/resources/mp3/TheSunIsUp.mp3"
        };
        for(String filename : filenames) {
            InputStream inputStream = getInputStreamByFilename(filename);
            SpeechResult speechResult = listenToStream(inputStream);
            System.out.println(speechResult.getHypothesis());
        }
        */
    }