General

Midi clock from traktor to control pad sustain

Started by tput73 on .

Sign in or create an account to join the conversation.

8 posts

Topic starter
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
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.
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
example 1:
create a global expression - name it q (quarters)
q = midi_clocks[2]%24
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)
b = midi_clocks[2]%96
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.
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!