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.
3 -
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 -
Yes, I just test it with Maschine+ in controller mode and JAM.
It's crazy, I have been waiting that since the beginning of the JAM's development.
NI should implement it as standard in Maschine and Maschine+...
1 -
I just guess why users must go and modify things like this (risking to make a mess and ruin everything) and NI still doesn’t mind about implementing things like this when users ask for them. I’m sure this is something a developer can do very easily, like in a couple of minutes work… So…why not doing it??? Or…explaining why you don’t wanna do it???
1 -
It would be fantastic to be able to use the M+ and Jam connected but independent from each other!
1
Categories
- All Categories
- 19 Welcome
- 1.4K Hangout
- 60 NI News
- 731 Tech Talks
- 3.8K Native Access
- 15.8K Komplete
- 1.9K Komplete General
- 4.1K Komplete Kontrol
- 5.5K Kontakt
- 1.5K Reaktor
- 364 Battery 4
- 811 Guitar Rig & FX
- 416 Massive X & Synths
- 1.2K Other Software & Hardware
- 5.5K Maschine
- 6.9K Traktor
- 6.9K 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