Hitaki.MotuRegisterDsp¶
- Implementations:
Methods¶
|
|
|
Virtual Methods¶
|
|
|
|
|
Properties¶
None
Signals¶
Name |
Short Description |
---|---|
Emitted when MOTU register DSP models transfer events by messages in the sequence of isochronous packet. |
Fields¶
None
Class Details¶
- class Hitaki.MotuRegisterDsp¶
- Bases:
- Structure:
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:
- Returns:
True
if the overall operation finished successfully, elseFalse
.- meter:
The data of meter. Index 0 to 23 for inputs and index 24 to 47 for outputs.
- Return type:
Read cached data of meter information for register DSP models.
- read_parameter(param)¶
- Parameters:
param (
Hitaki.SndMotuRegisterDspParameter
) – A [struct`SndMotuRegisterDspParameter`].- Raises:
- Returns:
True
if the overall operation finished successfully, elseFalse
.- 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, elseFalse
.- meter:
The data of meter. Index 0 to 23 for inputs and index 24 to 47 for outputs.
- Return type:
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, elseFalse
.- 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:
- Parameters:
motu_register_dsp (
Hitaki.MotuRegisterDsp
) – The object which received the signalevents ([
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.