play_audio {text2speech} | R Documentation |
Play audio in a browser
Description
This uses HTML5 audio tags to play audio in your browser.
Usage
play_audio(audio = "output.wav", html = "player.html")
Arguments
audio |
The file location of the audio file. Must be supported by HTML5. |
html |
The html file location that will be created to host the audio file. |
Details
Borrowed from googleLanguageR::gl_talk_player()
Examples
## Not run:
play_audio(audio = "audio.wav", html = "player.html")
## End(Not run)
[Package text2speech version 1.0.0 Index]