lucko515 / speech-recognition-neural-network

This is the end-to-end Speech Recognition neural network, deployed in Keras. This was my final project for Artificial Intelligence Nanodegree @Udacity.
187 stars 87 forks source link

flac_to_wav.sh #7

Open xjiae opened 5 years ago

xjiae commented 5 years ago

Hi, I am using a window 10 to run the flac_to_wav.sh, for some reason, it is not working and said that command is not recognized. Does anyone also have this issue?

Sophtee commented 4 years ago

Hi, I am using a window 10 to run the flac_to_wav.sh, for some reason, it is not working and said that command is not recognized. Does anyone also have this issue?

Hi, do you found any solution to this

Hey, any solutions?

alvinchow97 commented 4 years ago

Hi, I am using a window 10 to run the flac_to_wav.sh, for some reason, it is not working and said that command is not recognized. Does anyone also have this issue?

Hi, do you found any solution to this

Hey, any solutions?

Do you follow exactly the step by step guidance by the article ? Especially the step that putting the main file into c, user and main directory under your own username, should be working fine. Because the flac converter meant to put in the directory.

TEJASK111 commented 3 years ago

Windows can't run shell script for this you have to enable window subsytem Linux and install ubuntu

TEJASK111 commented 3 years ago

Window subsytem for linux

manoj24vvr commented 8 months ago

@xjiae @Sophtee

I'm running the code in a jupyter notebook. So I used the following code and it worked fine for me. Check if its helpful!

Count the number of FLAC files

!find /path_to_LibriSpeech_folder/ -iname "*.flac" | wc

Convert FLAC files to WAV files using ffmpeg

!for flacfile in $(find path_to_LibriSpeech_folder -iname ".flac"); do ffmpeg -y -i "$flacfile" -ab 64k -ac 1 -ar 16000 "${flacfile%.}.wav"; done