Traktor 2.5 - Remix Deck mapping for Lemur- 64 slot playback - available now

Home :: Post and find Controller Mappings :: Traktor 2.5 - Remix Deck mapping for Lemur- 64 slot playback - available nowReply
Traktor 2.5 - Remix Deck mapping for Lemur- 64 slot playback - available now
Posted on: 26.05.2012 by Timothy Sallay
Hi..

Starting a new thread as the original discussion was not in the mapping section.

[I]OSX tested ok, Windows users will need to modify clickout script commands as explained by Deksel here http://community .djranking s.com/showthr...l=1#post482127 /I]

Ive managed to create a lemur mapping that successfully can play from all 64 slots + full control of most midi commands.

Available to download free from the Lemur website ( Liine.net).

http://liine.net/en/community/user-library/view/255/

Uses the Lemurs ability to send mouse moves and clicks to TP 2.5, from an IPAD(3) running Lemur 3.1.0 ( though scripts have also been tested and work with iphone)

update : this was built on OSX 10.6.8 ( Macbook 13" circa 2008/Black version), with Lemur v3.1.0. Windows users will need to check the screen coordinates are the same( see Layout section below). Once tested if someone with windows can confirm this is working for them at 12800x800 that would be nice.ta.

Copy of the readme file below - make sure you read if your planning to use as there are several restrictions due to the screen resolutions and layouts. Only one remix deck ( in DECK C) is setup at this time.

ForvernowF1lemuremulator.jpg

---------------
README.txt
---------------

Hi,


Yesterday Ni released Traktor 2.5, with the new feature of remix decks, providing a similar clip launch function to Ableton. Next week NI launch the F1 controller built to go with these decks , which we all imagine will work perfectly with their software.

For the first time, Ni have chosen to limit the available midi mapping commands for these new decks, leaving people without the new F1 with little benefit (unless your a "mouse DJ").

I'll leave the reasoning and speculation regarding NI's reasoning for this to other community s, ( but come on NI, play the game eh ?)

I took these limitations as a challenge to get to know the Lemur, and Traktor software better, and had the idea to use mouse commands sent from the lemur to the tractor app running on my Macbook.

Enclosed in the download is are Lemur templates ( project and modules), that can be loaded directly or imported into you existing lemur template.

They used midi Channel 10 for all midi commands, which hopefully will not clash with other modules etc.



Trakor 2.5 remix deck limitation limitations
---------------------------------------------------------

NI have limited midi mapping options for non NI ( F1) hardwired to the 1st row of a the available 64 pads on each deck, basically making the new deck the same as the old sample decks.


What this template can do
-------------------------------------

⁃ Full playback from lemur custom buttons to all 64 pads , via ( 4 pages of 4X4)
⁃ levels and filters for each slot player
⁃ full control of the slot parameters for all 4 slot players
⁃ record loops from playing deck or sampler into the first row only
⁃ change gate/latch mode for the 1st row only
⁃ filter and mute
⁃ clear top row cells
⁃ sync,
⁃ save and load sets
⁃ switch layouts ( CRITICAL SEE INFO ON LAYOUTS BELOW)


What this cant do
-------------------------
• It cannot change the TRIGGER, PLAY TYPE, SYNC type for the 60 cells below the 1st row.
IT cannot record into slots other than the first row. However all cells/pads can played, effected, filtered etc. and different TRIGGER, PLAY TYPE parameters can be used on a cell by cell basis if setup before you play your gig. Naturally the mouse is always a last resort in a live situation ( hint duplicate cells, with different parameters is a workaround.

The mapping is for DECK C - only - if you need a 2nd "F1" remix deck, you'll need to rework the files. I wish i could help but i really don't have time.sorry


LAYOUTS - read this or it will not work
----------------------------------------------------------------

This lemur jzml/jzlbs uses the KBMOUSE DAEMON ( as well as standard midi output 0), which can be started from the normal midi daemon page in the taskbar.


▪ Connect the KBMOUSE output to you lemur before going further.
▪ Connect the midi in and out as per normal operation


The lemur buttons that select the remix deck pads do not send midi, but use two scripts for each cell that sends a mouse button press ( or mouse button release) sent to specific co-ordinates on the screen for each cell.

The x/y location of these cells will depend on your screen resolution , and you Traktor layout ( deck size, simple, essential view etc will shift the remix deck pads around the screen),

In order for this template to work for you you must either

a) set you screen resolution to 1280*800 AND run TP 2.5 in full screen mode

b) edit the scripts ( very simple, but time consuming) to use the coordinates that match your setup.


Make a FULL backup export of your settings from the Traktor Controller manager.

