audio

package
v0.0.0-...-fa4d697 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Native_mfcc_dtw_euclidean_mono

func Native_mfcc_dtw_euclidean_mono(ref_frames, device_frames []float32, sample_rate int) (score float64, filtered bool)

https://audiovideotestlab.com/blog/audio-comparison-using-mfcc-and-dtw/

Types

type Iface

type Iface struct {
	*portaudio.Stream
	Buffer []float32
}

func GetIface

func GetIface(iface int, samplerate float64, buflen int) (*Iface, error)

func (*Iface) Callback

func (i *Iface) Callback(in []float32)

func (Iface) RecordAudio

func (i Iface) RecordAudio(t time.Duration) (err error)

Jump to

Keyboard shortcuts

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