player | R Documentation |
Transform the midi file to fileext format and provide a play button for html documents.
player(audiofile, fileext = "wav")
audiofile |
audiofile |
fileext |
file extension |
html tag of a playbutton
## Not run:
midifile <- system.file("extdata", "test_midi_file.mid", package = "pyramidi")
audiofile <- "test.wav"
synthesize_midi(midifile, audiofile)
convert_to_mp3(audiofile)
audiofile %>% player()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.