Included in the download is are 2 TSI files - you will need BOTH installed for this to work for you.

1) Forevernow_F1_GUI_layout settings_only.tsi

Export of my layouts ( whose names are also used in the TSI file) -these can be imported via the main IMPORT button next to the WIZARD

2) Forvernow_F1_lemur_emulator.tsi

The lemur midi mapping to be imported via the ADD / import option(directly under the DEVICE selector) NOT the large import button

As your cool and smart enough to run Lemur, this advice is probably unnessecary, but in case.

import via the ADD / import option(directly under the DEVICE selector) NOT the large import button next to the setup wizard.

I recommend trying with my screen layout first, and then changing the scripts if you need/like the setup.


Operation.
--------------------
access to the pads only works if the "F1 Essential " layout is used. This shows 4 effects, 2 simple track decks and 2 ( 1 usable in this template) remix decks.

ONLY Deck C has been setup ( did i mention that ?)


The template uses 5 tabbed containers, one of which is view, that can switch to other included layouts.

Things you might need to set include the remix deck quantisation, the source for recording loops


Play with it and see.. its pretty straightforward..


DISCLAIMER.. this might mess up you tractor settings if not installed properly.. backup you settings before use.

I'll try and assist where i can, but have little time, so please don't be upset if i cannot help you quickly. Much of the basics are out there on the net..

cheers
joe
Forevernow .
Sanjuanita Ramaley
25.06.2012
Originally Posted by Forevernow
Hope this screen grab of the editor will help..
Attachment 10500
Thank you!! I'll give it a swing.
Timothy Sallay
21.06.2012
Originally Posted by Area_6
How do I edit said scripts? My screen res is 1680 x 1050 and I don't want to change that. 1280 x 800 makes me feel like a 5th grader on a CRT monitor again.
Hope this screen grab of the editor will help..
f1 grab1.jpg
Chasidy Heckenbach
30.05.2012
Originally Posted by djvc1993
i have also made a tutorial.
I dont want to compete with this guy, i am just saying that you eventually can try this out.
this works with your favorite controller. check it out
awesome work i actually quite liked the synthesized voices too will def boot to windows later to try that out. nice one
Sanjuanita Ramaley
25.06.2012
Originally Posted by Forevernow
Hope this screen grab of the editor will help..
Attachment 10500
Thank you!! I'll give it a swing.
Leeanna Ayla
21.06.2012
There's a lemur update in the app store to support the retina display. Now all of the little letters are nice and smooth.
Timothy Sallay
21.06.2012
Originally Posted by Area_6
How do I edit said scripts? My screen res is 1680 x 1050 and I don't want to change that. 1280 x 800 makes me feel like a 5th grader on a CRT monitor again.
Hope this screen grab of the editor will help..
f1 grab1.jpg
Sanjuanita Ramaley
18.06.2012
How do I edit said scripts? My screen res is 1680 x 1050 and I don't want to change that. 1280 x 800 makes me feel like a 5th grader on a CRT monitor again.
Kellye Bollen
10.06.2012
Ok after looking over and over i decided to change every function on the Remixdeck tab that said anything about ReleaseMouseButton(0);



basically just changed the 0 to a 1 and viola i have mouse clicks finally ( running windows 7 64bit).

Now i am not able to get the mouse to release once clicked unless i press another button which i would press page each time for what page of decks i was on this would allow me to click the next button without copying the deck over to the next anyone got an idea what i need to change to make it release?


Thank you very much also getting ready to ask my dads UNIX guy he knows just about everything there is to know about scripting so if i find something out i will update.
Shanel Mcglothen
08.06.2012
Thank you guys very much for the hard work and efforts.

Will give this a try this weekend and let you know my feedback!

Leeanna Ayla
01.06.2012
Download worked for me at work so it should work at home. Will check this out later toevening .
Bethel Himmelein
02.06.2012
I tried with Safari/Firfefox on Mac and with Firefox on Windows, link is working here,
what OS/what browser do you use?

Rainer

PS; If you were talking about the old link: removed it, code was still too buggy

check this: http://www.traktorbible.com/articles...the-lemur.aspx
Edgardo Strianese
02.06.2012
Download link's not working for me on Rainer's either...
Stephane Timmreck
01.06.2012
remix deck is now working on iPad Lemur,
http://www.traktorbible.com/articles...the-lemur.aspx

