Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewThreaded ¶
func NewThreaded(cfg Config) *threadedProcessor
Types ¶
type Config ¶
type Config struct {
SampleRate float64 // rate at which samples are read
SampleSize int // number of samples per buffer
ChannelCount int // number of channels
ProcessRate int // target framerate
Buffers [][]input.Sample // sample buffers
Analyzer dsp.Analyzer // audio analyzer
Output Output // data output
Smoother dsp.Smoother // time smoother
Windower window.Function // data windower
}
Click to show internal directories.
Click to hide internal directories.