examples

package module
v0.0.0-...-8747c56 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileInfo

func FileInfo(path string) (os.FileInfo, error)

FileInfo gets the file info in fs

func InitSpeaker

func InitSpeaker(SampleRate int, milliseconds int)

InitSpeaker inits the speaker singleton

func NewFile

func NewFile() (afero.File, error)

NewFile creates a temp memory wave file

func OpenFile

func OpenFile(path string) (afero.File, error)

OpenFile opens a file in memory fs

func PlayWaveFile

func PlayWaveFile(r io.Reader)

PlayWaveFile plays from the reader of a wave file

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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