thanks rainer =))
Chasidy Heckenbach
30.05.2012
Originally Posted by djvc1993
i have also made a tutorial.
I dont want to compete with this guy, i am just saying that you eventually can try this out.
this works with your favorite controller. check it out
awesome work i actually quite liked the synthesized voices too will def boot to windows later to try that out. nice one
Leeanna Ayla
29.05.2012
Download link's not working for me on Rainer's.
Lilliana Perris
29.05.2012
Originally Posted by photojojo
Awesome, now I just need to buy an iPad.
AND the Lemur software I guess....
Timothy Sallay
28.05.2012
Originally Posted by Deksel
Joe, Rainer, correct me if I'm wrong: the Lemur Daemon and editor allow for MIDI-in routing. So couldn't we trigger all these pads with MIDI-in commands? Then we could theoretically control the remix Deck pads with every controller out there?
quick answer - could possibly see this working if you have another controller( lets call it APC for now) & a Lemur, with midi routing from the APC being sent to the lemur.

The clickout scripts would need to change from "expression", to "midi', with each received midi cc/note mapped to mouse movement you want to make(a true note on / note off message would work well for each of the click states, if you can set it up on the APC, rather than a midi cc being use which is often the case).
Ive not tried routing midi into the lemur yet, but other than some latency dont see why this could not be made to work. You would always need the lemur running( as Padi mentioned), but guess real pads might be easier to play for many.

On a separate idea that might be worth pursuing for some is creating patterns of clickout scripts with some delays to allow pre-programmed "routines" mapped to single lemur button, these could be useful, even with different samples loaded into the remix deck.. 1 press, and bish,bash,bosh.. etc

cheers
joe
Chasidy Heckenbach
28.05.2012
if there was a cross platform c/c++ library for mouse emulation then it would be quite easy in midimasher - in fact forevernow+rainer's script would be quite easy to convert to LUA. i did have a quick dig but could only find separate code for controlling the mouse for mac/windows/linux rather than one nice common library. also i'm not running traktor too much these days - but i'm still curious to try out the remix decks - and manually clicking with a mouse doesn't appeal to much...
Nedra Fresneda
28.05.2012
The problems lies in the fact that even if you can send MIDI back through the Daemon, you still need an interface running lemur to connect to this and handle the information, the editor doesn't work for this.

Bomes Pro can convert MIDI/Keystrokes into Mouse motion and clicks (have a button on your controller send a mouse position and a few ms later trigger a click) but I'm not sure it supports the kind of scripting Lemur has to adapt to different resolutions and layouts but you might be able to pull it with a set of rules. I'm not very well versed with Bomes so I'm just putting the idea on the table.
Wilhelmina Notermann
28.05.2012
Originally Posted by Patch
Okay - now all the rest of us needs is a Lemur emulator, that we can map our own midi controllers to...

I won't hold my breath...
Joe, Rainer, correct me if I'm wrong: the Lemur Daemon and editor allow for MIDI-in routing. So couldn't we trigger all these pads with MIDI-in commands? Then we could theoretically control the remix Deck pads with every controller out there? I'm a Lemur noob (bought it yesterday), and a MIDI noob also, but I'd like to give it a go. Do you you guys have some pointers/suggestions for how to approach this specific challenge (or if you believe its impossible, please let me know).
Sylvia Greener
27.05.2012
Originally Posted by Patch
Okay - now all the rest of us needs is a Lemur emulator, that we can map our own midi controllers to...

I won't hold my breath...
+1 Great work!
Bethel Himmelein
27.05.2012
Yes; believe with the new MBP coming with higher resolutions, its much easier to change one line of code than to get all the x/y values again. And in case something changes in the dimensions of the Trkator panels, adapting is done in minutes.
Bethel Himmelein
27.05.2012
I changed the JZML into a ZIP file, the ZIP file should work, Rainer
Wilhelmina Notermann
27.05.2012
DL Link works for me. I'll check if this works with Windows PC's. Slightly different approach then mine, but I definately like the flexibility of your script. I'll see if I can use some of your codes in my templates, and if they're any good I'll post them later on.
Timothy Sallay
27.05.2012
Originally Posted by Deksel
Woohoo!
Solved it.
On my system the second and third clickout parameters are switched: the first one is the target, the second one is the state, the third one is the button, so I've programmed all buttons as following:
-->snip
The pads are working and so are the page buttons, on iPhone 4S, Lemur 3.1.0 and Windows 7
Nice one Deksel.. ive updated the initial post and Liine website with your fix info.
cheers
joe
Timothy Sallay
27.05.2012
Originally Posted by RainerHaselier
The Lemur template is here:
www.traktorbible.com/lemur/LemurRemixDeck.zip


Would be great if some other guys could play around a bit. I'm curious to hear if it works everywhere.

There is no MIDI mapping in the template. It uses Lemurs mouse out only

Rainer
Hey Rainer.. great work. Download link is broken though. Will have a test tomorrow.

