package
Version:
v0.0.0-...-2eb4db6
Opens a new window with list of versions in this module.
Published: Jun 7, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package intake handles the reading in of the
wav audio source
type Config struct {
Filename string `validate:"required"`
Logger *zap.Logger
}
Config describes configuration for Intake
Validate validates the contents of Config
Intake describes our audio consumer
Sample collects the contents of the wav
file and returns the sample collection or error
Sample is a de-interleaved raw audio sample second
type SampleSet struct {
Samples []*Sample
}
SampleSet represents many samples
Decompose returns just a slice of all float64s
Source Files
¶
Click to show internal directories.
Click to hide internal directories.