Documentation
¶
Index ¶
- type Output
- type Synth
- func (s *Synth) FadeIn(duration float64)
- func (s *Synth) FadeOut(duration float64)
- func (s *Synth) GetOutput() Output
- func (s *Synth) Initialize(sampleRate float64) error
- func (s *Synth) NotifyFadeout(done chan<- bool)
- func (s *Synth) SetVolume(volume float64)
- func (s *Synth) Update(from *Synth) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Synth ¶
type Synth struct {
Out string `yaml:"out"`
Volume float64 `yaml:"vol"`
Delays module.DelayMap `yaml:"delays"`
Envelopes module.EnvelopeMap `yaml:"envelopes"`
Filters module.FilterMap `yaml:"filters"`
Gates module.GateMap `yaml:"gates"`
Mixers module.MixerMap `yaml:"mixers"`
Noises module.NoiseMap `yaml:"noises"`
Oscillators module.OscillatorMap `yaml:"oscillators"`
Pans module.PanMap `yaml:"pans"`
Samplers module.SamplerMap `yaml:"samplers"`
Sequencers module.SequencerMap `yaml:"sequencers"`
Wavetables module.WavetableMap `yaml:"wavetables"`
Time float64
VolumeMemory float64
// contains filtered or unexported fields
}
func (*Synth) Initialize ¶
func (*Synth) NotifyFadeout ¶
Click to show internal directories.
Click to hide internal directories.