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
- Module for the
Backend
trait that is implemented for each audio plugin in the Bevy ecosystem. - Module for the
DspGraph
trait. - Module for
DspManager
. - Prelude for all
bevy_fundsp
types.
Structs
- Add support for using [FunDSP graphs] in Bevy code.
Traits
- Trait extension for the [
App
] struct.