Expand description
Generic blocks
Block | Usage | WebAssembly? |
---|---|---|
Apply | Apply a function to each sample | ✅ |
ApplyNM | ApplyNM a function to each N input samples and produce M output samples | ✅ |
Combine | Apply a function to combine two streams into one | ✅ |
Filter | Apply a function to filter samples | ✅ |
DSP blocks
Limiting blocks
Block | Usage | WebAssembly? |
---|---|---|
Throttle | Limits graph sample rate | ❌ |
Head | Stops graph after specified number of samples | ✅ |
Source/sink blocks
Block | Usage | WebAssembly? |
---|---|---|
FileSource | Reads samples from a file | ❌ |
SoapySink | Transmit samples with a soapy device | ❌ |
SoapySource | Read samples from a soapy device | ❌ |
Source | Repeatedly apply a function to generate samples | ✅ |
NullSource | Generates a stream of zeros | ✅ |
FileSink | Writes samples to a file | ❌ |
NullSink | Drops samples | ✅ |
[TagSink] | Drops samples, printing tags. | ✅ |
[WavSink] | Writes samples to a WAV file | ❌ |
Message blocks
Block | Usage | WebAssembly? |
---|---|---|
MessageSource | Repeats 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