Description Usage Arguments Details Examples
View source: R/text-to-speech.R
This uses HTML5 audio tags to play audio in your browser
1 | gl_talk_player(audio = "output.wav", html = "player.html")
|
audio |
The file location of the audio file. Must be supported by HTML5 |
html |
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.
1 2 3 4 5 6 | ## Not run:
gl_talk("Testing my new audio player") %>% gl_talk_player()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.