Since we are now using avconv, we will need to adjust converter_wav_rate to use the avconv syntax rather than the current ffmpeg command:
ffmpeg -i ../audio/recording/"$file" -acodec pcm_s16le -ac 1 -ar 16000 -y ../audio/recording_converted/"$filename"