Module Duplex.Applications.Repeater
Take control of the native repeater DSP device.
View the README.md (github)
Functions
__init (VarArg) | Constructor method |
on_idle () | perform periodic updates |
attach_to_device (track_idx, device_idx, device) | attach notifier to the device called when we use previous/next device, set the initial device or are freely roaming the tracks |
set_value_from_coords (x, y) | (grid mode) update everything: the mode and/or divisor value is gained and the grid cells are drawn accordingly. |
set_divisor (divisor_val) | Update divisor (call without argument to use existing value) |
divisor_from_linear_value (divisor_val) | this method will calculate a the divisor from a linear value (e.g. |
stop_repeating () | set device to OFF mode, update controller + automation |
init_grid () | configure a map of mode/divisor values for the available buttons even/triplet/dotted: update divisor value by quantized amount free: update the divisor value by an exact amount |
_build_app () | inherited from Application |
update_grid (x, y) | update controller grid (no impact on Renoise) |
Tables
available_mappings | available_mappings |
Fields
self._instance_name | the name of the device we are controlling |
self.update_requested | update display |
self.suppress_value_observable | boolean, set to temporarily skip value notifier |
self._grid | the various UIComponents |
self._grid_width | (int), grid size in units |
self._grid_map |
table, organized by [x][y], each containing the following
|
self._grid_coords |
(table or nil) in grid mode, current coordinate
|
self.playmode | (enum) default automation mode is points (recommended) |
Functions
- __init (VarArg)
-
Constructor method
Parameters:
- VarArg )
See also:
- on_idle ()
- perform periodic updates
- attach_to_device (track_idx, device_idx, device)
-
attach notifier to the device
called when we use previous/next device, set the initial device
or are freely roaming the tracks
Parameters:
- track_idx
- device_idx
- device
- set_value_from_coords (x, y)
-
(grid mode) update everything: the mode and/or divisor value is gained
and the grid cells are drawn accordingly. Also, record automation.
Parameters:
- x
- y
- set_divisor (divisor_val)
-
Update divisor (call without argument to use existing value)
Parameters:
- divisor_val (number) [optional] between 0 and 1
- divisor_from_linear_value (divisor_val)
-
this method will calculate a the divisor from a linear value
(e.g. 0.5 will output 1/8 == 0.125)
Parameters:
- divisor_val (number) between 0 and 1
- stop_repeating ()
- set device to OFF mode, update controller + automation
- init_grid ()
- configure a map of mode/divisor values for the available buttons even/triplet/dotted: update divisor value by quantized amount free: update the divisor value by an exact amount
- _build_app ()
-
inherited from Application
Returns:
-
bool
See also:
- update_grid (x, y)
-
update controller grid (no impact on Renoise)
Parameters:
- x
- y
Tables
- available_mappings
-
available_mappings
Fields:
- grid
- divisor_slider
- mode_slider
- mode_even
- mode_triplet
- mode_dotted
- mode_free
Fields
- self._instance_name
- the name of the device we are controlling
- self.update_requested
- update display
- self.suppress_value_observable
- boolean, set to temporarily skip value notifier
- self._grid
- the various UIComponents
- self._grid_width
- (int), grid size in units
- self._grid_map
-
table, organized by [x][y], each containing the following
divisor (number), the divisor value mode (int), the mode value (0-4) tooltip (string)
- self._grid_coords
-
(table or nil) in grid mode, current coordinate
x=number y=number
- self.playmode
- (enum) default automation mode is points (recommended)