Trait MotuCommandDspInputSpecification

Source
pub trait MotuCommandDspInputSpecification {
    const INPUT_PORTS: &'static [TargetPort];
    const MIC_COUNT: usize;
    const LINE_INPUT_COUNT: usize;
    const INPUT_GAIN_MIN: i32 = -96i32;
    const INPUT_GAIN_MAX: i32 = 22i32;
    const INPUT_GAIN_STEP: i32 = 1i32;
    const INPUT_WIDTH_MIN: f32 = 0f32;
    const INPUT_WIDTH_MAX: f32 = 1f32;
    const INPUT_REVERB_GAIN_MIN: f32 = 0f32;
    const INPUT_REVERB_GAIN_MAX: f32 = 1f32;
    const INPUT_REVERB_BALANCE_MIN: f32 = -1f32;
    const INPUT_REVERB_BALANCE_MAX: f32 = 1f32;

    // Provided methods
    fn create_input_state() -> CommandDspInputState { ... }
    fn create_input_equalizer_state() -> CommandDspInputEqualizerState { ... }
    fn create_input_dynamics_state() -> CommandDspInputDynamicsState { ... }
}
Expand description

The trait for specification of inputs.

Required Associated Constants§

Source

const INPUT_PORTS: &'static [TargetPort]

The input ports.

Source

const MIC_COUNT: usize

The number of microphone inputs.

Source

const LINE_INPUT_COUNT: usize

The number of line inputs.

Provided Associated Constants§

Source

const INPUT_GAIN_MIN: i32 = -96i32

The minimum value of gain.

Source

const INPUT_GAIN_MAX: i32 = 22i32

The maximum value of gain.

Source

const INPUT_GAIN_STEP: i32 = 1i32

The step value of gain.

Source

const INPUT_WIDTH_MIN: f32 = 0f32

The minimum value of width.

Source

const INPUT_WIDTH_MAX: f32 = 1f32

The maximum value of width.

Source

const INPUT_REVERB_GAIN_MIN: f32 = 0f32

The minimum value of gain to send to reverb.

Source

const INPUT_REVERB_GAIN_MAX: f32 = 1f32

The maximum value of gain to send to reverb.

Source

const INPUT_REVERB_BALANCE_MIN: f32 = -1f32

The minimum value of left and right balance to send to reverb.

Source

const INPUT_REVERB_BALANCE_MAX: f32 = 1f32

The maximum value of left and right balance to send to reverb.

Provided Methods§

Source

fn create_input_state() -> CommandDspInputState

Instantiate input parameters.

Source

fn create_input_equalizer_state() -> CommandDspInputEqualizerState

Instantiate input equalizer parameters.

Source

fn create_input_dynamics_state() -> CommandDspInputDynamicsState

Instantiate input dynamics parameters.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl MotuCommandDspInputSpecification for F828mk3HybridProtocol

Source§

const INPUT_PORTS: &'static [TargetPort] = F828MK3_INPUT_PORTS

Source§

const MIC_COUNT: usize = 0usize

Source§

const LINE_INPUT_COUNT: usize = 0usize

Source§

impl MotuCommandDspInputSpecification for F828mk3Protocol

Source§

const INPUT_PORTS: &'static [TargetPort] = F828MK3_INPUT_PORTS

Source§

const MIC_COUNT: usize = 0usize

Source§

const LINE_INPUT_COUNT: usize = 0usize

Source§

impl MotuCommandDspInputSpecification for F896mk3HybridProtocol

Source§

const INPUT_PORTS: &'static [TargetPort] = F896_MK3_INPUT_PORTS

Source§

const MIC_COUNT: usize = 0usize

Source§

const LINE_INPUT_COUNT: usize = 0usize

Source§

impl MotuCommandDspInputSpecification for F896mk3Protocol

Source§

const INPUT_PORTS: &'static [TargetPort] = F896_MK3_INPUT_PORTS

Source§

const MIC_COUNT: usize = 0usize

Source§

const LINE_INPUT_COUNT: usize = 0usize

Source§

impl MotuCommandDspInputSpecification for Track16Protocol

Source§

impl MotuCommandDspInputSpecification for TravelerMk3Protocol

Source§

impl MotuCommandDspInputSpecification for UltraliteMk3HybridProtocol

Source§

const INPUT_PORTS: &'static [TargetPort] = ULTRALITE_MK3_INPUT_PORTS

Source§

const MIC_COUNT: usize = 2usize

Source§

const LINE_INPUT_COUNT: usize = 0usize

Source§

impl MotuCommandDspInputSpecification for UltraliteMk3Protocol

Source§

const INPUT_PORTS: &'static [TargetPort] = ULTRALITE_MK3_INPUT_PORTS

Source§

const MIC_COUNT: usize = 0usize

Source§

const LINE_INPUT_COUNT: usize = 0usize