{"action":"created","issue":{"url":"https://api.github.com/repos/lkuza2/java-speech-api/issues/59","labels_url":"https://api.github.com/repos/lkuza2/java-speech-api/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/lkuza2/java-speech-api/issues/59/comments","events_url":"https://api.github.com/repos/lkuza2/java-speech-api/issues/59/events","html_url":"https://github.com/lkuza2/java-speech-api/issues/59","id":56870730,"number":59,"title":"could not write audio file....","user":{"login":"swapsdphoenix","id":10648405,"avatar_url":"https://avatars.githubusercontent.com/u/10648405?v=3","gravatar_id":"","url":"https://api.github.com/users/swapsdphoenix","html_url":"https://github.com/swapsdphoenix","followers_url":"https://api.github.com/users/swapsdphoenix/followers","following_url":"https://api.github.com/users/swapsdphoenix/following{/other_user}","gists_url":"https://api.github.com/users/swapsdphoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/swapsdphoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapsdphoenix/subscriptions","organizations_url":"https://api.github.com/users/swapsdphoenix/orgs","repos_url":"https://api.github.com/users/swapsdphoenix/repos","events_url":"https://api.github.com/users/swapsdphoenix/events{/privacy}","received_events_url":"https://api.github.com/users/swapsdphoenix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-06T21:30:10Z","updated_at":"2015-02-23T15:14:04Z","closed_at":"2015-02-23T15:14:04Z","body":"I keep getting following error message with helloworld example\r\n\r\n\r\nRecording...\r\njava.lang.IllegalArgumentException: could not write audio file: file type not supported: FLAC\r\n\tat javax.sound.sampled.AudioSystem.write(AudioSystem.java:1363)\r\n\tat com.darkprograms.speech.microphone.Microphone$CaptureThread.run(Microphone.java:216)\r\n\tat java.lang.Thread.run(Thread.java:744)\r\nRecording stopped.\r\nERROR: Google cannot be contacted\r\njava.io.FileNotFoundException: testfile2.flac (The system cannot find the file specified)\r\n\tat java.io.FileInputStream.open(Native Method)\r\n\tat java.io.FileInputStream.<init>(FileInputStream.java:146)\r\n\tat com.darkprograms.speech.recognizer.Recognizer.rawRequest(Recognizer.java:444)\r\n\tat com.darkprograms.speech.recognizer.Recognizer.getRecognizedDataForFlac(Recognizer.java:271)\r\n\tat helloWorld.main(helloWorld.java:43)"},"comment":{"url":"https://api.github.com/repos/lkuza2/java-speech-api/issues/comments/75559954","html_url":"https://github.com/lkuza2/java-speech-api/issues/59#issuecomment-75559954","issue_url":"https://api.github.com/repos/lkuza2/java-speech-api/issues/59","id":75559954,"user":{"login":"Skylion007","id":2053727,"avatar_url":"https://avatars.githubusercontent.com/u/2053727?v=3","gravatar_id":"","url":"https://api.github.com/users/Skylion007","html_url":"https://github.com/Skylion007","followers_url":"https://api.github.com/users/Skylion007/followers","following_url":"https://api.github.com/users/Skylion007/following{/other_user}","gists_url":"https://api.github.com/users/Skylion007/gists{/gist_id}","starred_url":"https://api.github.com/users/Skylion007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skylion007/subscriptions","organizations_url":"https://api.github.com/users/Skylion007/orgs","repos_url":"https://api.github.com/users/Skylion007/repos","events_url":"https://api.github.com/users/Skylion007/events{/privacy}","received_events_url":"https://api.github.com/users/Skylion007/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T15:14:04Z","updated_at":"2015-02-23T15:14:04Z","body":"Unfortunately, Google updated their English-GB voice to a female model so there is no longer an English male, supported voice. You could try messing around with parameters to change the voice. Alternatively, SynthesizerV2 is experimental but does have a pitch parameter to make the voice deeper or higher pitched."}}