node-speakable icon indicating copy to clipboard operation
node-speakable copied to clipboard

Does you script supposed to run on mac os 10.9

Open Koka5 opened this issue 11 years ago • 4 comments

When i run the example.js

i get the error :

rec FAIL formats: no handler for given file type `flac'.

I have installed SoX from 'brew' and and I do have flac 1.2.1 installed.

I have gone though man pages at http://sox.sourceforge.net/sox.pdf but did not get the information that I am looking for.

How can I add support for .flac files?

I am on OS X 10.9.3

Koka5 avatar Jul 05 '14 20:07 Koka5

@Koka5 I had the same issue and followed the instructions on this page: http://apple.stackexchange.com/questions/137108/how-can-i-add-support-for-flac-files-in-sox This worked for me.

Now I'm getting a '400' status code - "Non-200 answer from Google Speech API (400)" indicating something's wrong with the request :( ..

fsad avatar Aug 22 '14 21:08 fsad

@fsad Google updated their Speech API; node-speakable uses v1.0 which is deprecated and no longer supported. I've forked this repo and submitted a PR to use v2, but you'll still need an API key from Google (which limits you to 50 requests/day). You can see the README in my fork for info on how to get one. https://github.com/sreuter/node-speakable/pull/8

Jamil avatar Aug 28 '14 04:08 Jamil

Just merged that PR. Thanks @Jamil for that one!

sreuter avatar Aug 28 '14 05:08 sreuter

@Jamil @sreuter Thanks a lot!

fsad avatar Aug 28 '14 08:08 fsad