I have to convert a large number of audio files from .wav format to .flac format in order to save storage space on our server. The code for doing this on a single file looks like this:
wav2flac("TestFile.wav", reverse = FALSE, overwrite = FALSE,
exename = "flac.exe", path2exe = "C:/Program Files/FLAC/flac-1.3.2-
win/win64")
How do I loop the command to perform on an entire directory of these .wav files?