All times are UTC

 
 



Post new topic Reply to topic  [ 83 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Thu May 02, 2013 3:11 am 

Joined: Sat Apr 16, 2011 1:39 pm
Posts: 37
Hi,
here is my script for the Korg NanoKontrol 2. I found existing scripts a bit limited, so i got hands on scripting. I was written initially for L8 but I was able to port it to 9.

It has 4 modes with 8x3 session, cycling sends, reset send to 0 button, navigation/lock to devices, device on/off, device knobs, select track, metronome, quantization control, etc..

This is how it works:
Global Midi Channel is 1!
It loads in a default or initial mode and there are 3 modes buttons:
- STOP: Shift Mode
- PLAY: Alt Mode
- RECORD: Ctrl Mode
This buttons are toggle buttons for the versions previous to Live 9.1!
Press one of them to enter that mode, pressing again will deactivate it and return to the initial mode. If you have one mode active and press other mode button, simply it deactivates the first and activates the second.

OVERVIEW ON MODES:

- DEFAULT MODE:
- Track Nav - Session left/right
- Rewind, Forward - Session up/down
- Marker Left, Right - Send up/down
- Cycle, Set Marker - Does nothing
- Faders - Session tracks volume
- Knobs - Session tracks send A (Assignable with marker left/right to the other sends)
- Solo, Arm, Mute - Session Clip Launch Matrix 8x3

- SHIFT MODE:
- Track Nav - Same as in default mode
- Rewind, Forward - Same as in default mode
- Marker Left, Right - Same as in default mode
- Cycle, Set Marker - Does nothing
- Faders - Same as in default mode
- Knobs - Same as in default mode
- Solo, Arm, Mute - Solo, Arm and Mute for the Session controlled tracks

- ALT MODE:
- Track Nav - Same as in default mode
- Rewind, Forward - Same as in default mode
- Marker Left, Right - Same as in default mode
- Cycle, Set Marker - Does nothing
- Faders - Same as in default mode
- Knobs - Same as in default mode
- Solo - Resets the value of the current send for the Session controlled tracks
- Mute - Select track for the Session controlled tracks
- Arm - Stop button for the Session controlled tracks

- CTRL MODE:
- Track Nav - Same as in default mode
- Rewind, Forward - Same as in default mode
- Marker Left, Right - Device left/right
- Cycle - Device turn on/off
- Set Marker - Device lock/unlock
- Faders - Same as in default mode
- Knobs - Controls 8 knobs on a selected device
- Solo - Clip/Device view for the Session controlled tracks
- Mute - The 3 first Mute buttons are assigned to the 3 scene launch, the rest unassigned (Ideas are welcome)
- Arm 1 - Stop
- Arm 2 - Play
- Arm 3 - Record
- Arm 4 - Global Quantization
- Arm 5 - Tempo Down
- Arm 6 - Tempo Up
- Arm 7 - Metronome
- Arm 8 - Stop All Clips

Below is an image with the default CC values (image is included in zip file):

Image



PLEASE READ BELOW
Quote:
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: CHANGELOG V1.1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Compatible with Live 9.1, 9.1.1, 9.1.2, 9.1.3, 9.1.4
Fixed bug on switching between modes
Modes Buttons now are MOMENTARY (you need to go change that in the Korg Kontrol Editor Program)
In default mode the three modes buttons are now turned ON


Download (Includes all the versions for Ableton Live 8, 9.0 and 9.1):
http://www.sendspace.com/file/z9mere

Quote:
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: INSTALL NOTES ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
1- Download
2- Unzip NanoKontrol2Shift1.1.zip
3- Go to where you extracted the files and unzip the version that suits you
4- Find the folder that you just extracted containing the python scripts and rename it to NanoKontrol2Shift (example: NanoKontrol2ShiftAL9.1 - NanoKontrol2Shift)
5- Find you Live 9 application, right-click and choose "Show Package Content" then navigate to /Contents/App-Resources/MIDI Remote Scripts and copy the NanoKontrol2Shift folder here
6- Fire up Live, go to Preferences> MIDI Sync:
6.1- Control Surface: NanoKontrol2Shift
6.2- Input : nanoKONTROL2(SLIDER/KNOB)
6.3- Output : nanoKONTROL2(CTRL)


Edit: Forgot to mention that the py files are also in the package, meaning you can open with a text editor and see how it was done, and if you want you can change the mappings within the consts.py file.

Feel free to write suggestions, requests or questions and please report BUGS if you find any!


Last edited by dynamiiic on Sat Feb 07, 2015 5:51 pm, edited 4 times in total.

Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Sun May 05, 2013 10:02 pm 

Joined: Fri Aug 29, 2008 9:58 am
Posts: 5
This is brilliant. Thank you very much for sharing.


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Wed May 08, 2013 9:47 am 

Joined: Mon Sep 19, 2011 8:36 am
Posts: 188
Hey dynamiiic, it sounds cool.
I downloaded the file but it seems to be made in "python scripting"...
Wich I have absolutely no clue about how to "make it done"

Do you go trough the korg editor ?

(I'm an absolute newbie for those things)

And further question > if I'm not "happy" with the new nanokontrol behavior, is it easy to go back to default ?...

In advance thanx.


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Wed May 08, 2013 2:26 pm 

Joined: Sat Apr 16, 2011 1:39 pm
Posts: 37
erikomic wrote:
Hey dynamiiic, it sounds cool.
I downloaded the file but it seems to be made in "python scripting"...
Wich I have absolutely no clue about how to "make it done"

Do you go trough the korg editor ?

(I'm an absolute newbie for those things)

And further question > if I'm not "happy" with the new nanokontrol behavior, is it easy to go back to default ?...

In advance thanx.


Hi erikomic!
That's how MIDI Remote Scripting with Ableton it's done, with python scripting! And yes, you have to use the korg editor and yes, you can revert back to default! Here's a little tutorial:

1- Unzip, choose your version of the script (regarding if you use LIve 8 or 9). Copy the script folder to the remote scripts folder, here's how to do it
2- Then go to the Korg Editor and save your actual settings (File>Save As)
3- After this, go to the slot near the NK light: set the Global Midi Channel to 1, Control Mode to CC, Led Mode to Internal. Next, with the editor go through each control in the NK and set the Control Change number (according with the image in my first post or that is in the zip file you downloaded), for buttons set them as momentary.
4- Now go to Communication>Write Scene Data, after this the editor will prompt you if you want to save these new mapping (It's your choice)
5- Next close the editor, open Live, go to Preferences>Midi sync, in the Control Surface slot search for "NanoKontrol2ShiftALX" (where 'X' is the version), in the Input/Output slots is nanoKONTROL2. For Take Over Mode, I use "Value Scaling" but I guess "Pickup" should be fine too. Then under that, in the Input and Output of the nanoKontrol2 select "Track" and "Remote" for both rows.

To revert the changes in the Korg Editor simply go File>Open, load the file you saved before editing and then Communication>Write Scene Data and voilá!
And you are good to go, hope it helps!


Last edited by dynamiiic on Sat Feb 07, 2015 10:47 pm, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Thu May 09, 2013 8:55 am 

Joined: Mon Sep 19, 2011 8:36 am
Posts: 188
:D
Thanx dynamiiic.
I'll try this as soon as I can


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Thu May 09, 2013 6:29 pm 

Joined: Mon Feb 22, 2010 4:50 pm
Posts: 11636
Location: MacAbleton Towers, sunny Manchester.
Looks great dynamic, I'll give it a mention. Or you can do a review for MacAbleton if you want! :D

_________________
Image
★ 140 PAGES OF FREE exclusive Ableton Live and Mac OS X tutorials ★ News, interviews, gear reviews ★ Productivity, ergonomics, mouse-free computing
"great site with clear instructions and i like it that you make it understandable" dwiddy
Image


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Fri May 10, 2013 3:50 am 

Joined: Mon Sep 19, 2011 8:36 am
Posts: 188
IT's REALLY REALLY great !!
I have to get used to it but it's taking the nanoK2 to another level !
I love the CTRL mode and the lock device that gets the 8knobs going on the Plugin mapping ! :P

Altough there might be some suggestions soon... :wink: (like the panners that are missings)


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Fri May 10, 2013 12:07 pm 

Joined: Sat May 13, 2006 12:03 am
Posts: 456
Location: Liverpool
tasty! :mrgreen:

_________________
http://soundcloud.com/captain-johnson
http://www.junodownload.com/artists/Cap ... n/releases
http://www.beatport.com/artist/captain-johnson/144878


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Fri May 10, 2013 4:51 pm 

Joined: Sat Apr 16, 2011 1:39 pm
Posts: 37
Thank you for the feedback! Yeah i forgot panning, lets see how i will incorporate it back in a next version, waiting your suggestions then!
That would be great funken! Thanks! :) About the review, its better ask someone who tried and used it to do it and not its creator :)


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Sun May 19, 2013 1:16 pm 

Joined: Sat Mar 09, 2013 3:29 am
Posts: 8
.. I'm looking at alternatives to the BCR2000 which I can't get configured. Is the KorgNano control easier to set-up and with your template here, would I be able to control Lives Devices... but dynamically, meaning the knobs will auto-map to the parameters of any selected Live Device? Thanks.


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Sun May 19, 2013 5:38 pm 

Joined: Sat Apr 16, 2011 1:39 pm
Posts: 37
escmode wrote:
.. I'm looking at alternatives to the BCR2000 which I can't get configured. Is the KorgNano control easier to set-up and with your template here, would I be able to control Lives Devices... but dynamically, meaning the knobs will auto-map to the parameters of any selected Live Device? Thanks.


Hi escmode, you have a little tutorial some replies above on how to setup the nanoKontrol2 and the remote script to work. The Control Mode in this script is about Live devices, but i wrote it to use with instrument and audio racks not with eg. Operator, Analog, or any audio FXs. If you lock it to any of this devices the knobs will lock to 8 parameters and you can't change them now with this script (I will try to implement devices banks in the future).


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Mon May 20, 2013 12:47 am 

Joined: Mon Sep 19, 2011 8:36 am
Posts: 188
dynamiiic wrote:
If you lock it to any of this devices the knobs will lock to 8 parameters and you can't change them now with this script .


if you take time to rack and map the 8 knobs. It does really a good job on any kind of device...

thx again


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Thu May 23, 2013 3:56 pm 

Joined: Sat Apr 16, 2011 1:39 pm
Posts: 37
erikomic wrote:
dynamiiic wrote:
If you lock it to any of this devices the knobs will lock to 8 parameters and you can't change them now with this script .


if you take time to rack and map the 8 knobs. It does really a good job on any kind of device...

thx again


I'll try to implement that in a next version. 8)


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Thu May 30, 2013 11:15 am 

Joined: Mon Feb 22, 2010 4:50 pm
Posts: 11636
Location: MacAbleton Towers, sunny Manchester.
dynamiiic wrote:
Thank you for the feedback! Yeah i forgot panning, lets see how i will incorporate it back in a next version, waiting your suggestions then!
That would be great funken! Thanks! :) About the review, its better ask someone who tried and used it to do it and not its creator :)


