Skip to contents

Needs lame installed

Usage

convert_to_mp3(wav_filename, verbose = FALSE)

Arguments

wav_filename

wav filename

verbose

logical if to print ffmpeg conversion console output; defaults to FALSE

Examples

if (FALSE) {
midifile <- system.file("extdata", "test_midi_file.mid", package = "pyramidi")
audiofile <- "test.wav"
synthesize_midi(midifile, audiofile)
convert_to_mp3(audiofile)
}