Crate bevy_fundsp

Source
Expand description

This library integrates FunDSP into Bevy.

When using this library, remember to lower your volume first!

Also, you may encounter the following error when using this library:

warning: operator precedence can trip the unwary
  --> examples/bevy_audio/noise.rs:22:5
   |
22 |     white() >> split::<U2>() * 0.2
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `white() >> (split::<U2>() * 0.2)`
   |
   = note: `#[warn(clippy::precedence)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence

warning: `bevy_fundsp` (example "noise") generated 1 warning

This isn’t necessary when writing your DSP graphs. It is more intuitive to remove the parentheses when writing these types of expressions, as FunDSP is essentially a domain specific language. See the FunDSP README for more information.

Modules§

backend
Module for the Backend trait that is implemented for each audio plugin in the Bevy ecosystem.
dsp_graph
Module for the DspGraph trait.
dsp_manager
Module for DspManager.
dsp_source
Module for DspSource, a type that is analogous to AudioSource in bevy_audio.
prelude
Prelude for all bevy_fundsp types.

Structs§

DspPlugin
Add support for using [FunDSP graphs] in Bevy code.

Traits§

DspAppExt
Trait extension for the App struct.