Yeah, that's true. I've put it up as a News article anyway. I've neglected that bit of the site and mainly used other avenues like FB, but I'm trying to get into the habit of updating it.

_________________
Image
★ 140 PAGES OF FREE exclusive Ableton Live and Mac OS X tutorials ★ News, interviews, gear reviews ★ Productivity, ergonomics, mouse-free computing
"great site with clear instructions and i like it that you make it understandable" dwiddy
Image


Top
 Profile  
 
 Post subject: Re: NanoKontrol 2 MIDI Remote Script: "APC Emulation"
PostPosted: Sat Jun 01, 2013 1:48 pm 

Joined: Tue Feb 08, 2011 3:26 pm
Posts: 79
Location: Paris, France
Great script ! A few suggestions/questions :
- Is it possible to update leds in real time in default mode (launch clips) ? When I add a clip, it does not show up on the nanoKontrol
- Can you put a visual feedback on which send is selected ? On my script I had the solo/mute/arm leds blink for a brief time. If send A is selected, only the leds from the first track blink, if the B is selected, leds from the first and second tracks blink, etc
- In a same way, could a clip be blinking on the nanoKontrol if it's currently playing ?

I also already fixed a thing that annoyed me : if you'd press the shift button, then the alt button, then the shift button again, it would not go back to shift mode, but go to the regular mode.
And I switched regular and shift mode because it's how I prefer it to work :)

I'm also considering getting an Ableton Push. Is it possible to link the Push and the nanoKontrol to have the tracks on the nanokontrol match those on the Push ?

_________________
http://www.sbrk.fr


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 83 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

All times are UTC

 
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group