Hitaki.MotuRegisterDsp

g GObject.GInterface GObject.GInterface Hitaki.MotuRegisterDsp Hitaki.MotuRegisterDsp GObject.GInterface->Hitaki.MotuRegisterDsp

Implementations:

Hitaki.SndMotu

Methods

read_byte_meter (meter)

read_parameter (param)

Virtual Methods

do_changed (events)

do_read_byte_meter (meter)

do_read_parameter (param)

Properties

None

Signals

Name

Short Description

changed

Emitted when MOTU register DSP models transfer events by messages in the sequence of isochronous packet.

Fields

None

Class Details

class Hitaki.MotuRegisterDsp
Bases:

GObject.GInterface

Structure:

Hitaki.MotuRegisterDspInterface

An interface for protocol of register DSP models in MOTU FireWire series. The register DSP models in Mark of the Unicorn (MOTU) FireWire series transfer isochronous packets to delivers PCM frames and MIDI messages as well as DSP parameters and metering information. The [iface`MotuRegisterDsp`] is an object interface for the parameters and metering information in the register DSP protocol.

read_byte_meter(meter)
Parameters:

meter (bytes) – The data of meter. Index 0 to 23 for inputs and index 24 to 47 for outputs.

Raises:

GLib.Error

Returns:

True if the overall operation finished successfully, else False.

meter:

The data of meter. Index 0 to 23 for inputs and index 24 to 47 for outputs.

Return type:

(bool, meter: bytes)

Read cached data of meter information for register DSP models.

read_parameter(param)
Parameters:

param (Hitaki.SndMotuRegisterDspParameter) – A [struct`SndMotuRegisterDspParameter`].

Raises:

GLib.Error

Returns:

True if the overall operation finished successfully, else False.

param:

A [struct`SndMotuRegisterDspParameter`].

Return type:

(bool, param: Hitaki.SndMotuRegisterDspParameter)

Read cached parameter for register DSP models.

do_changed(events) virtual
Parameters:

events ([int]) – The array with element for unsigned 32 bit encoded data.

Class closure for the [signal`MotuRegisterDsp`:py:func:::changed<Hitaki.MotuRegisterDsp.signals.changed>] signal.

do_read_byte_meter(meter) virtual
Parameters:

meter (bytes) – The data of meter. Index 0 to 23 for inputs and index 24 to 47 for outputs.

Returns:

True if the overall operation finished successfully, else False.

meter:

The data of meter. Index 0 to 23 for inputs and index 24 to 47 for outputs.

Return type:

(bool, meter: bytes)

Read cached data of meter information for register DSP models.

do_read_parameter(param) virtual
Parameters:

param (Hitaki.SndMotuRegisterDspParameter) – A [struct`SndMotuRegisterDspParameter`].

Returns:

True if the overall operation finished successfully, else False.

param:

A [struct`SndMotuRegisterDspParameter`].

Return type:

(bool, param: Hitaki.SndMotuRegisterDspParameter)

Read cached parameter for register DSP models.

Signal Details

Hitaki.MotuRegisterDsp.signals.changed(motu_register_dsp, events)
Signal Name:

changed

Flags:

RUN_LAST, ACTION

Parameters:
  • motu_register_dsp (Hitaki.MotuRegisterDsp) – The object which received the signal

  • events ([int]) – The array with element for unsigned 32 bit encoded data.

Emitted when MOTU register DSP models transfer events by messages in the sequence of isochronous packet. The event consists of encoded data. The most significant byte is the type of message. The next two bytes are two identifiers. The least significant byte is value. The meaning of identifier 0, 1 and value is decided depending on the type. For detail, see sound/firewire/motu/motu-register-dsp-message-parser.c in Linux kernel.