Documentation ¶
Index ¶
- type BBWorker
- type CCWorker
- type CFWorker
- type DSPWorker
- func NewDSPWorkerCC(name, displayName string, inputRate, outputRate int, worker CCWorker, ...) *DSPWorker
- func NewDSPWorkerCF(name, displayName string, inputRate, outputRate int, worker CFWorker, ...) *DSPWorker
- func NewDSPWorkerFB(name, displayName string, inputRate, outputRate int, worker FBWorker, ...) *DSPWorker
- func NewDSPWorkerFF(name, displayName string, inputRate, outputRate int, worker FFWorker, ...) *DSPWorker
- type DSPWorkerOption
- type DataType
- type FBWorker
- type FFWorker
- type Processor
- func (p *Processor) AddBlock(worker *DSPWorker)
- func (p *Processor) Initialize() error
- func (p *Processor) ProcessComplexToBinary(input *types.SegmentComplex64, metrics map[string]interface{}) (*types.SegmentBinaryBytes, error)
- func (p *Processor) ProcessComplexToFloat(input *types.SegmentComplex64, metrics map[string]interface{}) (*types.SegmentFloat32, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DSPWorker ¶
type DSPWorker struct { Name string DisplayName string InputRate int OutputRate int // contains filtered or unexported fields }
func NewDSPWorkerCC ¶
func NewDSPWorkerCC(name, displayName string, inputRate, outputRate int, worker CCWorker, opts ...DSPWorkerOption) *DSPWorker
func NewDSPWorkerCF ¶
func NewDSPWorkerCF(name, displayName string, inputRate, outputRate int, worker CFWorker, opts ...DSPWorkerOption) *DSPWorker
func NewDSPWorkerFB ¶
func NewDSPWorkerFB(name, displayName string, inputRate, outputRate int, worker FBWorker, opts ...DSPWorkerOption) *DSPWorker
func NewDSPWorkerFF ¶
func NewDSPWorkerFF(name, displayName string, inputRate, outputRate int, worker FFWorker, opts ...DSPWorkerOption) *DSPWorker
type DSPWorkerOption ¶
type DSPWorkerOption func(r *DSPWorker)
func ShowFFTBalance ¶
func ShowFFTBalance() DSPWorkerOption
func WithFloatFFTPlot ¶
func WithFloatFFTPlot() DSPWorkerOption
func WithPlotOptions ¶
func WithPlotOptions(opts []viz.PlotOptions) DSPWorkerOption
func WithPlotType ¶
func WithPlotType(plotType viz.PlotType) DSPWorkerOption
func WithVizLength ¶
func WithVizLength(length int) DSPWorkerOption
type Processor ¶
func (*Processor) Initialize ¶
func (*Processor) ProcessComplexToBinary ¶
func (p *Processor) ProcessComplexToBinary(input *types.SegmentComplex64, metrics map[string]interface{}) (*types.SegmentBinaryBytes, error)
func (*Processor) ProcessComplexToFloat ¶
func (p *Processor) ProcessComplexToFloat(input *types.SegmentComplex64, metrics map[string]interface{}) (*types.SegmentFloat32, error)
Click to show internal directories.
Click to hide internal directories.