-
-
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.
- Loading branch information
Showing
23 changed files
with
104 additions
and
57 deletions.
There are no files selected for viewing
Binary file modified
BIN
+12.9 KB
(110%)
doc/helgobox/modules/ROOT/images/generated/screenshots/main/home-screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-154 Bytes
(100%)
doc/helgobox/modules/ROOT/images/generated/screenshots/main/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.11 KB
(100%)
...aytime/modules/ROOT/images/generated/screenshots/elements/area/track-area-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.5 KB
(100%)
doc/playtime/modules/ROOT/images/generated/screenshots/main/main-screen-areas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-41.5 KB
(84%)
doc/playtime/modules/ROOT/images/generated/screenshots/main/main-screen-empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.91 KB
(100%)
doc/playtime/modules/ROOT/images/generated/screenshots/main/main-screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
82 changes: 82 additions & 0 deletions
82
doc/playtime/modules/ROOT/pages/advanced-usage-scenarios/generate-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,82 @@ | ||
[[feature-import-export-lua]] | ||
= Generate a matrix using code | ||
|
||
Just as it is possible to xref:advanced-usage-scenarios/control-with-items.adoc#assign-midi-triggers-automatically[generate ReaLearn mappings via Luau], you can also generate a Playtime xref:key-concepts.adoc#matrix[] via Luau. | ||
|
||
.This guide is a work in progress | ||
WARNING: The matrix generated by this example xref:key-concepts.adoc#matrix[] is viewable, but not yet playable! It will be improved in the future to be playable as well. | ||
|
||
Proceed like this: | ||
|
||
. Copy below Luau code to the clipboard | ||
. Press the xref:helgobox::app/user-interface/navigation-bar.adoc#navbar-show-helgobox-plugin[] icon in the navigation bar on the left. | ||
. Press xref:helgobox::plug-in/user-interface/menu-bar.adoc#import-from-clipboard[]. | ||
. After confirming the import, you should see a large and wildly colorful matrix. | ||
|
||
.Colorful matrix | ||
[source,lua] | ||
---- | ||
local column_count = 10 | ||
local row_count = 200 | ||
-- Clip source | ||
-- Build columns | ||
local columns = {} | ||
local clip_index = 0 | ||
for c = 0, column_count - 1 do | ||
local slots = {} | ||
for r = 0, row_count - 1 do | ||
if (c % 2 == 0 and r % 2 == 0) or (c % 2 == 1 and r % 2 == 1) then | ||
local slot = { | ||
row = r, | ||
clips = { | ||
{ | ||
name = `Clip {c + 1}/{r + 1}`, | ||
color = { | ||
kind = "PaletteColor", | ||
index = 5 + clip_index % 17, | ||
}, | ||
source = { | ||
kind = "MidiChunk", | ||
chunk = [[ | ||
HASDATA 1 960 QN | ||
E 3840 b0 7b 00 0 | ||
IGNTEMPO 1 120 4 4 | ||
]], | ||
} | ||
}, | ||
}, | ||
} | ||
table.insert(slots, slot) | ||
clip_index += 1 | ||
end | ||
end | ||
local column = { | ||
slots = slots or nil, | ||
} | ||
table.insert(columns, column) | ||
end | ||
-- Build rows | ||
local rows = {} | ||
for r = 1, row_count do | ||
local row = { | ||
name = `Scene {r}`, | ||
} | ||
table.insert(rows, row) | ||
end | ||
-- Build matrix | ||
local matrix = { | ||
columns = columns, | ||
rows = rows, | ||
} | ||
-- Return result | ||
return { | ||
kind = "ClipMatrix", | ||
version = "2.16.15", | ||
value = matrix, | ||
} | ||
---- |
1 change: 1 addition & 0 deletions
1
doc/playtime/modules/ROOT/pages/advanced-usage-scenarios/meta-clips.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
1 change: 1 addition & 0 deletions
1
doc/playtime/modules/ROOT/pages/advanced-usage-scenarios/multiple-instances.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
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
8 changes: 8 additions & 0 deletions
8
...time/modules/ROOT/partials/generated/elements/tempo-settings/click-and-tap.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,8 @@ | ||
ifdef::pdf-theme[[[tempo-settings-click-and-tap,Click and tap]]] | ||
ifndef::pdf-theme[[[tempo-settings-click-and-tap,Click and tap]]] | ||
== Click and tap | ||
|
||
|
||
|
||
|
||
|
Binary file modified
BIN
+156 KB
(450%)
...rn/modules/ROOT/images/generated/screenshots/main/compartment-preset-picker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+7.22 KB
(110%)
doc/realearn/modules/ROOT/images/generated/screenshots/main/controller.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-274 Bytes
(100%)
doc/realearn/modules/ROOT/images/generated/screenshots/main/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
54 changes: 0 additions & 54 deletions
54
resources/main-presets/factory/generic/unsorted/generate-matrix.luau
This file was deleted.
Oops, something went wrong.