Versions in this module Expand all Collapse all v0 v0.1.0 Jan 18, 2025 Changes in this version + const NoteA + const NoteAisz + const NoteAsz + const NoteB + const NoteC + const NoteCisz + const NoteD + const NoteDesz + const NoteDisz + const NoteE + const NoteEsz + const NoteF + const NoteFisz + const NoteG + const NoteGesz + const NoteGisz + const NoteH + func GenerateFreqTableBasedOn(freqOfA4 float64) + func GetFreqOf(octave uint8, note uint8) float64 + type OscGeneratorType uint + const OscTypeNoise + const OscTypePulse + const OscTypeWave + type Oscillator struct + Envelope *modulator.ADSR + Frequency float64 + FrequencyMod generator.Generator + Noise *generator.NoiseGenerator + Pulse *generator.Generator + UseEnvelope bool + Volume float64 + VolumeMod generator.Generator + Wave *generator.FunctionGenerator + func NewOscillator(sampleRate uint) *Oscillator + func (osc *Oscillator) GetNextSample() float64 + func (osc *Oscillator) Reset() + func (osc *Oscillator) SetDelay(durationMS uint) + func (osc *Oscillator) SwitchGeneratorType(oscType OscGeneratorType) + func (osc Oscillator) GetSampleRate() uint