[−][src]Struct bae_rs::sounds::complex_sound::ComplexSound
Type implementing the ability to run multiple Generator
s and
Modifier
s within a single object, granting the ability to create complex
systems like those found in digital synthesizers.
Implementations
impl ComplexSound
[src]
pub fn new(input_gain: MathT, output_gain: MathT) -> Self
[src]
Creates a new ComplexSound
object with the given input and output gain
values.
pub fn get_input_gain(&self) -> GraphNode
[src]
Returns the ['GraphNode'] containing the input gain Modifier
.
pub fn get_output_gain(&self) -> GraphNode
[src]
Returns the ['GraphNode'] containing the output gain Modifier
.
pub fn add_block(&mut self, block: BlockSP) -> GraphNode
[src]
Adds a new node to the Graph
, using the given Block
for the node
value. Returns the GraphNode
containing the Block
for later use
with [add_connection
] and [remove_connection
].
pub fn add_connection(&mut self, from: GraphNode, to: GraphNode)
[src]
Adds a new connection (edge) between the two given GraphNode
s.
pub fn remove_connection(&mut self, from: GraphNode, to: GraphNode)
[src]
Removes a connection between the two given GraphNode
s.
pub fn get_nodes(&self) -> ProcessOrder
[src]
Returns a copy of the list of all nodes of the graph in the order in which they will be processed.
Trait Implementations
impl Clone for ComplexSound
[src]
fn clone(&self) -> ComplexSound
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Sound for ComplexSound
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ComplexSound
impl !Send for ComplexSound
impl !Sync for ComplexSound
impl Unpin for ComplexSound
impl !UnwindSafe for ComplexSound
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,