IN_FILE=$1 IN_FILENAME=$(basename $INPUTFILE .ogg) #echo $IN_FILENAME ffmpeg -i $IN_FILE -acodec pcm_s16le -ac 1 -ar 16000 $IN_FILENAME.wav # Vosk works with 1 channel 16 khz 16 bit audio files # this ffmpeg command converts the ogg (or any other audio format) into this format