hume

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package hume provides Hume (Hume AI) text-to-speech.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TTSService

type TTSService struct {
	// contains filtered or unexported fields
}

TTSService implements services.TTSService using Hume's TTS API.

func NewTTS

func NewTTS(apiKey, voiceID string) *TTSService

NewTTS creates a Hume TTS service.

func (*TTSService) Speak

func (s *TTSService) Speak(ctx context.Context, text string, sampleRate int) ([]*frames.TTSAudioRawFrame, error)

Speak synthesizes text and returns TTS audio frames (48 kHz PCM).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL