Crate firefly_audio

Source

Modules§

modulators
A collection of modulators.

Structs§

AllForOne
Mix the inputs, stop everything if at least one input is stopped.
Clip
Clamp the amplitude onto the given interval
Concat
Play children in order, one at a time.
Empty
A sound source that is always stopped.
Frame
Gain
Set the gain level for every sample.
Loop
When the source ends, start it from the beginning.
LowHighPass
Low-pass/high-pass filter.
Manager
Mix
Do nothing: only mix the children and pass the mix forward with no changes.
Mute
A node that can mute the audio stream.
Node
Noise
Generate a white noise
Pan
Pause
A node that can pause the audio stream.
Pcm
Play audio from a pulse-code modulated audio file.
Sawtooth
Sawtooth wave oscillator.
Sine
Sine wave oscillator.
Square
Square wave oscillator.
Swap
Swap left and right channels.
TakeLeft
Take the left (and discard the right) channel from a stereo source.
TakeRight
Take the right (and discard the left) channel from a stereo source.
TrackPosition
Tracks the current position (elapsed time) of the audio stream.
Triangle
Triangle wave oscillator.
Zero
A sound source that produces zeros. Forever.

Enums§

NodeError
PcmError

Constants§

SAMPLE_DURATION
SAMPLE_RATE

Traits§

Processor

Type Aliases§

Nodes
Position
Sample