signal

package
v0.0.0-...-22d950b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

func NewSource

func NewSource() *Source

func (*Source) FrequencyComponent1

func (s *Source) FrequencyComponent1() float64

func (*Source) FrequencyComponent2

func (s *Source) FrequencyComponent2() float64

func (*Source) FrequencyComponent3

func (s *Source) FrequencyComponent3() float64

func (*Source) FrequencyComponent4

func (s *Source) FrequencyComponent4() float64

func (*Source) GetOutputChan

func (s *Source) GetOutputChan() <-chan []float64

func (*Source) Run

func (s *Source) Run(ctx context.Context)

func (*Source) SampleRate

func (s *Source) SampleRate() float64

func (*Source) SetFrequencyComponent1

func (s *Source) SetFrequencyComponent1(value float64)

func (*Source) SetFrequencyComponent2

func (s *Source) SetFrequencyComponent2(value float64)

func (*Source) SetFrequencyComponent3

func (s *Source) SetFrequencyComponent3(value float64)

func (*Source) SetFrequencyComponent4

func (s *Source) SetFrequencyComponent4(value float64)

func (*Source) SetSampleRate

func (s *Source) SetSampleRate(value float64)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL