sequence

package
v0.0.0-...-72d9c23 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2017 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gate

func Gate(source, control source.Source, threshold float64) source.Source

Gate allows the input signal to pass only when the control signal is above a certain threshold

func Pulse

func Pulse(control source.Source, duration time.Duration, threshold, sampleRate float64) source.Source

Pulse returns an object that outputs a pulse at value 1.0 for a specified duration after its control source goes high

func Sequencer

func Sequencer(sources []source.Source, period time.Duration, sampleRate float64) source.Source

Sequencer outputs from each input source in turn, for a fixed duration

Types

This section is empty.

Jump to

Keyboard shortcuts

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