pub enum GraphMessage {
    NewProg {
        prog: NodeProg,
        copy_old_out: bool,
    },
    Clear {
        prog: NodeProg,
    },
    AtomUpdate {
        at_idx: usize,
        value: SAtom,
    },
    ParamUpdate {
        input_idx: usize,
        value: f32,
    },
    ModamtUpdate {
        mod_idx: usize,
        modamt: f32,
    },
    InjectMidi {
        midi_ev: HxMidiEvent,
    },
    SetMonitor {
        bufs: [usize; 6],
    },
}
Expand description

Messages for updating the NodeExecutor thread. Usually used for shoveling NodeProg and Nodes to and from the NodeExecutor thread. And also parameter updates of course.

Variants

NewProg

Fields

prog: NodeProg
copy_old_out: bool

Clear

Fields

prog: NodeProg

AtomUpdate

Fields

at_idx: usize
value: SAtom

ParamUpdate

Fields

input_idx: usize
value: f32

ModamtUpdate

Fields

mod_idx: usize
modamt: f32

InjectMidi

Fields

midi_ev: HxMidiEvent

SetMonitor

Fields

bufs: [usize; 6]

Sets the buffer indices to monitor with the FeedbackProcessor.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.