cheers
joe
Bethel Himmelein
27.05.2012
Here is the first version of a mini template for the remix decks, that works with different resolutions. If I coded it well, it should work with any screen resolution.


As I dropped my iPad and as it is still ion repair, the template has an interface for iPhone so I could test the scriptcode.

To adapt the template for different UI configurations and screen resolution, you need to change a little but in function SetConfigData:

// ************************************************** ***********************************
// Initialize the following vars with your Traktor UI configuration and your screen resolution.
// This info is needed to calculate the point that needs to be clicked in the remix deck to
// trigger the corresponding action.
// ************************************************** ***********************************

// set your screen width in pixels here
initScreenWidth = 1920;

// set to 1 if the Global Section is enabled, set to 0 if is is hidden
initGlobalSection = 0;

// set to 1 if the EQ/Volume Fader panel betwen the decks is enabled, otherwise set to 0
initMixerFaderPanel = 0;

// set to 1 if Key etc panel between the decks is enabled, otherweise set to 0
initMixerKeyEtcPanel = 0;

// set to 1 if the Advanced Panel for Decks A&B is visible, otherwise set to 1
initAdvancedPanelAB = 0;


There are plenty comments in the code, so it should be easy to adapt the template.

Currently there are two constraints:
- Tempo Faders needs to be off
- Timecode Panel needs to be off

Remix-Grid.jpg Remix-ScreenWidth.jpg

The screen resolution can be changed on the fly on the Screen Res interface; there are four buttons for some standard screen widths.

You can control all four decks as remix decks: switch between decks with the dA...dD buttons.

Pressing one of the pads starts the selected sample.

When holding the "SHIFT" button when pressing a pad, the sample is selected, but not started.
I wanted to see how works; this is needed in a real mapping to be able to change GAIN, PITCH, ect for any cell in the grid.

The Lemur template is here:
www.traktorbible.com/lemur/LemurRemixDeck.zip


Would be great if some other guys could play around a bit. I'm curious to hear if it works everywhere.

There is no MIDI mapping in the template. It uses Lemurs mouse out only

Rainer
Nedra Fresneda
27.05.2012
Originally Posted by onetidd
wow.. may i ask it work on the x1?!
The concept should work with any device, since it's emulating mouse movements and clicks. That being said, the layout and script in this thread are lemur specific. You would need a program that emulate a mouse through midi to use it on the X1.
Wilhelmina Notermann
27.05.2012
Woohoo!
Solved it.
On my system the second and third clickout parameters are switched: the first one is the target, the second one is the state, the third one is the button, so I've programmed all buttons as following:

Click()
mouseout(0,26,443);
clickout(0,1,0);
Click2()
clickout(0,0,0);

The pads are working and so are the page buttons, on iPhone 4S, Lemur 3.1.0 and Windows 7
Wilhelmina Notermann
27.05.2012
Well, so far I've changed the second parameter from the clickout command from 0 (left mouse button) to 1 (right mouse button), and bizarrely, this seems to work. At least, for the mouseclick in. However, I can't seem to release the mouseclick, so I keep on moving the clips.
So for now, it seems that some Lemur commands are different for MAC osx then for Windows (and also different then stated in the reference guide)
Oswaldo Appeldorn
27.05.2012
wow.. may i ask it work on the x1?!
Wilhelmina Notermann
27.05.2012
Hi joe,

Yeah sorry, not giving you enough info...
So I'm using your layouts, as my screen is also 1280x800. I am using Windows 7. I had already gone into the scripts and tried exactly the approach you just mentioned.
It seems the clickout command is just not working on my system: also when have another program running, say google chrome, and I let the click happen at the location of a hyperlink nothing happens.
Also, something seems to not work with the clickout on state 1: as soon as I merge the two click actions the x-co
Timothy Sallay
27.05.2012
Originally Posted by Deksel
Hey Joe,

I now also have midi connected, but same issue: mouse cursor visibly moves to the correct place in the interface, but doesn't click. I downloaded lemur yesterday, so that shouldn't be the problem. Any onther ideas?
whats your system , MAC Windows ?, have you followed the readme instructions for layouts etc?

Hard for me to help, you could try editing the 2 scripts in the tree for the specific pad/mouse click, and merge the two back into one (& ONLY one), they are currnetly separated to split mouse buton click and the mouse button release. , Try identifying a new x/y screen location to test with. After changign the scripts ( shown below) this should perform a full click, rather than click then release when you touch/release the pad button. Notice the scripts are expressions of X( the button state) rising to 1 and then falling to 0 on press release of the screen, creating two events.

(click)
so mouseout(0,26,443);
clickout(0,0,1);

