Hitaki.SndMotuRegisterDspParameter

Fields

Name

Type

Access

Description

reserved

bytes

r

Methods

class

new ()

get_headphone_output_paired_assignment ()

get_headphone_output_paired_volume ()

get_input_flag ()

get_input_gain_and_invert ()

get_line_input_boost_flag ()

get_line_input_nominal_level_flag ()

get_main_output_paired_volume ()

get_mixer_output_paired_flag ()

get_mixer_output_paired_volume ()

get_mixer_source_flag (mixer)

get_mixer_source_gain (mixer)

get_mixer_source_paired_balance (mixer)

get_mixer_source_paired_width (mixer)

get_mixer_source_pan (mixer)

Details

class Hitaki.SndMotuRegisterDspParameter

A boxed object for parameters in MOTU register DSP model. A [struct`SndMotuRegisterDspParameter`] is a boxed object for container of parameter in register DSP model of Mark of the Unicorn (MOTU) FireWire series.

classmethod new()
Returns:

an instance of [struct`SndMotuRegisterDspParameter`].

Return type:

Hitaki.SndMotuRegisterDspParameter

Instantiate [struct`SndMotuRegisterDspParameter`] object and return the instance.

get_headphone_output_paired_assignment()
Returns:

The value of paired headphone assignment.

Return type:

assignment: int

Get the array with elements for the data of paired headphone output source. The data has index value of source.

get_headphone_output_paired_volume()
Returns:

The value of paired headphone output.

Return type:

volume: int

Get the array with elements for the data of paired headphone output volume. The data has volume value between 0x00 and 0x80.

get_input_flag()
Returns:

The array with elements for the data of input flags.

Return type:

flag: bytes

Get the array with elements for the data of input flags. The data consists of bit flags below:

  • 0x01: whether to make paired input

  • 0x02: whether to enable phantom powering

  • 0x04: whether to enable attenuation pad

  • 0x08: whether to detect plug insert to jack

get_input_gain_and_invert()
Returns:

The array with elements for the data of input gain and invert flags.

Return type:

gain_and_invert: bytes

Get the array with elements for input gain and invert flags. The interpretation of data is different in below two groups:

  • Ultralite

    • 0x1f: the gain.

    • 0x20: whether to invert phase of the input

  • Audio Express and 4 pre

    • 0x3f: the gain

    • 0x40: whether to invert phase of the input

get_line_input_boost_flag()
Returns:

The flag of boost for line input.

Return type:

boost_flag: int

Get the data for flags of line input boost. The data consists of bit flags for corresponding line input channel. When the flag stands, the input is boosted.

get_line_input_nominal_level_flag()
Returns:

The flag of boost for line input.

Return type:

nominal_level_flag: int

Get the data for flags of line input nominal level. The data consists of bit flags for corresponding line input channel. When the flag stands, the nominal level of input is +4 dBu, else -10 dBV.

get_main_output_paired_volume()
Returns:

The value of paired main output.

Return type:

volume: int

Get the array with elements for the data of paired main output volume. The data has volume value between 0x00 and 0x80.

get_mixer_output_paired_flag()
Returns:

The array with elements for the data of paired output flag.

Return type:

flag: bytes

Get the array with elements for the data of paired output flags in indicated mixer. The data consists of bit flags and masks below:

  • 0x0f: the mask for destination of paired output

  • 0x10: whether to enable mute for paired output

get_mixer_output_paired_volume()
Returns:

The array with elements for the data of paired output volume.

Return type:

volume: bytes

Get the array with elements for the data of paired output volume in indicated mixer. The data has gain value between 0x00 and 0x80.

get_mixer_source_flag(mixer)
Parameters:

mixer (int) – the numeric index of mixer, up to 4.

Returns:

The array with elements for the data of source flag.

Return type:

flag: bytes

Get the array with elements for the data of source flags in indicated mixer. The data consists of bit flags below:

  • 0x01: whether to enable mute function for the source.

  • 0x02: whether to enable solo function for the source.

get_mixer_source_gain(mixer)
Parameters:

mixer (int) – the numeric index of mixer, up to 4.

Returns:

The array with elements for the data of source gains.

Return type:

gain: bytes

Get the array with elements for the data of source gains in indicated mixer. The data has gain value between 0x00 and 0x80.

get_mixer_source_paired_balance(mixer)
Parameters:

mixer (int) – the numeric index of mixer, up to 4.

Returns:

The array with elements for the data of paired source L/R balance.

Return type:

balance: bytes

Get the array with elements for the data of paired source L/R balance in indicated mixer. The data has L/R balance value between 0x00 and 0x80.

get_mixer_source_paired_width(mixer)
Parameters:

mixer (int) – the numeric index of mixer, up to 4.

Returns:

The array with elements for the data of paired source width.

Return type:

width: bytes

Get the array with elements for the data of paired source width in indicated mixer. The data has width value between 0x00 and 0x80.

get_mixer_source_pan(mixer)
Parameters:

mixer (int) – the numeric index of mixer, up to 4.

Returns:

The array with elements for the data of source pan.

Return type:

pan: bytes

Get the array with elements for the data of source pans in indicated mixer. The data has pan value between 0x00 and 0x80.