synthesize_midi | R Documentation |
Generates a wav audiofile
from a midifile
using the soundfont
if specified
(otherwise fluidsynth's default soundfont is used). Needs fluidsynth
to be installed.
synthesize_midi(midifile, audiofile, soundfont = NULL, verbose = FALSE)
midifile |
path to midi file path (character string) |
audiofile |
path to audio wav file (character string) |
soundfont |
path to sf2 sound font (character string) |
verbose |
logical whether to print fluidsynth command line output; defaults to FALSE |
## Not run:
midifile <- system.file("extdata", "test_midi_file.mid", package = "raudiomate")
audiofile <- "test.wav"
synthesize_midi(midifile, audiofile)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.