Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneratorBase ¶
type GeneratorBase struct { sync.RWMutex Amplitude binding.Float Phase float64 // contains filtered or unexported fields }
func (*GeneratorBase) Active ¶
func (g *GeneratorBase) Active() binding.Bool
func (*GeneratorBase) Channels ¶
func (g *GeneratorBase) Channels() binding.IntList
func (*GeneratorBase) Init ¶
func (g *GeneratorBase) Init()
func (*GeneratorBase) LockedReset ¶
func (g *GeneratorBase) LockedReset()
func (*GeneratorBase) Modulation ¶
func (g *GeneratorBase) Modulation() binding.Int
func (*GeneratorBase) Name ¶
func (g *GeneratorBase) Name() string
func (*GeneratorBase) Reset ¶
func (g *GeneratorBase) Reset()
type GeneratorBaseWithBuffer ¶
type GeneratorBaseWithBuffer struct { GeneratorBase Buffer system.SampleBuffer[float64] Repeat binding.Bool Delay binding.Float // contains filtered or unexported fields }
func (*GeneratorBaseWithBuffer) FillBuffer ¶
func (g *GeneratorBaseWithBuffer) FillBuffer(buf system.SampleBuffer[float64])
func (*GeneratorBaseWithBuffer) Init ¶
func (g *GeneratorBaseWithBuffer) Init(rebuildBuffer func() system.SampleBuffer[float64])
func (*GeneratorBaseWithBuffer) Reset ¶
func (g *GeneratorBaseWithBuffer) Reset()
type ModulationType ¶
type ModulationType int
const ( None ModulationType = iota Amplitude Frequency Phase DutyCycle Ratio Trigger )
func (ModulationType) String ¶
func (i ModulationType) String() string
type NamedParameter ¶
func (NamedParameter) GetBool ¶
func (nf NamedParameter) GetBool() bool
func (NamedParameter) GetFloat ¶
func (nf NamedParameter) GetFloat() float64
func (NamedParameter) GetString ¶
func (nf NamedParameter) GetString() string
Click to show internal directories.
Click to hide internal directories.