Documentation
¶
Index ¶
- type Delay
- type DelayMap
- 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 Delay ¶ added in v0.4.0
type DelayMap ¶ added in v0.4.0
func (DelayMap) Initialize ¶ added in v0.4.0
type Envelope ¶
type EnvelopeMap ¶
func (EnvelopeMap) Initialize ¶
func (m EnvelopeMap) Initialize(sampleRate float64)
type Filter ¶
type FilterMap ¶
func (FilterMap) Initialize ¶
type Gate ¶
type GateMap ¶
func (GateMap) Initialize ¶ added in v0.4.0
type Mixer ¶
type MixerMap ¶
func (MixerMap) Initialize ¶
type ModuleMap ¶
type ModuleMap = concurrency.SyncMap[string, IModule]
func NewModuleMap ¶ added in v0.4.0
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"`
Fade float64 `yaml:"fade"`
// contains filtered or unexported fields
}
func (*Oscillator) Step ¶
func (o *Oscillator) Step(modules *ModuleMap)
func (*Oscillator) Update ¶ added in v0.4.0
func (o *Oscillator) Update(new *Oscillator)
type OscillatorMap ¶
type OscillatorMap map[string]*Oscillator
func (OscillatorMap) Initialize ¶
func (m OscillatorMap) Initialize(sampleRate float64) error
type Pan ¶
type PanMap ¶
func (PanMap) Initialize ¶
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.