TtsAudioRuntimeProvider

Provide a text-to-speech audio runtime for AudioThread.
import { TtsAudioRuntimeProvider, AudioThread } from '@superinterface/react' export const App = () => ( <TtsAudioRuntimeProvider> <AudioThread /> </TtsAudioRuntimeProvider> )

Props

PropTypeRequiredDescription
childrenReact.ReactNodeYesWrapped components
play(args: PlayArgs) => voidNoCustom audio playback