Tip - changing patterns on the Maschine JAM without changing focus

If you're on a Mac, and you want to make it so Maschine JAM no longer changes the focused group when you select a pattern, then (after making a backup) change the section starting line 182 of
/Applications/Native Instruments/Maschine 2/Maschine 2.app/Contents/Resources/Scripts/Maschine/Helper/PatternHelper.lua
to read:
function PatternHelper.focusPatternByGroupAndByIndex(GroupIndex, PatternIndex, CreateIfEmpty) if PatternIndex == nil or PatternIndex < 0 or GroupIndex == nil or GroupIndex < 0 then return end local FocusGroup = NI.DATA.StateHelper.getFocusGroupIndex(App) local Group = MaschineHelper.getGroupAtIndex(GroupIndex) if Group then local Pattern = Group:getPatterns():find(PatternIndex) if Pattern then local FocusSection = NI.DATA.StateHelper.getFocusSection(App) local FocusScene = NI.DATA.StateHelper.getFocusScene(App) local FocusScenePattern = FocusScene and NI.DATA.SceneAccess.getPattern(FocusScene, Group) local HasFocus = Pattern == FocusScenePattern if HasFocus then if FocusSection then NI.DATA.SectionAccess.removePattern(App, FocusSection, Group) else -- In Idea Space we work on Scenes directly. NI.DATA.SceneAccess.removePattern(App, FocusScene, Group) end else NI.DATA.GroupAccess.insertPatternAndFocus(App, Group, Pattern) end if FocusGroup ~= GroupIndex then MaschineHelper.setFocusGroup(FocusGroup + 1, false) end elseif CreateIfEmpty == true then -- note: AudioPatterns can't currently be empty, so CreateIfEmpty is n/a PatternHelper.insertNewPattern(PatternIndex, Group) end end end
Comments
-
unbelievable, thank you so much. I've been waiting for Native Instruments to integrate this function for years. This was originally the reason for me to buy a Jam. ποΈ
1 -
Donβt have a Jam with me at the moment, but if it works, this is awesome! Thanks so much for the tip π
0 -
Wow... OK, now that's some awesome stuff to share, thanks! π
I've shared so many edits over the years and I always hoped that it could inspire someone with actual knowledge to do something fancier than what I can do... I think you're the 1st person to share something like this, thanks so much.
I don't have a Jam but I'll try to learn from your edit and maybe apply it to my M+ or KKS.
1 -
What language is it? I might join you one day...
0 -
It's Lua, C based language I think...
0 -
I see, for sure not C (it is not object oriented language), but it resembles C++ a bit.
0 -
This is more that awesome ! Does, by any chance, someone been able to port this on Windows ?
I tried to find some similar scripts in my system files but failed unfortunately.
Thanks @maschuser1 for pushing the boundaries !
0 -
On windows you have to use Resource Hacker to access the scripts, they are inside the application .exe itself. Open, edit then recompile/save.
0 -
It's awesome! How to make this trick work in standalone with the Maschine+?
0 -
Not possible, currently there is no known way to access the files on the M+ internal storage and modify them.
0 -
Has anyone with a Jam ever tested this?
0
Categories
- 10.7K All Categories
- 20 Welcome
- 444 Hangout
- 58 NI News
- 207 Tech Talks
- 1.1K Native Access
- 4.9K Komplete
- 619 Komplete General
- 1.1K Komplete Kontrol
- 1.8K Kontakt
- 486 Reaktor
- 154 Battery 4
- 268 Guitar Rig & FX
- 202 Massive X & Synths
- 212 Other Software & Hardware
- 2.3K Maschine
- 14 Sampling Room
- 2.6K Traktor
- 2.4K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators