features

package
v0.0.0-...-0ccfc62 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	THRESHOLD = 1.5
)

Variables

This section is empty.

Functions

func PeaksToBytes

func PeaksToBytes(peaks <-chan []byte) []byte

func WritePeaks

func WritePeaks(outputFile string, peaks <-chan []byte)

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

Jump to

Keyboard shortcuts

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