UNPKG

@lobehub/tts

Version:

A high-quality & reliable TTS React Hooks library

15 lines 1.62 kB
import { AudioPlayer, AudioPlayerProps } from "./react/AudioPlayer/index.mjs"; import { AudioVisualizer, AudioVisualizerProps } from "./react/AudioVisualizer/index.mjs"; import { AudioPlayerResponse, useAudioPlayer } from "./react/hooks/useAudioPlayer.mjs"; import { useAudioVisualizer } from "./react/hooks/useAudioVisualizer.mjs"; import { useBlobUrl } from "./react/hooks/useBlobUrl.mjs"; import { useStreamAudioPlayer } from "./react/hooks/useStreamAudioPlayer.mjs"; import { useAudioRecorder } from "./react/useAudioRecorder/index.mjs"; import { TTSOptions } from "./react/useTTS/index.mjs"; import { EdgeSpeechOptions, useEdgeSpeech } from "./react/useEdgeSpeech/index.mjs"; import { MicrosoftSpeechOptions, useMicrosoftSpeech } from "./react/useMicrosoftSpeech/index.mjs"; import { OpenAISTTOptions, useOpenAISTT } from "./react/useOpenAISTT/index.mjs"; import { OpenAITTSOptions, useOpenAITTS } from "./react/useOpenAITTS/index.mjs"; import { SpeechRecognitionOptions, useSpeechRecognition } from "./react/useSpeechRecognition/index.mjs"; import { SpeechSynthesOptions, useSpeechSynthes } from "./react/useSpeechSynthes/index.mjs"; export { AudioPlayer, type AudioPlayerProps, type AudioPlayerResponse, AudioVisualizer, type AudioVisualizerProps, type EdgeSpeechOptions, type MicrosoftSpeechOptions, type OpenAISTTOptions, type OpenAITTSOptions, type SpeechRecognitionOptions, type SpeechSynthesOptions, type TTSOptions, useAudioPlayer, useAudioRecorder, useAudioVisualizer, useBlobUrl, useEdgeSpeech, useMicrosoftSpeech, useOpenAISTT, useOpenAITTS, useSpeechRecognition, useSpeechSynthes, useStreamAudioPlayer };