I want to be able to use the KK Scale feature in maschine with other external midi keyboards even when my Komplete Kontrol keyboard isnt connected. If the KK keyboard is connected and Scale mode button is on , scales work correctly from non NI midi keyboards in Maschine. I think i found the file responsible for this but dont have enough coding knowledge to edit it. Its the “Komplete Kontrol2.lua” file within the Maschine 3 app (on mac os)
GPT said something below for example. Any smart guys on this forum up for the challenge? NI should really just open the scales mode up in the first place.
function KompleteKontrol2:onScaleButton(Pressed)
-- Force scale mode to always be active without hardware interaction
local ScaleEngine = NI.DATA.getScaleEngine(App)
if ScaleEngine then
-- Emulate scale activation without the button press
local ActiveParam = NI.HW.getScaleEngineActiveParameter(App)
if ActiveParam then
-- Force the scale engine to stay active
ActiveParam:setValue(true) -- Ensure scale mode is on
end
-- Make sure we're in the scale page, and navigate there if not
if self.ActivePageID ~= NI.HW.PAGE_SCALE then
self:changePage(NI.HW.PAGE_SCALE)
end
-- Force the LEDs to show scale is active
self:updateArpScaleLEDs()
end
end
or
function KompleteKontrol2:onScaleButton(Pressed)
-- Force scale mode to always be active without hardware interaction
local ScaleEngine = NI.DATA.getScaleEngine(App)
if ScaleEngine then
-- Emulate activation without hardware button press
local ActiveParam = NI.HW.getScaleEngineActiveParameter(App)
if ActiveParam then
ActiveParam:setValue(true) -- Force scale mode to be active
end
-- Optionally, ensure the software enters scale mode without needing the keyboard
if self.ActivePageID ~= NI.HW.PAGE_SCALE then
self:changePage(NI.HW.PAGE_SCALE)
end
-- Update the LEDs to reflect the active scale mode
self:updateArpScaleLEDs()
end
end