gl_talk_player: Play audio in a browser

View source: R/text-to-speech.R

gl_talk_playerR Documentation

Play audio in a browser

Description

This uses HTML5 audio tags to play audio in your browser

Usage

gl_talk_player(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 host the audio

Details

A platform neutral way to play audio is not easy, so this uses your browser to play it instead.

Examples


## Not run: 

gl_talk("Testing my new audio player") %>% gl_talk_player()


## End(Not run)


googleLanguageR documentation built on Aug. 25, 2025, 1:12 a.m.