Documentation ¶
Index ¶
- func DiscoverFiles(dir string, filters ...Filter) ([]string, error)
- func FilterWaves(unfiltered []string) []string
- func MapTrackNameToFilename(name string) string
- func MapTracksToNames(ts tracks.Tracks, devs venue.Devices) (tracks.Tracks, error)
- func WaveCheck(file string) error
- func WaveDump(file string, offset, length time.Duration) ([]float32, int, error)
- func WaveInfo(file string) (string, error)
- type DiscoverFilesFn
- type Filter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverFiles ¶
DiscoverFiles looks for track names in a given directory, and returns them as a slice.
func FilterWaves ¶
FilterWaves returns strings ending in .wav.
func MapTrackNameToFilename ¶
MapTrackNameToFilename returns a valid filename for a track name.
func MapTracksToNames ¶
MapTracksToNames based on their channel name.
Types ¶
Click to show internal directories.
Click to hide internal directories.