signal

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain interface {
	AppendUnit(unitType int) (int, error)
	RemoveUnit(id int) error
	MoveUp(id int) error
	MoveDown(id int) error
	UnitType(id int) (int, error)
	SetBypass(id int, bypass bool) error
	GetBypass(id int) (bool, error)
	SetDiscreteValue(id int, name string, value string) error
	GetDiscreteValue(id int, name string) (string, error)
	SetNumericValue(id int, name string, value int32) error
	GetNumericValue(id int, name string) (int32, error)
	Parameters(id int) ([]effects.Parameter, error)
	Length() int
	Process(in []float64, out []float64, sampleRate uint32)
}

* Interface type for a signal chain.

func CreateChain

func CreateChain(responses filter.ImpulseResponses) Chain

* Creates a new signal chain.

Jump to

Keyboard shortcuts

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