Nanokontrol2 on Traktor2 (4decks+metronomes+browsing+loop recorder)|v0.5

Home :: Post and find Controller Mappings :: Nanokontrol2 on Traktor2 (4decks+metronomes+browsing+loop recorder)|v0.5Reply
Nanokontrol2 on Traktor2 (4decks+metronomes+browsing+loop recorder)|v0.5
Posted on: 01.11.2011 by Simona Schar
Here's my first mapping done all by myself (I often slightly modify some existing mappings, but never did the whole thing by myself... 'till now^^

Here is a summary of what you'll control with this cheap controller mapping :
  • browsing track
  • loop controler
  • 2 Fx Unit (fully controlled)
  • 4 decks with loop control, 3band EQs fader (in a weird way see "my impressions" below) 3band EQs Killer...


Here's how the mapping works :
************************************************** ************************************************

Midi*IN:

1 Modifier: Cycle Led Off/Cycle Led On
2 Browser layout+previous track/FX Unit 1 Deck C+A
3 Browser layout+next track/FX Unit 1 Deck B+D
4 Browser layout+page up/FX Unit 2 Deck C+A
5 Browser layout+next down/FX Unit 1 Deck B+D
6 Loop recorder*: define loop size /Fx Unit 1 Fx1 On/Off
7 Loop recorder dry/Fx Unit 1 Fx2 On/Off
8 Loop recorder wet/Fx Unit 1 Fx3 On/Off
9 Loop recorder*: delete loop/Fx Unit 2 Fx1 On/Off
10 Loop recorder*: play/pause loop/Fx Unit 2 Fx1 On/Off
11 Loop recorder*: record loop/Fx Unit 2 Fx1 On/Off
12 Filter
13 Loop size/ Fx Unit 1 control : DeckC : Dry/wet | DeckA : Fx1amount | DeckB : Fx2 | DeckD : Fx3
14 Load track+Return in mixer layout + play + loop set
15 Play/pause(pause reset all Eqs to normal state)
16 Loop On/off
17 Volume
18 Autorize 21 for High EQ/ High Kill
19 Autorize 21 for Mid EQ/ Mid Kill
20 Autorize 21 for Low EQ/ Low Kill
21 Multi Eqs fader/ Fx unit2 control*DeckC : Dry/wet | DeckA:Fx1amount | DeckB:Fx2 | DeckD:Fx3

MIDI OUT*:
1 Cycle On/Off*: Led ON/ Led Off
4 Quantize Mode On*: Led ON
5 Snap Mode On*: Led ON
10 Loop recorded playing*: ON
11 Recording*loop: Led ON
14+15+16*: Playing track*: Vumeter
14+15+16*: Playing loop (inverted vumeter)
18*: Kill high Eq*: Led Off
19*: Kill Mid Eq*: Led Off
20*: Kill Low Eq*: Led Off

************************************************** ************************************************** *****

Changelog
VERSION*(0,5) :
First version, put the main functions together working, define ergonomy

VERSION*(0,6) :
- Major Improvement : Two mods
  • Mod 1 : Browser, Loop Controler, 3 Bands EQs Fader
  • Mod 2 : Fx Control, 3 Bands EQs Killer
- FX Mod : first shot
- Improved browsing functions.


VERSION 0,7 :
- Minor Version :
- Vuemeter Led Issue partially solved,
- EQs state reset when pausing the track
- Creating a better mapping documentation
************************************************** ************************************************
Future improvements :
  • IMPROVE FX ASSIGNATION...+Map 4 fx Unit
  • Fixing Bugs and working on something else...


