saveAudio {voiceR}R Documentation

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")

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.

Value

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

Examples


saveAudio(testAudioList, fileType = "wav")


[Package voiceR version 0.1.0 Index]