sound

package
v0.0.0-...-2a9dfdc Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// BFormat is a default beep format
	BFormat = beep.Format{SampleRate: 44100, NumChannels: 1, Precision: 2}
	// GValues is generator values
	GValues api.IGeneratorValues
	// SfxrJ holds the settings for an effect
	SfxrJ audio.SfxrJSON
)

Functions

func Generate

func Generate(values api.IGeneratorValues, generator api.ISampleGenerator)

Generate runs the effects generator

func Play

func Play(generator api.ISampleGenerator)

Play plays a sound using the speaker

func UpdateSfxrData

func UpdateSfxrData(values api.IGeneratorValues)

UpdateSfxrData updates SfxrJ values

Types

This section is empty.

Jump to

Keyboard shortcuts

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