My own Impressions :
About the One Faders three band EQs : This part of the mapping is both the thing I like the most (I thought I can
Chasidy Heckenbach
12.11.2011
Originally Posted by Just Friday
Here's my second debug file. It takes some times to do it (my day by day installation is ubntu based...).

This looks even worse than the previous backtrace with traktor...
Nevertheless, hope it helps...

BTW, the nanokontrol2 thread was totaly highjacked by our midimasher talk... No offense, I did the half of the answers
cool. even more off topic but... midimasher should work fine on linux. i just haven't tried to build it recently on my kubuntu laptop as i'm only really using it with ableton and traktor on windows.

that debug file is showing that some other app has grabbed the lpd8 ports, or had grabbed and not released them properly, so midimasher wasn't about to connect.

i usually see that if i run traktor before running midimasher, or something else like midiox etc. also just very occasionally i've seen that error when even tho i've quit traktor the midi ports haven't been released properly.

it does output "failed to open out port LPD8" in that trace - but it's a bit hidden by all the default RtMidi lib errors. i should try and clean that up.

it does detect the lpd8 and correctly work out what port indexes to open.

very off topic but at least this is your own thread
Chasidy Heckenbach
12.11.2011
Originally Posted by Just Friday
Ok... I'll do it for shure!
awesome - much appreciated
Chasidy Heckenbach
11.11.2011
Originally Posted by Just Friday
Does it mean I found a bug ? :$
has to be some kind of bug, might just be it wasn't able to connect but didn't report it properly, which would still be a bug ofc. all i can do is test on my own devices+setup and hope it works on other peoples. i'm definately relying on people like you to help me test and make it more reliable

is there any chance u could give it another shot? in debug mode run that config but without traktor and see if u get any debug at all when u press button on the lpd8? and if not do u get any output when u run dump.exe, select the lpd8 and press some buttons?

it's almost the weekend and i have plenty of time to fix any issues in midimasher and also going to finally release a full multipage launchpad config.

probably going to mod the "itch slicer" to use the method chris described on the blog post "String Theory for DJs". it'll still flash each pad on the beat like the twitch one but use his method of dropping a hot cue at the start of the 8 beats and always jumping to that cue before then sending beatjumps back to where i need to be. should make it much more reliable.

that "twitch slicer" also works on the lpd8 btw - any grid controller in fact - even any controller that has grid pads in it's devices file, tho it's much more fun with led feedback on the pads
Chasidy Heckenbach
11.11.2011
Originally Posted by Just Friday
In the beginning of the debug file, I pressed a few buttons before launching traktor...
However, I found a solution. Not the best, but it works more or less and let me wait my foreseas coming midifighter!
very odd then. i even run my real midi fighter via midimasher so i can dynamically switch it between normal and 4banks modes.

sounds like it wasn't able to connect to the lpd8 properly anyway.
Chasidy Heckenbach
09.11.2011
Originally Posted by Just Friday
Thanks a lot!!!
It works in the midimasher, but after, i donno why, but there's still nothing...
I launch Midimasher, everything seems ok, but after, nothing happens... I use the instant grat 1.0.3 tsi... I loaded it twice, etc...
I don't understand...
can u run debug.bat instead of midimasher.bat, press a couple of buttons on the lpd8 and paste me the output? or running debug_file.bat will create u a file called debug.txt of all the debug once you press ctrl-c to exit it (debug won't get flushed always if u close the dos box by clicking afaik).

just need to know whether midimasher is sending the midi fighter midi to traktor or not - then we'll know whether it's my issue or a traktor setup one.
Marybeth Sardone
29.12.2011
awesome! thank's so much dude! keep up the good work!!
Simona Schar
29.12.2011
No problem. It's totally normal. By default, Leds are set up as in internal mode(you press the button, the led lights up). To have the VUmeter and all the external output, you need to install korg driver and nanoseries manager, then plug your nanokontrol2 in, and switch LEDs mode from internal to external in the device manager.

That's all.

Hope it helps

Regards, Pierre.
Marybeth Sardone
29.12.2011
hey all i just got a nanoKontrol2 in the mail today, and i tried this mapping but my outputs arent working so i can not tell when, IE. the modifier is on or off. any help with this would be appreciated! right now the buttons only light up when pressed and shut off after release.
Chasidy Heckenbach
12.11.2011
Originally Posted by Just Friday
Here's my second debug file. It takes some times to do it (my day by day installation is ubntu based...).

This looks even worse than the previous backtrace with traktor...
Nevertheless, hope it helps...

BTW, the nanokontrol2 thread was totaly highjacked by our midimasher talk... No offense, I did the half of the answers
cool. even more off topic but... midimasher should work fine on linux. i just haven't tried to build it recently on my kubuntu laptop as i'm only really using it with ableton and traktor on windows.

that debug file is showing that some other app has grabbed the lpd8 ports, or had grabbed and not released them properly, so midimasher wasn't about to connect.

i usually see that if i run traktor before running midimasher, or something else like midiox etc. also just very occasionally i've seen that error when even tho i've quit traktor the midi ports haven't been released properly.

it does output "failed to open out port LPD8" in that trace - but it's a bit hidden by all the default RtMidi lib errors. i should try and clean that up.

it does detect the lpd8 and correctly work out what port indexes to open.

very off topic but at least this is your own thread
Simona Schar
12.11.2011
Here's my second debug file. It takes some times to do it (my day by day installation is ubntu based...).

This looks even worse than the previous backtrace with traktor...
Nevertheless, hope it helps...

BTW, the nanokontrol2 thread was totaly highjacked by our midimasher talk... No offense, I did the half of the answers
Chasidy Heckenbach
12.11.2011
Originally Posted by Just Friday
Ok... I'll do it for shure!
awesome - much appreciated
Simona Schar
12.11.2011
Ok... I'll do it for shure!
Chasidy Heckenbach
11.11.2011
Originally Posted by Just Friday
Does it mean I found a bug ? :$
has to be some kind of bug, might just be it wasn't able to connect but didn't report it properly, which would still be a bug ofc. all i can do is test on my own devices+setup and hope it works on other peoples. i'm definately relying on people like you to help me test and make it more reliable

is there any chance u could give it another shot? in debug mode run that config but without traktor and see if u get any debug at all when u press button on the lpd8? and if not do u get any output when u run dump.exe, select the lpd8 and press some buttons?

it's almost the weekend and i have plenty of time to fix any issues in midimasher and also going to finally release a full multipage launchpad config.

probably going to mod the "itch slicer" to use the method chris described on the blog post "String Theory for DJs". it'll still flash each pad on the beat like the twitch one but use his method of dropping a hot cue at the start of the 8 beats and always jumping to that cue before then sending beatjumps back to where i need to be. should make it much more reliable.

that "twitch slicer" also works on the lpd8 btw - any grid controller in fact - even any controller that has grid pads in it's devices file, tho it's much more fun with led feedback on the pads
Simona Schar
11.11.2011
Does it mean I found a bug ? :$
Chasidy Heckenbach
11.11.2011
Originally Posted by Just Friday
In the beginning of the debug file, I pressed a few buttons before launching traktor...
However, I found a solution. Not the best, but it works more or less and let me wait my foreseas coming midifighter!
very odd then. i even run my real midi fighter via midimasher so i can dynamically switch it between normal and 4banks modes.

sounds like it wasn't able to connect to the lpd8 properly anyway.
Simona Schar
10.11.2011
In the beginning of the debug file, I pressed a few buttons before launching traktor...
However, I found a solution. Not the best, but it works more or less and let me wait my foreseas coming midifighter!
Chasidy Heckenbach
09.11.2011
there's no data in that debug log at all from your lpd8 - very odd. can u press some buttons when traktor isn't playing - and see whats in the log? tho there should have been lpd8 and midi fighter stuff in there as well as the beatphase and levels from traktor ofc.

you don't get any warnings from midimasher when u start it now?

ah - did u use the akai lpd8 editor and configure your lpd8 with the file settings/lpd8_editor_config.txt ?

could be your lpd8 is setup differently to mine *but* there still should have been some messages in the debug log from your lpd8 - even if midimasher didn't understand what the messages were.

i'll plug in my lpd8 tomorrow with traktor and dble check things and paste the output i would expect to see.

any input from any connected midi device should be in that log in theory.

at least we know that traktor is connected now ofc as the beatphase is in there.
Simona Schar
09.11.2011
Here's the debug file.
My traktor config is :
Midimasher MM to Traktor/Traktor to MM (focus)
MF Bank[A] : MidiFighter1 Input/Midifighter1 Output (Deck A)
MFBank[B] : MidiFighter1 Input/Midifighter1 Output (Deck B)
MFBank[C] : MidiFighter1 Input/Midifighter1 Output (Deck C)
MFBank[D] : MidiFighter1 Input/Midifighter1 Output (Deck D)

What did I do wrong?
Chasidy Heckenbach
09.11.2011
Originally Posted by Just Friday
Thanks a lot!!!
It works in the midimasher, but after, i donno why, but there's still nothing...
I launch Midimasher, everything seems ok, but after, nothing happens... I use the instant grat 1.0.3 tsi... I loaded it twice, etc...
I don't understand...
can u run debug.bat instead of midimasher.bat, press a couple of buttons on the lpd8 and paste me the output? or running debug_file.bat will create u a file called debug.txt of all the debug once you press ctrl-c to exit it (debug won't get flushed always if u close the dos box by clicking afaik).

just need to know whether midimasher is sending the midi fighter midi to traktor or not - then we'll know whether it's my issue or a traktor setup one.
Simona Schar
09.11.2011
Thanks a lot!!!
It works in the midimasher, but after, i donno why, but there's still nothing...
I launch Midimasher, everything seems ok, but after, nothing happens... I use the instant grat 1.0.3 tsi... I loaded it twice, etc...
I don't understand...
Chasidy Heckenbach
09.11.2011
Originally Posted by Just Friday
midi: scan devices...
midi.in.0: LPD8
midi.in.1: MM to trakor
midi.in.2: Traktor to MM
midi.in.3: MidiFighter 1 Input
midi.in.4: MidiFighter 1 Output
midi.in.5: MidiFighter 2 Input
midi.in.6: MidiFighter 2 Output
traktor: open midi.in.2: Traktor to MM
warning: no midi out device [MM to Traktor]
loading: devices/traktor.lua
loading: lib/traktor.lua
lpd8: open midi.in.0: LPD8
lpd8: open midi.out.1: LPD8
loading: devices/lpd8.lua
warning: no midi in device [MidiFighter1 Input]
warning: no midi out device [MidiFighter1 Output]
running... <ctrl>-<c> to quit.

Obviously, something went wrong... but what???
the device names are case sensitive, so it didn't match. you just need to rename "MM to trakor" to "MM to Trakor" and same for the other one. it probably doesn't need to be case sensitive, so i'll add in that change to the next release.

similar issue for your virtual midifighter ports as you added a space with "MidiFighter 1 Input" where the code was looking for "MidiFighter1 Input"

i'll also fix that in the next release. it already matches on a device called "1-Launchpad" if you call the device "Launchpad" in the config (due to windows multiple device renaming) so i'll strip the spaces and convert to lower case before the final check.

renaming your loopMIDI ports should make it work tho.

hopefully soon this will be a mute point anyway (for virtual devices anyway) as i've been in contact with the authour of loopMIDI and hopefully he'll be giving me access to an interface that will allow midimasher to create/delete virtual ports on the fly.
Simona Schar
08.11.2011
I didn't succed in making the midimasher work...

I followed the tutorial :
loopmidi config,
then traktor launch + double instant grat mapping load
then traktor launch for the third time, then load the traktor.tsi mapping,
then config (and here's where it's not clear for me... I did as can : the midimasher mappin MM to Traktor/Traktor to MM, the Midi fighter banks : MidiFighter 1 I/O)...

Of course I have tried with the midimasher last version, and here's what I obtain :

Code:
midimasher: build 20111026
#1: default.lua
#2: launchpad.lua
#3: lpd8.lua
#4: lpd8_midifighter_4banks.lua
#5: mpd18_midifighter_4banks.lua

select a config > 4

midi: scan devices...
midi.in.0: LPD8
midi.in.1: MM to trakor
midi.in.2: Traktor to MM
midi.in.3: MidiFighter 1 Input
midi.in.4: MidiFighter 1 Output
midi.in.5: MidiFighter 2 Input
midi.in.6: MidiFighter 2 Output
midi.out.0: Microsoft GS Wavetable Synth
midi.out.1: LPD8
midi.out.2: MM to trakor
midi.out.3: Traktor to MM
midi.out.4: MidiFighter 1 Input
midi.out.5: MidiFighter 1 Output
midi.out.6: MidiFighter 2 Input
midi.out.7: MidiFighter 2 Output
lua: register functions...
lua: run embedded lua...
loading: lib/startup.lua
loading: config/lpd8_midifighter_4banks.lua
traktor: open midi.in.2: Traktor to MM
warning: no midi out device [MM to Traktor]
loading: devices/traktor.lua
loading: lib/traktor.lua
lpd8: open midi.in.0: LPD8
lpd8: open midi.out.1: LPD8
loading: devices/lpd8.lua
warning: no midi in device [MidiFighter1 Input]
warning: no midi out device [MidiFighter1 Output]
running... <ctrl>-<c> to quit.
Obviously, something went wrong... but what???
Chasidy Heckenbach
07.11.2011
Originally Posted by Just Friday
Man... That's what I dreamed of!!! I'm gonna take a close look at it
I just wanted to see how I can map some instant grat functionnality, in order to add it to my all-in-one ldp8 mapping...
cool one of the best things about midimasher when used with traktor is not having to use the nasty traktor controller editor at all.

it has a massive tsi and associated config that tells it what messages to send out to do different things in traktor.

like to create a toggle button to control the playing of deck 'a' you'd use something like this in your config file:

Code:
toggle("lpd8", "1,0", 1, ON, OFF, "traktor", "play_a")
and midimasher already has the fixes in to keep the button lit when u release etc ofc.
Simona Schar
07.11.2011
Originally Posted by zestoi
make sense - if u have the pads flashing from the beatphase then makes no odds if it goes out when the pad is released as it will only be off for a second or less. cool idea
Moreover, if you map some Out with AFL monitor Out, with a very low range (0.000000 / 0.100000, as an exemple), your led will be ON without blinking, but will be considered as a blinking one by the ldp8... I found it late yesterday... I'm gonna follow the track

Originally Posted by zestoi
if you want to use instant grat on an lpd8 then u could just try my midimasher. it uses PAD+CC mode to give u the 4x4 grid of a midi fighter. the top row buttons tell u which bank u are in just like on a real midi fighter. in fact all it's doing is emulating the real midi fighter so u just use the normal instant grat tsi. the midimasher config name is lpd8_midifighter_4banks.lua
Man... That's what I dreamed of!!! I'm gonna take a close look at it
I just wanted to see how I can map some instant grat functionnality, in order to add it to my all-in-one ldp8 mapping...
Chasidy Heckenbach
06.11.2011
Originally Posted by Just Friday
Thanks a lot!!! I saw that it was realy a pain... That's why I asked some help ))

I have some idea about the "state" leds wich are not linked to an event but to a general output... so it works... as an exemple, I tought about map the playing state 0/1 with vumeter, inloop state with reversed vumeter, and adding modifier like a "playing deck A"... It makes it works...
Of course, it won't work with everything, but I hope I could find enough modifiers to map everything.
Do you believe it's the good way to deal with this controler?
make sense - if u have the pads flashing from the beatphase then makes no odds if it goes out when the pad is released as it will only be off for a second or less. cool idea

Furthermore, I plan to use the midifighter "instant gratification" adaptation for 2 ldp8 and map the more i can on 1 ldp8... I'll do my best to map the more I can... do you believe it's possible (for exemple, mapping the combos on one button, and of course, I know I can't use the banking mode (( ) ?
if you want to use instant grat on an lpd8 then u could just try my midimasher. it uses PAD+CC mode to give u the 4x4 grid of a midi fighter. the top row buttons tell u which bank u are in just like on a real midi fighter. in fact all it's doing is emulating the real midi fighter so u just use the normal instant grat tsi. the midimasher config name is lpd8_midifighter_4banks.lua

there's also this config http://midimasher.djism.com/lua/config/lpd8.lua that i created for the lpd8 that has a twitch style "slicer" when u are in CC mode. not 100% sure i haven't broken something that it needs to recently while doing more launchpad stuff.
Simona Schar
06.11.2011
Originally Posted by zestoi
led's on the lpd8 can be a bit of a pain, i had to code around various issues for my midimasher. let me know if i can help with any info.
Thanks a lot!!! I saw that it was realy a pain... That's why I asked some help ))

Originally Posted by zestoi
the other issue that i can believe of is while in PAD mode the lpd8 ignores any CC's and vice versa. so when u switch to CC mode the lpd8 will light up the pads exactly the same as the last time u were in CC mode - minus any midi messages that u may have sent to it since. nothing u can really do about that issue.
the biggest pain with the lpd8 is a pad's led will *always* turn off once you release the pad, even if traktor had sent the pad a message to turn it on. to work round that u need to send the lpd8 another midi message to turn it back on when u release.
I have some idea about the "state" leds wich are not linked to an event but to a general output... so it works... as an exemple, I tought about map the playing state 0/1 with vumeter, inloop state with reversed vumeter, and adding modifier like a "playing deck A"... It makes it works...
Of course, it won't work with everything, but I hope I could find enough modifiers to map everything.
Do you believe it's the good way to deal with this controler?

Furthermore, I plan to use the midifighter "instant gratification" adaptation for 2 ldp8 and map the more i can on 1 ldp8... I'll do my best to map the more I can... do you believe it's possible (for exemple, mapping the combos on one button, and of course, I know I can't use the banking mode (( ) ?
Chasidy Heckenbach
06.11.2011
Originally Posted by Just Friday
I Need some documentation on AKAI LPD8 LEDs management (seems realy tricky), and your favorite FX presets
led's on the lpd8 can be a bit of a pain, i had to code around various issues for my midimasher. let me know if i can help with any info.

the biggest pain with the lpd8 is a pad's led will *always* turn off once you release the pad, even if traktor had sent the pad a message to turn it on. to work round that u need to send the lpd8 another midi message to turn it back on when u release.

the other issue that i can believe of is while in PAD mode the lpd8 ignores any CC's and vice versa. so when u switch to CC mode the lpd8 will light up the pads exactly the same as the last time u were in CC mode - minus any midi messages that u may have sent to it since. nothing u can really do about that issue.
Simona Schar
06.11.2011
New version (the last before the mapping is completly over, I guess...)...It's stable, and has few issues... The next (and last, with four FX units) version will be released in few weeks. I start working seriously on the LDP8...

<< Back to Post and find Controller MappingsReply

Copyright 2012-2023
DJRANKINGS.ORG n.g.o.
Chuo-ku, Osaka, Japan

Created by Ajaxel CMS

Terms & Privacy