azure

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package azure provides a text-to-speech synthesis provider for Azure.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider represents the Azure text-to-speech synthesis provider.

func New

func New() (*Provider, error)

New creates a new instance of the Azure text-to-speech synthesis provider.

func (Provider) GenerateAudio

func (p Provider) GenerateAudio(ctx context.Context, voice, language, text string) ([]byte, error)

GenerateAudio generates audio from the given text using Azure's Text-to-Speech service.

Jump to

Keyboard shortcuts

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