Documentation ¶
Index ¶
Constants ¶
View Source
const ( MIN_MAX_VOL = 0.1 SMOOTHING_FAST = 0.9 SMOOTHING_SLOW = 0.99 )
View Source
const (
SWITCH_COUNT = 5
)
Variables ¶
View Source
var (
MAX_SMOOTHING = math.Pow(0.999, 1.0/100)
)
Functions ¶
This section is empty.
Types ¶
type Amplitude ¶
type Amplitude struct {
// contains filtered or unexported fields
}
func InitAmplitude ¶
func InitAmplitude() *Amplitude
type Program ¶
type Program interface { New(wavDurs map[string]time.Duration) Program // input Amplitude() chan<- float64 Keyboard() chan<- bbox.Coord Close() chan<- struct{} // output Play() <-chan string Render() <-chan render.State Yield() <-chan struct{} }
Program defines the interface all Beatboxer programs must satisfy
Click to show internal directories.
Click to hide internal directories.