powered by
Loads all audio files in the specified directory and provides the option to filter via ID, conditions, and/or dimensions.
readAudio(path = ".", filter = c(), fileType = "wav", recursive = FALSE)
Returns a list of Wave objects.
Character string indicating the full path to the folder containing the audio files. Default corresponds to the current working directory.
Optional character vector, containing patterns, such as IDs or conditions of each audio file.
Character string indicating the file format (wav or mp3) of the audio files. Default corresponds to wav.
A logical value indicating whether subdirectories should be included when searching for voice files. Default corresponds to FALSE.
readAudio(system.file("Audios", package = "voiceR"), fileType = "wav", recursive = TRUE)
Run the code above in your browser using DataLab