-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start with ReaLearn Playtime target descriptions
- Loading branch information
Showing
20 changed files
with
358 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
doc/playtime/modules/ROOT/pages/further-concepts/matrix.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
= Matrix concepts | ||
|
||
[[cell]] | ||
== Cell | ||
|
||
A _cell_ is a broad term that can refer to a xref:key-concepts.adoc#slot[], a xref:key-concepts.adoc#column[], a xref:key-concepts.adoc#row[], or the entire xref:key-concepts.adoc#matrix[]. | ||
|
||
While it may seem like a concept exclusive to Playtime's xref:user-interface.adoc[], it is not limited to that context. | ||
|
||
[[active-cell]] | ||
== Active cell | ||
|
||
In a xref:key-concepts.adoc#matrix[], there's always exactly one <<cell>> that is considered the currently _active_ one. It is then possible to carry out certain actions on this cell, for example using the xref:realearn-targets.adoc[]. | ||
|
||
One way to _activate_ a cell is to select it in the xref:user-interface.adoc[]. Vice versa, the selection in the user interface usually follows the currently active cell. | ||
|
||
By default, a _slot cell_ is also _activated_ just by <<trigger-slot,triggering>> it. This can be changed by setting the matrix property xref:user-interface/inspector/matrix/playback.adoc#inspector-matrix-activate-slot-on-trigger[]. | ||
|
||
[[trigger-slot]] | ||
== Trigger a slot | ||
|
||
_Triggering a slot_ is an action carried out on a xref:key-concepts.adoc#slot[] that can have one of the following results, depending on the current slot contents and play state: | ||
|
||
* Start slot playback | ||
* Stop slot playback | ||
* Start slot recording | ||
* Stop slot recording | ||
|
||
Triggering a slot can be achieved either by using the xref:user-interface/keyboard-shortcuts.adoc#enter[] shortcut in the xref:user-interface.adoc[] or by using the ReaLearn xref:realearn::targets/playtime/slot-transport-action.adoc[]. | ||
|
||
Triggering also takes the xref:user-interface/inspector/column/playback.adoc#inspector-column-trigger-mode[] and xref:user-interface/inspector/clip.adoc#inspector-clip-velocity-sensitivity[] into account. | ||
|
||
[[control-unit]] | ||
== Control unit | ||
|
||
A _control unit_ represents a xref:realearn::key-concepts.adoc#controller[] connected to a certain xref:key-concepts.adoc#matrix[Playtime matrix]. The concept is most important for xref:key-concepts.adoc#grid-controller[grid controllers] because they have special features within Playtime, most importantly <<control-unit-scrolling,scrolling>> through the matrix and displaying a corresponding <<control-unit-frame>> in the xref:user-interface.adoc[]. | ||
|
||
One control unit always corresponds to a one xref:realearn::key-concepts.adoc#unit[ReaLearn unit] within the same xref:helgobox::key-concepts.adoc#instance[] as the xref:key-concepts.adoc#matrix[Playtime matrix]. | ||
|
||
A control unit has the following properties: | ||
|
||
Name:: | ||
Usually corresponds to the name of the connected xref:realearn::key-concepts.adoc#managed-controller[], e.g. "Launchpad". The name is currently not visible in Playtime, but might be displayed as part of the <<control-unit-frame>> in the future. | ||
|
||
Color:: | ||
The color of the control unit is derived from the color of the xref:realearn::key-concepts.adoc#managed-controller[]. You can see the color "in action" by looking at the <<control-unit-frame>>. | ||
|
||
Size:: | ||
The number of columns and rows available on the controller. For example, in case of Launchpads, it's usually 8 columns and 8 rows. | ||
+ | ||
The size of the control unit is provided by xref:realearn::further-concepts/compartment.adoc#custom-data[] of the xref:realearn::key-concepts.adoc#main-compartment[] within the xref:realearn::key-concepts.adoc#unit[ReaLearn unit] representing this control unit: | ||
+ | ||
[cols="m,1,1"] | ||
|=== | ||
| Variable | Type | Description | ||
|
||
| playtime.control_unit.column_count | ||
| Integer | ||
| Number of available columns | ||
|
||
| playtime.control_unit.row_count | ||
| Integer | ||
| Number of available rows | ||
|=== | ||
+ | ||
[source,lua] | ||
.Example in Lua | ||
---- | ||
custom_data = { | ||
playtime = { | ||
control_unit = { | ||
column_count = 8, | ||
row_count = 8, | ||
}, | ||
}, | ||
}, | ||
---- | ||
|
||
[[control-unit-scroll-position]] Current scroll position:: | ||
The address of the top-left visible slot. See <<control-unit-scrolling>>. | ||
|
||
[[control-unit-scrolling]] | ||
== Control unit scrolling | ||
|
||
When connecting a xref:key-concepts.adoc#grid-controller[] to Playtime, it reflects the contents of the xref:key-concepts.adoc#matrix[]. It often happens that the matrix is larger than the size of the controller grid. In that case, it's important to be able to scroll. | ||
|
||
[[control-unit-frame]] | ||
== Control unit frame | ||
|
||
The _control unit frame_ is a rectangle in the xref:user-interface/matrix-area.adoc[] that shows which portion of the matrix is currently shown on a certain grid controller, according to the current <<control-unit-scrolling,scroll position>>. | ||
|
||
The display of control unit frames can be switched off using xref:user-interface/settings-dialog.adoc#settings-show-control-unit-frames[]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 2 additions & 10 deletions
12
doc/playtime/modules/ROOT/pages/usage/grid-controllers.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,53 @@ | ||
= Playtime targets | ||
|
||
= Playtime targets | ||
The targets in this section are made for controlling xref:playtime::introduction.adoc[Playtime], the clip launcher contained in Helgobox. | ||
|
||
[[column-selector]] | ||
== Column selector | ||
|
||
Column-related targets use a _column selector_ to define what xref:playtime::key-concepts.adoc#column[] the target should be applied to. | ||
|
||
The following kinds of column selectors are available: | ||
|
||
Active:: | ||
The xref:playtime::further-concepts/matrix.adoc#active-cell[currently active] column. | ||
|
||
At position:: | ||
Here you can refer to a fixed column by entering the column number, e.g. 2. | ||
|
||
Dynamic:: | ||
Allows you to dynamically refer to a certain column. See <<dynamic-selector-variables>>. | ||
|
||
[[slot-selector]] | ||
== Slot selector | ||
|
||
Slot-related targets use a _slot selector_ to define what xref:playtime::key-concepts.adoc#slot[] the target should be applied to. | ||
|
||
The following kinds of slot selectors are available: | ||
|
||
Active:: | ||
The xref:playtime::further-concepts/matrix.adoc#active-cell[currently active] slot. | ||
|
||
At coordinates:: | ||
Here you can refer to a fixed slot by entering the slot address, e.g. 2 and 4. The first number is the number of the xref:playtime::key-concepts.adoc#column[], the second one the number of the xref:playtime::key-concepts.adoc#row[]. | ||
|
||
Dynamic:: | ||
Allows you to dynamically refer to a certain slot. There are two expressions, the first one should evaluate to the column index and the second one to the row index. As always, expressions must evaluate to zero-based indexes! See TODO <<dynamic-selector-variables>>. | ||
|
||
[[dynamic-selector-variables]] | ||
== Dynamic selector variables | ||
|
||
In addition to the general variables described in xref:further-concepts/target.adoc#dynamic-selector[], the dynamic selectors mentioned above grants access to the following variables: | ||
|
||
[cols="m,1,3"] | ||
|=== | ||
| Variable | Type | Description | ||
|
||
| control_unit_column_index | ||
| Integer >= 0 | ||
| Column index of the current top-left scroll position within the xref:playtime::further-concepts/matrix.adoc#control-unit[Playtime control unit] represented by this xref:key-concepts.adoc#unit[ReaLearn unit]. | ||
|
||
| control_unit_row_index | ||
| Integer >= 0 | ||
| Row index of the current top-left scroll position within the xref:playtime::further-concepts/matrix.adoc#control-unit[Playtime control unit] represented by this xref:key-concepts.adoc#unit[ReaLearn unit]. | ||
|=== |
8 changes: 7 additions & 1 deletion
8
doc/realearn/modules/ROOT/pages/targets/playtime/browse-cells.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
= Target "Playtime: Browse cells" | ||
|
||
include::partial$under-construction.adoc[] | ||
Changes the currently xref:playtime::further-concepts/matrix.adoc#active-cell[]. | ||
|
||
Best uses with xref:further-concepts/mapping.adoc#rotary-endless-encoder[encoders] or previous/next-style buttons. | ||
|
||
== Axis | ||
|
||
Sets the direction into which to browse. |
9 changes: 8 additions & 1 deletion
9
doc/realearn/modules/ROOT/pages/targets/playtime/column-action.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
= Target "Playtime: Column action" | ||
|
||
include::partial$under-construction.adoc[] | ||
Invokes a xref:playtime::key-concepts.adoc#column[]-related action. | ||
|
||
TODO | ||
|
||
== Action menu | ||
|
||
== Column menu | ||
|
6 changes: 5 additions & 1 deletion
6
doc/realearn/modules/ROOT/pages/targets/playtime/control-unit-scroll.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
= Target "Playtime: Control unit scroll" | ||
|
||
include::partial$under-construction.adoc[] | ||
Controls the current xref:playtime::further-concepts/matrix.adoc#control-unit-scroll-position[] of the xref:playtime::further-concepts/matrix.adoc#control-unit[] represented by this xref:key-concepts.adoc#unit[ReaLearn unit]. | ||
|
||
== Axis | ||
|
||
Sets the direction into which to scroll. |
36 changes: 35 additions & 1 deletion
36
doc/realearn/modules/ROOT/pages/targets/playtime/matrix-action.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,37 @@ | ||
= Target "Playtime: Matrix action" | ||
|
||
include::partial$under-construction.adoc[] | ||
Invokes a xref:playtime::key-concepts.adoc#matrix[]-related action. | ||
|
||
TODO | ||
|
||
== Action menu | ||
|
||
Stop:: | ||
|
||
Undo:: | ||
|
||
Redo:: | ||
|
||
Build scene:: | ||
|
||
Set record length mode:: | ||
|
||
Set custom record length in bars:: | ||
|
||
Enable/disable click:: | ||
|
||
Enable/disable MIDI auto-quantize:: | ||
|
||
Smart record:: | ||
|
||
Play ignited or enable silence mode:: | ||
|
||
Enable/disable silence mode:: | ||
|
||
Panic:: | ||
|
||
Enable/disable sequencer recording:: | ||
|
||
Enable/disable sequencer playing:: | ||
|
||
Tap tempo:: |
Oops, something went wrong.