powered by
This uses HTML5 audio tags to play audio in your browser.
play_audio(audio = "output.wav", html = "player.html")
The file location of the audio file. Must be supported by HTML5.
The html file location that will be created to host the audio file.
Borrowed from googleLanguageR::gl_talk_player()
googleLanguageR::gl_talk_player()
if (FALSE) { play_audio(audio = "audio.wav", html = "player.html") }
Run the code above in your browser using DataLab