Documentation ¶
Index ¶
- func Read(r io.Reader, nSamples int) ([]int16, error)
- func ReadPath(path string, nSamples int) ([]int16, error)
- type Canvas
- func (c *Canvas) Branding(im image.Image, alpha float64, repeat bool) (*Canvas, error)
- func (c *Canvas) BrandingPath(path string, alpha float64, repeat bool) (*Canvas, error)
- func (c *Canvas) CircleWaves(r, g, b int, padding float64) *Canvas
- func (c *Canvas) Image() image.Image
- func (c *Canvas) Save(out string) error
- func (c *Canvas) Waves(r, g, b int, padding float64) *Canvas
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Canvas ¶
type Canvas struct {
// contains filtered or unexported fields
}
Canvas is to contain data for our funcs
func (*Canvas) BrandingPath ¶ added in v1.2.0
BrandingPath takes a path to an image to then provide a branded canvas
func (*Canvas) CircleWaves ¶ added in v1.2.5
CircleWaves will generate a visual representation of the audio from samples in a circle
Click to show internal directories.
Click to hide internal directories.