Reading any type of audio file is a task made easy using the sonicscrewdriver package, the readAudio() function can identify the file type automatically, make use of appropriate third-party packages to read the audio, and return a tuneR Wave object.
library(sonicscrewdriver) |
|
filename <- "/path/to/audio/audio.flac" |