Skip to content

Commit

Permalink
Merge pull request #155 from Philipp-M/add-launchpad-mini-mk3-controller
Browse files Browse the repository at this point in the history
Add the controller 'Novation Launchpad Mini MK3' with the configurations 'GridPie', 'Recorder' and 'Sequencer' to Duplex
  • Loading branch information
emuell committed Apr 19, 2024
2 parents 7f77c81 + c05e088 commit 057f347
Show file tree
Hide file tree
Showing 8 changed files with 779 additions and 0 deletions.
@@ -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,
}
}
}
}
@@ -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,
}
},
}
}
@@ -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",
}
}
},
}
}

0 comments on commit 057f347

Please sign in to comment.