waveform

package
v0.0.0-...-b786051 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsMax

func AbsMax(w WaveReader, o *Options) *image.NRGBA

AbsMax function ...

func MinMax

func MinMax(w WaveReader, o *Options) *image.NRGBA

MinMax function ...

func Rms

func Rms(w WaveReader, o *Options) *image.NRGBA

Rms function ...

Types

type Options

type Options struct {
	Width   int
	Height  int
	Half    bool
	Zoom    float32
	MarginL int
	MarginR int
	MarginT int
	MarginB int
	Back    *color.NRGBA
	Front   *color.NRGBA
}

Options represents ...

type WaveReader

type WaveReader interface {
	Len() uint64
	Rate() uint32
	Chans() uint16
	At(ch uint, offset uint64) (float32, error)
}

WaveReader interface ...

Jump to

Keyboard shortcuts

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