Documentation
¶
Index ¶
- type Envelope
- type EnvelopeMap
- type Filter
- type FilterMap
- type Gate
- type GateMap
- type IModule
- type Mixer
- type MixerMap
- type Module
- type ModuleMap
- type Noise
- type NoiseMap
- type Oscillator
- type OscillatorMap
- type Output
- type Pan
- type PanMap
- type Sampler
- type SamplerMap
- type Sequencer
- type SequencerMap
- type SignalFunc
- type Wavetable
- type WavetableMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Envelope ¶
type EnvelopeMap ¶
func (EnvelopeMap) Initialize ¶
func (m EnvelopeMap) Initialize()
type Filter ¶
type FilterMap ¶
func (FilterMap) Initialize ¶
type Gate ¶
type Mixer ¶
type MixerMap ¶
func (MixerMap) Initialize ¶
type Oscillator ¶
type Oscillator struct {
Module
Type oscillatorType `yaml:"type"`
Freq float64 `yaml:"freq"`
CV string `yaml:"cv"`
Mod string `yaml:"mod"`
Phase float64 `yaml:"phase"`
// contains filtered or unexported fields
}
func (*Oscillator) Step ¶
func (o *Oscillator) Step(modules ModuleMap)
type OscillatorMap ¶
type OscillatorMap map[string]*Oscillator
func (OscillatorMap) Initialize ¶
func (m OscillatorMap) Initialize(sampleRate float64) error
type Sampler ¶
type SamplerMap ¶
type Sequencer ¶
type SequencerMap ¶
func (SequencerMap) Initialize ¶
func (m SequencerMap) Initialize() error
type SignalFunc ¶
func NoSignalFunc ¶
func NoSignalFunc() SignalFunc
func ReverseSawtoothSignalFunc ¶
func ReverseSawtoothSignalFunc() SignalFunc
func SawtoothSignalFunc ¶
func SawtoothSignalFunc() SignalFunc
func SineSignalFunc ¶
func SineSignalFunc() SignalFunc
func SquareSignalFunc ¶
func SquareSignalFunc() SignalFunc
func TriangleSignalFunc ¶
func TriangleSignalFunc() SignalFunc
type Wavetable ¶
type WavetableMap ¶
func (WavetableMap) Initialize ¶
func (m WavetableMap) Initialize(sampleRate float64)
Click to show internal directories.
Click to hide internal directories.