Module xMessage
Abstract message class (the basis for OSC and MIDI messages) .
About
Some properties are added because of the xVoiceManager. This includes all the originating_XX properties (on by default). Usually you don't have to change these values - read the xVoiceManager description to learn what they do.
See also
xOscMessage xMidiMessage xVoiceManager
Functions
__init (...) | [Constructor] accepts a single argument for initializing the class |
get_raw_message () | Getters/Setters |
create_raw_message () | [Class] Produce a raw message (retrieve from cache if possible) |
get_definition () | [Class] Get class descriptor |
Fields
self.timestamp | number, when message got created |
self.values | table |
self.track_index | int, 1-num_tracks |
self.instrument_index | int, 1-num_instruments |
self.line_index | int, 1-512 -- the pattern-line number |
self.line_fraction | float, 0-1 -- optional high-precision value |
self.raw_message | the raw message, as received (or ready to send) |
self._originating_track_index | int, used when following (xVoiceManager) |
self._originating_instrument_index | int, -//- |
self._originating_octave | int, -//- |
self.__def | table, constructor |
Functions
- __init (...)
-
[Constructor] accepts a single argument for initializing the class
Parameters:
- ...
- get_raw_message ()
- Getters/Setters
- create_raw_message ()
-
[Class] Produce a raw message (retrieve from cache if possible)
Returns:
- get_definition ()
-
[Class] Get class descriptor
Returns:
-
table
Fields
- self.timestamp
- number, when message got created
- self.values
-
table
- self.track_index
- int, 1-num_tracks
- self.instrument_index
- int, 1-num_instruments
- self.line_index
- int, 1-512 -- the pattern-line number
- self.line_fraction
- float, 0-1 -- optional high-precision value
- self.raw_message
- the raw message, as received (or ready to send)
- self._originating_track_index
- int, used when following (xVoiceManager)
- self._originating_instrument_index
- int, -//-
- self._originating_octave
- int, -//-
- self.__def
- table, constructor