General

My first post-project.

Started by dj_eddie_gr on .

Sign in or create an account to join the conversation.

61 posts

Ok. I've thought a work around. I need help for that also :lol: :lol: :mrgreen:

Is it possible to create a box like touch surface (a gesture) ,so when we swipe my finger inside it to the right, it will send ascending values 0-127 ,and when swiping left I'll get descending values (127-0) from that CC. If i continue to swipe to one direction it should start counting from beggining (eg i'm on value 13 and by swiping left I pass 0 and continue till value 125) don't know if it make sense. Imagine touching the waveform and scrolling through the track.
Can my previous post be done? Also I got an answer from a guy in Traktor forums:



Traktor allow 2 different type of encoder... check in the preferences, MIDI mapping.

you can use 0x7h/0x01 type, which do not allow rotary sensitivity, one click/pulse of your encoder one action on the screen. The MIDI message is pretty straight forward.

- Status Byte: Control/Mode Change 0xB0 (for MIDI channel 1)
- Data Byte1: More than often a value 'round Portamento Control (0x54), but there's no real big deal with one.
- Data Byte2: 0x01 when you turn the encoder ClockWise, 0x7f for CounterClock Wise

Should you need the acceleration feature, only DataByte2 will change. But begin with it, it will be more than enough to start and probably exactly what you need.

I can't be more specific, it's plain Generic MIDI implementation, like pad and pot/faders.

I suggest you to have a look at
http://www.midi.org/techspecs/midimessages.php

For PC, you can use MIDI-OX to "emulate" a MIDI controller.
Didn't read it all untill now... I will do some tests later cause I've got to go out now. I'll post updates asap! I'm just concerning about the acceleration thing on the encoder. Can we get the same comands in Lemur like the encoder in OSC sends? I'll try to look it my self too ,when I get back with that program you mentioned.
Hi
I am sure this topic has bealt run through a few times already . . .
This http://liine.net/en/community/user-library/view/350/ works . . . But Its an encoder with acceleration . . .
What exactly are you wanting to do? I had it doing Tempo Adjust and Pos Seek with a little setup?

The TO 'encoder' does not appear to do acceleration so you can go even more basic if that is all you want ?
The on TO Traktor template with a jog wheel I can find does not even do the jog right - it send 0-127 not 1-127??
Macciza wrote:Hi
I am sure this topic has bealt run through a few times already . . .
This http://liine.net/en/community/user-library/view/350/ works . . . But Its an encoder with acceleration . . .
What exactly are you wanting to do? I had it doing Tempo Adjust and Pos Seek with a little setup?

The TO 'encoder' does not appear to do acceleration so you can go even more basic if that is all you want ?
The on TO Traktor template with a jog wheel I can find does not even do the jog right - it send 0-127 not 1-127??
Hi Macciza and thank you too for your time! I want the most basic encoder (i suppose) without acceleration ,like what the OSC encoder sends ,without any acceleration. As I said , I'm out now ,so when I get back I'll try to test again the rotary found in the USER TEMPLATES section. I didn't read all the instruction ,so maby I was doing something wrong when trying tonmap it.
It seems that everything is working right with that rotary!!! 2 things now:

1) How to disable the acceleration from the rotary (don't know anything about scripts...)

2) How do I get a led to listen to (be triggered by) a note (eg c-1 , c#-1 etc)? It seems that In editor i can only select a note on/off value and a number for it. Where I can select the note that I want?
Before I go to bed I'll upload a sneak peak of what I'm planning.
IT ISN'T FINISHED ,so ,there should be some bugs and some stuff don't function at all yet :roll:
When it's finished I'll upload it with instructions etc. I've included a MIDI command table ,but it is in Open Office Spreadsheet format. Sorry about that.. :)
Thanx again to everyone that helped me so far! I'll need more help in the near future :D :D

So here it is... I'd like to hear some comments to try to make it better

Traktor Kontrol L1 v1_0_0.zip
Hey thats some nice work!

As for the acceleration even though I didnt find it to bother me....check the "step" expression....
step = (abs(x-last_x)>0.01?(abs(x-last_x)>0.025?(abs(x-last_x)>0.04?(abs(x-last_x)>0.055?(abs(x-last_x)>0.07?(abs(x-last_x)>0.095?7:6):5):4):3):2):1)
According to this, 7 step resolutions are provided (1,2,3,4,5,6, 7) relative to how fast you turn the knob (how big x-last_x) is....

So, if instead of all this big "if" statements you provide a steady value 1 or 2 or 6 you are done I think.

In essense replace the above with:
step = 1 (or whatever desired value)
or you can adjust the final values in the initial script to have your own accelaration
for example
step = (abs(x-last_x)>0.01?(abs(x-last_x)>0.025?(abs(x-last_x)>0.04?(abs(x-last_x)>0.055?(abs(x-last_x)>0.07?(abs(x-last_x)>0.095?4:3):3):2):2):1):1)
I need some help with the Accelerometer you send me. I want to make 4 of them and I can't figure out what I'm doing wrong. I have renamed and mapped the corresponding MIDI command to each Button In the container in Interface "options" but something is wrong with the scripts...
And one more thing is that I want ,is ,when I hit the button "AccDeckA" (the one with the double faced arrow) in the Bend Container from Interface A/B , it will trigger (be linked with) the button "AccDeckA" (it says DECK A) in the "AccSensDeckA" container "options" . Same with the other 3 buttons from Decks B ,C ,D

Traktor Kontrol L1 v1_0_1.jzml.zip
Reference them with their names and the container names they are in, if any....

For example

If you add a script in "button2_name" On expression x, any
Container_name.button_name.x = Container2_name.button2_name.x;
The above code will make "button_name" activate and deactivate according to "button2_name". In essense you dont even have to reference the button in which the script resides by using hierarchy so you can really just type
Container_name.button_name.x = x;