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

Bash: Optimize 'pocketsphinx_continuous' Conversion #350

Open
jeff1evesque opened this issue Jul 22, 2014 · 0 comments
Open

Bash: Optimize 'pocketsphinx_continuous' Conversion #350

jeff1evesque opened this issue Jul 22, 2014 · 0 comments

Comments

@jeff1evesque
Copy link
Owner

Since, we will have audio recordings segmented, and saved onto the server, we will spawn a new thread (or process) for each segment in order to perform pocketsphinx_continuous on the wav file. This will require us to modify the existing converter_wav_text script:

...
# apply CMUSphinx on audio wav file
inotifywait ../audio/recording_converted -m -e close_write |

  while read path action file; do

    # do something with the file
      filename="${file%%.*}"
      pocketsphinx_continuous -infile ../audio/recording_converted/"$file" -hmm en-us -lm cmusphinx-5.0-en-us.lm.dmp >| ../audio/recording_text/"$filename"

  done
@jeff1evesque jeff1evesque changed the title Bash: Optimize PocketSphinx Conversion Bash: Optimize 'pocketsphinx_continuous' Conversion Jul 22, 2014
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

1 participant