Documentation ¶
Index ¶
Constants ¶
View Source
const SamplesPerSecond = 44100
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicBlock ¶
type BasicBlock struct {
// contains filtered or unexported fields
}
func (BasicBlock) GetOutput ¶
func (b BasicBlock) GetOutput() chan *Frame
type Const ¶
type Const struct { BasicBlock Level Sample }
type FrameSource ¶
type FrameSource struct {
BasicBlock
}
func NewFrameSource ¶
func NewFrameSource() (fs *FrameSource)
type Renderer ¶
type Renderer struct { BasicBlock // contains filtered or unexported fields }
type SquareWave ¶
type SquareWave struct { BasicBlock // contains filtered or unexported fields }
func NewSquareWave ¶
func NewSquareWave(src Pluggable, freq Hertz) (s *SquareWave)
func (*SquareWave) SetFrequency ¶
func (sw *SquareWave) SetFrequency(freq Hertz)
Click to show internal directories.
Click to hide internal directories.