mcepalpha

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2014 License: MIT Imports: 1 Imported by: 5

Documentation

Overview

Package mcepalpha provides support for determination of all-pass constant for mel-cepstrum analysis.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcMcepAlpha

func CalcMcepAlpha(sampfreq int) float64

Calculate all-pass constant (alpha) for a given sample frequency.

func MelScaleVector

func MelScaleVector(sampfreq int, vectorlength int) []float64

Generate a Mel Scale for sampling frequency _sampfreq_ and return a normalized vector of length _vectorlength_ containing equally spaced points between 0 and (sampfreq/2)

func RMSDistance

func RMSDistance(vector1, vector2 []float64) float64

Get RootMeanSquare distance between two vectors This assumes that vectors are normalized

func WarpingVector

func WarpingVector(alpha float64, vectorlength int) []float64

Generate a warped frequency curve for warping coefficient _alpha_ and return a normalized vector of length _vectorlength_ containing equally spaced points between 0 and PI

Types

This section is empty.

Jump to

Keyboard shortcuts

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