This is a read-only mirror of the CRAN R package repository tuneR: Analysis of Music and Speech.
An additional functionality provides the ability to 'convert_wac2wav'. This uses a C program written by ABMI.
It might help to have a working development environment and these instructions might get you started:
Windows: Install Rtools.
Mac: Install Xcode from the Mac App Store.
Linux: Install a compiler and various development libraries (details vary across different flavors of Linux).
Install package devtools.
Then install the development version of tuneR.
###devtools::install_github("sildeag/tuneR")
18/11/2016 changed to add roxygen2 export and dynamic calls
20/11/2016 fixed fopen for Windows 10 for wac2wav binary conversions
for windows 10 64-bit environment
wac_filename <- c("C:/users/sildeag/tuneR/tests/Testfiles/test.wac")
wav_filename <- c("C:/users/sildeag/tuneR/tests/Testfiles/test.wav")
convert_wac2wav(wac_filename,wav_filename)
or
for ubuntu 16.04 64-bit environment
wac_filename <- c("/home/sildeag/tuneR/tests/Testfiles/test.wac")
wav_filename <- c("/home/sildeag/tuneR/tests/Testfiles/test.wav")
convert_wac2wav(wac_filename,wav_filename)
On Windows
convert_folder_wac2wav('C:/users/sildeag/Downloads')
###console output:
Blocksize 32
Samplerate 44100
Samplecount 7938048
Seeksize 16
Seekentries 8192
Processing: testxyz2 .............................................................Done.
###Note: whether the operating environment is 32-bit/64-bit or windows or unix makes a difference to the shared library.