Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DSP ¶
type DSP struct {
// contains filtered or unexported fields
}
func (*DSP) ProcessSamples ¶
func (d *DSP) ProcessSamples(samples []complex128, fftRange core.FrequencyRange, vfo core.VFO)
type RandomInput ¶
type RandomInput struct {
// contains filtered or unexported fields
}
func NewRandomInput ¶
func NewRandomInput(blockSize int, sampleRate int) *RandomInput
NewRandomInput returns a new SamplesInput that produces random samples.
func (*RandomInput) Close ¶
func (i *RandomInput) Close() error
func (*RandomInput) Samples ¶
func (i *RandomInput) Samples() <-chan []complex128
type SweepInput ¶
type SweepInput struct {
// contains filtered or unexported fields
}
func NewSweepInput ¶
func NewSweepInput(blockSize int, sampleRate int, from, to, step float64) *SweepInput
NewSweepInput returns a new SamplesInput that produces samples of a sine wave with the given frequency.
func (*SweepInput) Close ¶
func (i *SweepInput) Close() error
func (*SweepInput) Samples ¶
func (i *SweepInput) Samples() <-chan []complex128
type ToneInput ¶
type ToneInput struct {
// contains filtered or unexported fields
}
func NewToneInput ¶
NewToneInput returns a new SamplesInput that produces samples of a sine wave with the given frequency.
func (*ToneInput) Samples ¶
func (i *ToneInput) Samples() <-chan []complex128
Click to show internal directories.
Click to hide internal directories.