audio

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type L8

type L8 struct {
	SampleRate float32
	Samples    []byte
}

L8 is a raw, linear 8-bit sound snippet.

func (L8) Duration added in v1.4.0

func (sound L8) Duration() float32

Duration returns the length of the sound in seconds.

func (L8) Empty added in v1.4.0

func (sound L8) Empty() bool

Empty returns true if there are no samples to play.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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