Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_BEATS_PER_PERIOD = 4 DEFAULT_BPM_SPEED = 120 DEFAULT_SAMPLE_RATE = 96000 OUTPUT_COUNT = 1 )
* Global constants.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metronome ¶
type Metronome interface { BeatsPerPeriod() uint32 Process(outputBuffer []float64) SampleRate() uint32 SetBeatsPerPeriod(count uint32) error SetSampleRate(rate uint32) SetSpeed(speed uint32) error SetTick(name string, coefficients []float64) SetTock(name string, coefficients []float64) Tick() (string, []float64) Tock() (string, []float64) Speed() uint32 }
* Interface type representing a metronome.
Click to show internal directories.
Click to hide internal directories.