docs.rs failed to build dsp-chain-0.5.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
dsp-chain-0.13.1
dsp-chain
A simple library for chaining together multiple audio dsp processors/generators, written in Rust!
Use cases for dsp-chain include:
- Designing effects.
- Creating an audio mixer.
- Making a sampler.
- Writing a dsp backend for a DAW.
- Any kind of modular audio synthesis/processing.
Usage
Here's what it looks like:
// Construct our dsp graph.
let mut dsp_graph = new;
// Construct our fancy Synth and add it to the graph!
let synth = dsp_graph.add_node;
// Construct a few oscillators, add them to the graph and connect them to the synth.
let oscillator_a = dsp_graph.add_node;
let oscillator_b = dsp_graph.add_node;
let oscillator_c = dsp_graph.add_node;
dsp_graph.add_input.unwrap;
dsp_graph.add_input.unwrap;
dsp_graph.add_input.unwrap;
// Set the synth as the master node for the graph.
dsp_graph.set_master;
// Request audio from our Graph.
dsp_graph.audio_requested;
Here are two working examples of using dsp-chain to create a very basic synth and an oscillating volume.
Add dsp-chain to your Cargo.toml dependencies like so:
[]
= "*"
PortAudio
dsp-chain uses PortAudio as a cross-platform audio backend. The rust-portaudio dependency will first try to find an already installed version on your system before trying to download it and build PortAudio itself.
License
MIT - Same license as PortAudio.