Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during conversion #4

Open
benhei opened this issue Jul 14, 2011 · 3 comments
Open

Error during conversion #4

benhei opened this issue Jul 14, 2011 · 3 comments

Comments

@benhei
Copy link

benhei commented Jul 14, 2011

If I execute

ruby speech2text part.wav

i get the following output:

Chunk count: 1
convert: ./chunk-part-0.wav to flac
C:/Ruby192/lib/ruby/gems/1.9.1/gems/speech2text-0.3.5/lib/speech/audio_splitter.rb:59:in to_flac': failed to convert chunk: ./chunk-part-0.wav with flac ./chunk-part-0.wav (RuntimeError) from C:/Ruby192/lib/ruby/gems/1.9.1/gems/speech2text-0.3.5/lib/speech/audio_to_text.rb:18:inblock in to_text'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/speech2text-0.3.5/lib/speech/audio_to_text.rb:17:in each' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/speech2text-0.3.5/lib/speech/audio_to_text.rb:17:into_text'
from speech2text:11:in `

'

Any ideas about the reason?

@taf2
Copy link
Owner

taf2 commented Jul 15, 2011

do you have flac installed and in your $PATH?

@benhei
Copy link
Author

benhei commented Jul 15, 2011

No I hadn't,

after installing it, i see some output-lines from flac, but it still results in the same error.
I will be able to provide more detailled information in a few hours, when i get back to the pc that i used to try it.

curb, ffmpeg, flac is all i need to make it run - right?

btw: i'm on a windows machine

@taf2
Copy link
Owner

taf2 commented Jul 15, 2011

@benhei, i haven't tried it on windows yet, but I do know it may be a bit picky about the input audio format... I haven't had time to do more with this project... might in the near future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants