bridge

package
v0.0.0-...-a4649ec Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioFrame

type AudioFrame struct {
	Timestamp int
	Audio     *beep.Buffer
	WordSpans []Span
	Ident     string
	Diarized  bool
}

func (*AudioFrame) WordsEnd

func (f *AudioFrame) WordsEnd() int

func (*AudioFrame) WordsStart

func (f *AudioFrame) WordsStart() int

type Message

type Message struct {
	From string
	Text string
}

type Span

type Span struct {
	Text    string
	Start   int
	End     int
	Speaker string
	Prob    float64
}

Jump to

Keyboard shortcuts

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