powered by
This uses HTML5 audio tags to play audio in your browser
gl_talk_player(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 host the audio
A platform neutral way to play audio is not easy, so this uses your browser to play it instead.
# NOT RUN { # } # NOT RUN { gl_talk("Testing my new audio player") %>% gl_talk_player() # } # NOT RUN { # }
Run the code above in your browser using DataLab