Midi gate counter problem
Posted: Fri Oct 10, 2014 6:43 pm
Hi all.
I'm implementing midi control by notes for my filter and I'm having a problem.
I want the filter to change (doesn't matter in what way right now) incrementally every time a note is played so the filter would go through 1-stage when the 1st note is played, 2-stage when the 2nd is played etc.
so I used
The problem is I also get an increment whenever a note is let go.
I thought of using:
but the white-poly gate out of the "midi to poly" can't connect to the counter.
any suggestions?
Edit: As expected I managed to solve part of the problem(but not really...) within the code with some comparisons and dividing... it solves the problem in the case of every note having a trigger in the begning and the end but if one note starts in the middle of another the solution is no good.
I'm implementing midi control by notes for my filter and I'm having a problem.
I want the filter to change (doesn't matter in what way right now) incrementally every time a note is played so the filter would go through 1-stage when the 1st note is played, 2-stage when the 2nd is played etc.
so I used
Code: Select all
Midi in->splitter(changed)->counter->rubyThe problem is I also get an increment whenever a note is let go.
I thought of using:
Code: Select all
midi in->midi to poly->gate->greater than 0->counter->rubybut the white-poly gate out of the "midi to poly" can't connect to the counter.
any suggestions?
Edit: As expected I managed to solve part of the problem(but not really...) within the code with some comparisons and dividing... it solves the problem in the case of every note having a trigger in the begning and the end but if one note starts in the middle of another the solution is no good.