vrfrontend

package module
v0.0.0-...-63d62f5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyWindow

func ApplyWindow(signal []float64, window []float64) ([]float64, error)

func NewLTSDVAD

func NewLTSDVAD(noiseFpectrum []float64, order, windowSize int, e0, e1, lambda0, lambda1 float64, winFunc func(int) []float64)

Types

type LTSDVAD

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

func (*LTSDVAD) Update

func (v *LTSDVAD) Update(signal []float64) (bool, error)

type PowerBasedVAD

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

func NewPowerBasedVAD

func NewPowerBasedVAD(threshold float64, windowSize int) *PowerBasedVAD

func (*PowerBasedVAD) Update

func (v *PowerBasedVAD) Update(signal []float64) (bool, error)

type VAD

type VAD interface {
	Update([]float64) (bool, error)
}

type ZeroCrossVAD

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

func NewZeroCrossVAD

func NewZeroCrossVAD(powerThreshold float64, zerocrossThreshold, windowSize int) *ZeroCrossVAD

func (*ZeroCrossVAD) Update

func (v *ZeroCrossVAD) Update(signal []float64) (bool, error)

Jump to

Keyboard shortcuts

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