Hi erybody!
how does one go about getting
Traktors midi clock signal to control the
length of sustain on a pad(controlling fx on)
thereby having fx on for x amount of bars
of a track and shut off in time?
Thanks for the continuing wisdom
Put
Midi clock from traktor to control pad sustain
-
- Newbie
- Posts: 5
- Joined: 15 May 2013 12:04
Re: Midi clock from traktor to control pad sustain
Hi Put,
Am very interested in knowing this also - did you ever get anywhere with your attempts? I'm just integrating the traktor midi > lemur side of things in my project, and would like to enable X (whatever it may be) for 4, 8 or 16 bars..
I've got the midi_clock sending his ticks in successfully.. now just need to interpret those to break them into beats and bars..
Cheers.
Am very interested in knowing this also - did you ever get anywhere with your attempts? I'm just integrating the traktor midi > lemur side of things in my project, and would like to enable X (whatever it may be) for 4, 8 or 16 bars..
I've got the midi_clock sending his ticks in successfully.. now just need to interpret those to break them into beats and bars..
Cheers.
Re: Midi clock from traktor to control pad sustain
Midi clock ticks are 24 per quarter note. With that in mind set up a script that will execute every 24 ticks for quarter notes (beat), 2*24=48 ticks for half notes, 4*24=96 (bar) etc, etc.
Re: Midi clock from traktor to control pad sustain
Still in the dark over here.
I can receive midi clock ticks
And show them in monitor object
however the value just increases, I can't
Figure out how to cycle as in a bar or measure.
Then applying this time as a condition
of a pads release, I'm perplexed.
T
I can receive midi clock ticks
And show them in monitor object
however the value just increases, I can't
Figure out how to cycle as in a bar or measure.
Then applying this time as a condition
of a pads release, I'm perplexed.
T
Re: Midi clock from traktor to control pad sustain
example 1:
create a global expression - name it q (quarters)
Every time a quarter note passes by, q will be zero.
So for example if you want a script excecuted after a quarter note you would make the script "on expression q, dropping to zero (dwon arrow)".
example 2:
create a global expression - name it b (bars)
Every time a bar (loop) passes by, b will be zero.
So for example if you want a script excecuted after a bar you would make the script "on expression b, dropping to zero (down arrow)".
The above provide a way to script an action to turn "off" or "on" a pad. In order to calculate its decay value, you'd have to calculate the time between two subsequent 0s of q or b with an on frame script and then apply that claculated value to your pad's decay.
create a global expression - name it q (quarters)
Code: Select all
q = midi_clocks[2]%24
So for example if you want a script excecuted after a quarter note you would make the script "on expression q, dropping to zero (dwon arrow)".
example 2:
create a global expression - name it b (bars)
Code: Select all
b = midi_clocks[2]%96
So for example if you want a script excecuted after a bar you would make the script "on expression b, dropping to zero (down arrow)".
The above provide a way to script an action to turn "off" or "on" a pad. In order to calculate its decay value, you'd have to calculate the time between two subsequent 0s of q or b with an on frame script and then apply that claculated value to your pad's decay.
Re: Midi clock from traktor to control pad sustain
To say the truth, I havent been busy at all with these midi clock stuff - LFO studio in the factory templates appears to be very advanced and also "looks" the exact song position and whatnot. I think it will take some time to "de-code" what is actually going on but it appears to be very elegant and accurate.
Re: Midi clock from traktor to control pad sustain
Oi!
I'm almost there I can feel it.
I got the global bar expression
In and it's a perfect bar judging by
my monitor object.
And the pad or custom button loops on and
Off in time, but its continuous.
How would one execute the on/off loop
just once? Or once pressed go through loop
and stay off until pressed again.
T
Ps thanks again for the wisdom, you really
should teach a course!
I'm almost there I can feel it.
I got the global bar expression
In and it's a perfect bar judging by
my monitor object.
And the pad or custom button loops on and
Off in time, but its continuous.
How would one execute the on/off loop
just once? Or once pressed go through loop
and stay off until pressed again.
T
Ps thanks again for the wisdom, you really
should teach a course!
Re: Midi clock from traktor to control pad sustain
lol naaah, I dont think so really! There are other guys in here WAY more advanced in this scripting thing,. Probably Im just dedicating more time in the forums than others, thats all!
As for your question, Im really starting to lose "touch" with what you are after. Send an example template over so I can see where you are at, and possibly help finish it!
As for your question, Im really starting to lose "touch" with what you are after. Send an example template over so I can see where you are at, and possibly help finish it!