Expand description

Generic blocks

BlockUsageWebAssembly?
ApplyApply a function to each sample
ApplyNMApplyNM a function to each N input samples and produce M output samples
CombineApply a function to combine two streams into one
FilterApply a function to filter samples

DSP blocks

BlockUsageWebAssembly?
firGeneric FIR filter, resampler
fftComputes FFT

Limiting blocks

BlockUsageWebAssembly?
ThrottleLimits graph sample rate
HeadStops graph after specified number of samples

Source/sink blocks

BlockUsageWebAssembly?
FileSourceReads samples from a file
SoapySinkTransmit samples with a soapy device
SoapySourceRead samples from a soapy device
SourceRepeatedly apply a function to generate samples
NullSourceGenerates a stream of zeros
FileSinkWrites samples to a file
NullSinkDrops samples
[TagSink]Drops samples, printing tags.
[WavSink]Writes samples to a WAV file

Message blocks

BlockUsageWebAssembly?
MessageSourceRepeats a fixed message on an interval

Modules

Structs

Applies a function to each sample in the stream.

Applies a function on N samples in the input stream, and creates M samples in the output stream. Handy for interleaved samples for example. See examples/audio/play_stereo.rs

Applies the specified function sample-by-sample to two streams to form one.

Computes a FFT

Writes samples to a file.

FileSourceNon-WebAssembly

Loads samples from a file, then stops.

Applies a function to filter a stream

Creates a generic FIR filter.

Stops the graph after the given number of samples

Creates a generic IIR filter.

MessageSourceBuilderNon-WebAssembly

Repeats a fixed message on an interval

Silently drops samples

Generates a stream of zeroes

Repeatedly applies a function to generate samples.

Drops samples, printing tags.

ThrottleNon-WebAssembly

Limits the sample rate to the given value

Enums