and

(click2)
mouseout(0,26,443);
clickout(0,0,0);

become
(click_new)
mouseout(0,26,443);
clickout(0,0,1);
clickout(0,0,0);

cheers
joe
Wilhelmina Notermann
27.05.2012
Hey Joe,

I now also have midi connected (in and out, channel 0), but same issue: mouse cursor visibly moves to the correct place in the interface, but doesn't click. I downloaded lemur yesterday, so that shouldn't be the problem. Any onther ideas?

Lemur v3.0.1, iPhone 4s iOS 5.1, Windows 7, TSP 2.5
Timothy Sallay
26.05.2012
Just ran a quick text and loaded the first slot player into my iphone ( 3gs) , which worked successfully without any changes to the scripting ( which is as expected). If your having problems check you lemur version is up to date, and that the screen resolution and layouts are set correctly. see the README in the download, or at the start of this post.

NEEDS TESTING UNDER WINDOWS AS I ONLY HAVE MAC. Im assuming x/y co-ordinates are handled the same way, but this could be wrong. Other seem to have got it working but no platform info was provided.

Originally Posted by Deksel
Allright:

Now the only buttons that have some kind of reaction are the pads and the page buttons (the cursor moves to the correct place for the pads, but is slightly off for the page buttons), but the controls in Traktor don't seem to get pushed, because the interface does n't react.

Any ideas?
Midi is also used in the setup, so needs to be enable in the lemur daemon also and connected with your iphone, only the 4x4 pads use the mouse clicks ( i should change the 1st row to use midi i suppose, later maybe)

Originally Posted by dj divine justice II
How would I get this to work with a ipod touch?
Assuming you can run Lemur, it should work identically to an iphone.. the jzml/jzlib layout will need to change to fit your screen etc


Should have mentioned I'm running lemur 3.1.0, on osx 10.6.8, macbook 13" (@ 1280x800)

joe
Mammie Ninke
26.05.2012
How would I get this to work with a ipod touch?
Diogo Dj Dragão
26.05.2012
I believe this is amazingly clever, and overall fantastic job. But I also feel like this needs to be said. Triggering clips is about 25% of what the F1 does. And as complex as the Remix Decks are, the F1 is capable of controlling all of that functionality. Especially when you get to things like capturing loops and assigning them to slots, that's just not something you're going to do with mouse emulation.
Leeanna Ayla
26.05.2012
Yeah the Apple refurb store has been out of 16g 2's on the apple site for awhile. I just went to Wal Mart and bought an iPad 2 today.
Josiah Billetter
26.05.2012
Cheapest and most reliable way to get an iPad is the apple refurb store online. I picked mine up, iPad 2 black 16gb wifi, for 349 ($399 at Walmart.) I've heard microcenter has for $359, which I just confirmed, but it is in store pickup only.

Checked it they are out now, but do have 64gb ipad2 $499... Hard choice, I believe I'd rather have the 16gb ipad3 for $499.

Here's the link, changes every day.
http://store.apple.com/us/browse/home/specialdeals/ipad

DO NOT waste your time on Craigslist. IF ITS CHEAPER THAN EBAY ON CRAIG'S, IT'S A SCAM POSTING TO STEAL YOUR EMAIL AND TO TELL YOU ABOUT FAKE AUCTION WEBSITES. The best retailer on eBay is gazelle store.

Used iPad pricing sucks, believe me, gazelle store is your only hope. I sold my iPad 1 on Craig's for $300, it lasted 2 hours. Legit ipads last this long on craigs.. Ads up, bought, ads down..I can tell you the iPad 2 is well worth the difference.
Wilhelmina Notermann
26.05.2012
Allright:

So I just bought the Lemur app (gonna get me an iPad soon anyway) and started toying with your lay-out. In my version I wanted to stick to 16 pads + 4 page buttons only for now, as all the other buttons take up too much space on an iPhone and most of the other controls I'd want to use are MIDI assignable.

BUT

So far I the cursor jumps to the correct position, but it doesn't seem to click (nothing happens.)
As I'm entirely new to Lemur, I might have missed some steps. What I've done:
Start the editor (and edit your layout to something for an iPhone)
Start Touchosc
click on the little play button in Lemur Editor
Connect the the Lemur device (my iPhone)
Open the Setup Lemur Deamon
add
Deamon KBMouse Out
Select my iphone
set to channel 0

Now the only buttons that have some kind of reaction are the pads and the page buttons (the cursor moves to the correct place for the pads, but is slightly off for the page buttons), but the controls in Traktor don't seem to get pushed, because the interface does n't react.

Any ideas?

<< 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