Documentation ¶
Index ¶
Constants ¶
View Source
const (
THRESHOLD = 1.5
)
Variables ¶
This section is empty.
Functions ¶
func PeaksToBytes ¶
func WritePeaks ¶
Types ¶
type PeakDetector ¶
type PeakDetector struct { }
PeakDetector takes the constant Q output, and for each sample bin, returns whether that sample is a 'peak' in the music.
func (*PeakDetector) ProcessChannel ¶
func (pd *PeakDetector) ProcessChannel(samples <-chan []complex128) <-chan []byte
Click to show internal directories.
Click to hide internal directories.