Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #155 from Philipp-M/add-launchpad-mini-mk3-controller
Add the controller 'Novation Launchpad Mini MK3' with the configurations 'GridPie', 'Recorder' and 'Sequencer' to Duplex
- Loading branch information
Showing
8 changed files
with
779 additions
and
0 deletions.
There are no files selected for viewing
127 changes: 127 additions & 0 deletions
127
...plex.xrnx/Duplex/Controllers/LaunchpadMiniMK3/Configurations/LaunchpadMiniMK3_GridPie.lua
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,127 @@ | ||
--[[---------------------------------------------------------------------------- | ||
-- Duplex.LaunchpadMiniMK3 | ||
----------------------------------------------------------------------------]]-- | ||
duplex_configurations:insert { | ||
-- configuration properties | ||
name = "GridPie", | ||
pinned = true, | ||
-- device properties | ||
device = { | ||
class_name = "LaunchpadMiniMK3", | ||
display_name = "Launchpad Mini MK3", | ||
device_port_in = "Launchpad Mini MK3 MIDI 2", | ||
device_port_out = "Launchpad Mini MK3 MIDI 2", | ||
control_map = "Controllers/LaunchpadMiniMK3/Controlmaps/LaunchpadMiniMK3_GridPie.xml", | ||
thumbnail = "Controllers/LaunchpadMiniMK3/LaunchpadMiniMK3.bmp", | ||
protocol = DEVICE_PROTOCOL.MIDI, | ||
}, | ||
applications = { | ||
GridPie = { | ||
mappings = { | ||
grid = { | ||
group_name = "Grid", | ||
}, | ||
v_prev = { | ||
group_name = "Controls", | ||
index = 1, | ||
}, | ||
v_next = { | ||
group_name = "Controls", | ||
index = 2, | ||
}, | ||
h_prev = { | ||
group_name = "Controls", | ||
index = 3, | ||
}, | ||
h_next = { | ||
group_name = "Controls", | ||
index = 4, | ||
}, | ||
}, | ||
options = { | ||
follow_pos = 2 | ||
}, | ||
}, | ||
Mixer = { | ||
mappings = { | ||
mute = { | ||
group_name = "Mutes" | ||
} | ||
}, | ||
options = { | ||
page_size = 1, | ||
follow_track = 1 | ||
} | ||
}, | ||
Transport = { | ||
mappings = { | ||
edit_mode = { | ||
group_name = "Controls", | ||
index = 5, | ||
}, | ||
start_playback = { | ||
group_name = "Controls", | ||
index = 6, | ||
}, | ||
loop_pattern = { | ||
group_name = "Controls", | ||
index = 7, | ||
}, | ||
follow_player = { | ||
group_name= "Controls", | ||
index = 8, | ||
}, | ||
}, | ||
options = { | ||
pattern_play = 3, -- toggle start/stop with single button | ||
}, | ||
}, | ||
PatternSequence = { | ||
mappings = { | ||
display_previous = { | ||
group_name = "SequencerControls", | ||
index = 1, | ||
}, | ||
display_next = { | ||
group_name = "SequencerControls", | ||
index = 2, | ||
} | ||
}, | ||
}, | ||
TrackSelector = { | ||
mappings = { | ||
select_track = { | ||
group_name = "Tracks" | ||
} | ||
}, | ||
options = { | ||
page_size = 1 | ||
} | ||
}, | ||
StepSequencer = { | ||
mappings = { | ||
grid = { | ||
group_name = "Sequencer" | ||
}, | ||
transpose = { | ||
group_name = "SequencerControls", | ||
index = 5, | ||
orientation = "vertical" | ||
}, | ||
level = { | ||
group_name = "Triggers" | ||
} | ||
}, | ||
options = { | ||
line_increment = 8, | ||
page_size = 1, | ||
follow_track = 1, | ||
} | ||
} | ||
} | ||
} |
112 changes: 112 additions & 0 deletions
112
...lex.xrnx/Duplex/Controllers/LaunchpadMiniMK3/Configurations/LaunchpadMiniMK3_Recorder.lua
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,112 @@ | ||
--[[---------------------------------------------------------------------------- | ||
-- Duplex.LaunchpadMiniMK3 | ||
----------------------------------------------------------------------------]]-- | ||
duplex_configurations:insert { | ||
-- configuration properties | ||
name = "Recorder + Transport", | ||
pinned = true, | ||
-- device properties | ||
device = { | ||
class_name = "LaunchpadMiniMK3", | ||
display_name = "Launchpad Mini MK3", | ||
device_port_in = "Launchpad Mini MK3 MIDI 2", | ||
device_port_out = "Launchpad Mini MK3 MIDI 2", | ||
control_map = "Controllers/LaunchpadMiniMK3/Controlmaps/LaunchpadMiniMK3_Recorder.xml", | ||
thumbnail = "Controllers/LaunchpadMiniMK3/LaunchpadMiniMK3.bmp", | ||
protocol = DEVICE_PROTOCOL.MIDI, | ||
}, | ||
applications = { | ||
Recorder = { | ||
mappings = { | ||
recorders = { | ||
group_name = "Grid", | ||
}, | ||
sliders = { | ||
group_name = "Grid", | ||
}, | ||
}, | ||
options = { | ||
} | ||
}, | ||
Navigator = { | ||
mappings = { | ||
blockpos = { | ||
group_name = "Triggers", | ||
} | ||
} | ||
}, | ||
Mixer = { | ||
mappings = { | ||
mute = { | ||
group_name = "Row", | ||
}, | ||
}, | ||
options = { | ||
follow_track = 2, | ||
} | ||
}, | ||
Mixer_Track = { | ||
application = "Mixer", | ||
mappings = { | ||
levels = { | ||
group_name = "Column", | ||
}, | ||
}, | ||
options = { | ||
follow_track = 1, | ||
} | ||
}, | ||
TrackSelector = { | ||
mappings = { | ||
prev_page = { | ||
group_name = "Controls", | ||
index = 3, | ||
}, | ||
next_page = { | ||
group_name = "Controls", | ||
index = 4, | ||
}, | ||
}, | ||
options = { | ||
page_size = 1 , | ||
} | ||
}, | ||
Transport = { | ||
mappings = { | ||
goto_previous = { | ||
group_name= "Controls", | ||
index = 1, | ||
}, | ||
goto_next = { | ||
group_name= "Controls", | ||
index = 2, | ||
}, | ||
edit_mode = { | ||
group_name = "Controls", | ||
index = 5, | ||
}, | ||
start_playback = { | ||
group_name = "Controls", | ||
index = 6, | ||
}, | ||
loop_pattern = { | ||
group_name = "Controls", | ||
index = 7, | ||
}, | ||
follow_player = { | ||
group_name= "Controls", | ||
index = 8, | ||
}, | ||
}, | ||
options = { | ||
pattern_play = 3, | ||
} | ||
}, | ||
} | ||
} | ||
116 changes: 116 additions & 0 deletions
116
...ex.xrnx/Duplex/Controllers/LaunchpadMiniMK3/Configurations/LaunchpadMiniMK3_Sequencer.lua
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,116 @@ | ||
--[[---------------------------------------------------------------------------- | ||
-- Duplex.LaunchpadMiniMK3 | ||
----------------------------------------------------------------------------]]-- | ||
duplex_configurations:insert { | ||
-- configuration properties | ||
name = "Step Sequencer", | ||
pinned = true, | ||
-- device properties | ||
device = { | ||
class_name = "LaunchpadMiniMK3", | ||
display_name = "Launchpad Mini MK3", | ||
device_port_in = "Launchpad Mini MK3 MIDI 2", | ||
device_port_out = "Launchpad Mini MK3 MIDI 2", | ||
control_map = "Controllers/LaunchpadMiniMK3/Controlmaps/LaunchpadMiniMK3_StepSequencer.xml", | ||
thumbnail = "Controllers/LaunchpadMiniMK3/LaunchpadMiniMK3.bmp", | ||
protocol = DEVICE_PROTOCOL.MIDI, | ||
}, | ||
applications = { | ||
StepSequencer = { | ||
mappings = { | ||
grid = { | ||
component = {{UIButton}}, | ||
group_name = "Grid", | ||
orientation = ORIENTATION.HORIZONTAL, | ||
}, | ||
level = { | ||
component = UIButtonStrip, | ||
group_name = "Position", | ||
orientation = ORIENTATION.HORIZONTAL, | ||
}, | ||
prev_line = { | ||
component = UIButton, | ||
group_name = "Controls", | ||
index = 3 | ||
}, | ||
next_line = { | ||
component = UIButton, | ||
group_name = "Controls", | ||
index = 4 | ||
}, | ||
track = { | ||
component = UISpinner, | ||
group_name = "Controls", | ||
orientation = ORIENTATION.HORIZONTAL, | ||
index = 1 | ||
}, | ||
transpose = { | ||
component = {UIButton,UIButton,UIButton,UIButton}, | ||
group_name = "Treatments", | ||
orientation = ORIENTATION.HORIZONTAL, | ||
index = 5 | ||
}, | ||
cycle_layout = { | ||
component = UIButton, | ||
group_name = "Treatments", | ||
index = 1, | ||
} | ||
}, | ||
options = { | ||
--line_increment = 8, | ||
--follow_track = 1, | ||
--page_size = 5, | ||
} | ||
}, | ||
Rotate = { | ||
mappings = { | ||
track_in_pattern_up = { | ||
group_name = "Treatments", | ||
index = 3 | ||
}, | ||
track_in_pattern_down = { | ||
group_name = "Treatments", | ||
index = 4 | ||
}, | ||
} | ||
}, | ||
Transport = { | ||
mappings = { | ||
start_playback = { | ||
group_name = "Controls", | ||
index = 6, | ||
}, | ||
edit_mode = { | ||
group_name = "Controls", | ||
index = 5, | ||
}, | ||
follow_player = { | ||
group_name= "Controls", | ||
index = 7, | ||
}, | ||
loop_pattern = { | ||
group_name = "Controls", | ||
index = 8, | ||
}, | ||
}, | ||
options = { | ||
pattern_play = 3, -- toggle start/stop with single button | ||
}, | ||
}, | ||
Navigator = { | ||
mappings = { | ||
blockpos = { | ||
group_name = "Triggers", | ||
} | ||
} | ||
}, | ||
} | ||
} | ||
Oops, something went wrong.