Learn R Programming

voiceR (version 0.1.0)

saveAudio: Save Audio Files

Description

Save all objects in a list of Wave objects as a .wav or .mp3 file in the specified path.

Usage

saveAudio(audioList, path = "./Preprocessed/", fileType = "wav")

Value

Save objects of a Wave list as .mp3 or .wav files.

Arguments

audioList

A list of Wave objects.

path

A character string indicating the full path to the folder containing the audio files. Default corresponds to the current working directory.

fileType

Character string indicating the file format (wav or mp3) of the audio files. Default corresponds to wav.

Examples

Run this code
# \donttest{
saveAudio(testAudioList, fileType = "wav")
# }

Run the code above in your browser using DataLab