Skip to main content

SynthMapper

Trait SynthMapper 

Source
pub trait SynthMapper: Send + Sync {
    // Required methods
    fn synth(&self) -> Synth;
    fn pitch_envelope(
        &self,
        input: &PitchEnvelopeGroups,
        ctx: &MapContext<'_>,
    ) -> Mapped;
    fn timbre(&self, input: &TimbreGroups, ctx: &MapContext<'_>) -> Mapped;
    fn motion_fx(&self, input: &MotionFxGroups, ctx: &MapContext<'_>) -> Mapped;
}
Expand description

Maps layer groups to the edits of one synth.

Required Methods§

Source

fn synth(&self) -> Synth

The synth it maps to.

Source

fn pitch_envelope( &self, input: &PitchEnvelopeGroups, ctx: &MapContext<'_>, ) -> Mapped

Edits for the pitch and envelope groups.

Source

fn timbre(&self, input: &TimbreGroups, ctx: &MapContext<'_>) -> Mapped

Edits for the timbre groups.

Source

fn motion_fx(&self, input: &MotionFxGroups, ctx: &MapContext<'_>) -> Mapped

Edits for the motion and effect groups.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§