wavetable

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: May 13, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package wavetable provides wavetable oscillators

Generated by cmd/gen/main.go. DO NOT EDIT.

Generated by cmd/gen/main.go. DO NOT EDIT.

Generated by cmd/gen/main.go. DO NOT EDIT.

Generated by cmd/gen/main.go. DO NOT EDIT.

Generated by cmd/gen/main.go. DO NOT EDIT.

Generated by cmd/gen/main.go. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var Breakpoints = []float64{0.000454, 0.000907, 0.001814, 0.003628, 0.007256, 0.014512, 0.029025, 0.058050, 0.116100}
View Source
var Gap = [18423]float64{} /* 18423 elements not displayed */

9 x 2047 = 18423 samples

View Source
var Saw = [18423]float64{} /* 18423 elements not displayed */

9 x 2047 = 18423 samples

View Source
var Sine = [18423]float64{} /* 18423 elements not displayed */

9 x 2047 = 18423 samples

View Source
var Square = [18423]float64{} /* 18423 elements not displayed */

9 x 2047 = 18423 samples

View Source
var Tables = map[string][]float64{"gap": Gap[:], "saw": Saw[:], "sine": Sine[:], "square": Square[:], "triangle": Triangle[:]}
View Source
var Triangle = [18423]float64{} /* 18423 elements not displayed */

9 x 2047 = 18423 samples

Functions

This section is empty.

Types

type Table

type Table struct {
	// contains filtered or unexported fields
}

func NewTable

func NewTable(tables []float64, size int, sampleRate float64) *Table

func (*Table) SetDelta

func (t *Table) SetDelta(f float64)

func (*Table) Step

func (t *Table) Step() float64

func (*Table) StepCatmullRom

func (t *Table) StepCatmullRom() float64

Directories

Path Synopsis
cmd
gen

Jump to

Keyboard shortcuts

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