-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
Description
Currently the trait-based node graph approach is very fast, efficient, and quite user friendly. However, it has the tendency to lead toward a slightly more OOP design, which can often feel like a bit of an up-hill battle with Rust.
I'm interested in coming up with some ideas for a more user-friendly, perhaps functional-esque way of describing the node graph.
One idea I was considering was to implement the bitshift operators for describing a series of inputs in a sort of Chain. I.e.
let chain: Chain = output << master << bus << effect << effect << synth;where each element in the chain can be either
TVec<T>or- another
Chain
where T: Node.
I'll keep thinking on this and try come up with some better examples.