trigger my effect only if note is sustained a certain time...
hi crazy's!
my problem of the day is to trigger a vst from a sustained note from saxophone..
so i have my midi to audio link to the midi filter to get the code 1 (midi note) from the sax, linked to A=B module to select wich note i want,but i don't know how to say:dear usine,i want to trigger my effect only if the note is sustained a certain time.i'm looking in syncro and time modules but i don't find....an idea?
my problem of the day is to trigger a vst from a sustained note from saxophone..
so i have my midi to audio link to the midi filter to get the code 1 (midi note) from the sax, linked to A=B module to select wich note i want,but i don't know how to say:dear usine,i want to trigger my effect only if the note is sustained a certain time.i'm looking in syncro and time modules but i don't find....an idea?
-
Clearscreen
- Member
- Posts: 482
- Location: Australia
- Contact:
maybe an envelope trigger module?
hi man, think you ll need the "countms" module in /time.
when you receive the note----> from 0to1 ----->start counting, once reached the amount of ms you specify, will output a stop impulse, link it to trigger what you want.
also not sure understood, if you enter audio in and not midi you should use the audio to midi module to fisrt convert sax to midi notes, and yes then check if A=B to filter the note you want.
when you receive the note----> from 0to1 ----->start counting, once reached the amount of ms you specify, will output a stop impulse, link it to trigger what you want.
also not sure understood, if you enter audio in and not midi you should use the audio to midi module to fisrt convert sax to midi notes, and yes then check if A=B to filter the note you want.
yes! it's nearly working as i want, i was missing 0 to 1,never use it,i'm gonna have a look to understand,thanks a lot for the ultra fast answer,that 's really killing men!
oops! in fact,doesn't work as desired:the 0 to 1 does a good job but not enough because i want to trigger only if the time between 0 and 1 ( note on/note off) has a certain duration;hope i'm clear...for the moment the effect is triggered each time you play the note,at the end of it (i deleted the count ms)...
so why delete the count ms...? add a A=B again behind it , so as said 23fx23 , when he reach the value you want , he send a trigger...
no..?

no..?
i deleted the count ms because the 0 to 1 systematically trigger the count after the 1 value was reached,useless for what i want;i want to be able to decide how long you have to sustain the note,the count ms just count the time you tell it to count,it doesn't count the time between 0 and 1....
now i try midi to audio>>>midi filter>>>code 1 to A=B>>>elapsed time>>>A>B module>>>send bus but doesn't seems to work! i'm gonna try again and again and
now i try midi to audio>>>midi filter>>>code 1 to A=B>>>elapsed time>>>A>B module>>>send bus but doesn't seems to work! i'm gonna try again and again and
see what you mean, right must use elapsed time instead.
can't test here no audio in but was thinking of sommething like this:

if a note is on and it's the wanted one, then it trigs the counter, when getting note off, stop the counter, check the value elapsed between the two, if > at chosen value then trig out.
edit:, mm should work but could retrigg if you take time after to retrig a new note, don't have solution mmm
the counter should only work when sequence is in the order note on then note off and not inverse
arf who got a solution
edit:, mm sorry re read, this musn't be what you want
can't test here no audio in but was thinking of sommething like this:

if a note is on and it's the wanted one, then it trigs the counter, when getting note off, stop the counter, check the value elapsed between the two, if > at chosen value then trig out.
edit:, mm should work but could retrigg if you take time after to retrig a new note, don't have solution mmm
the counter should only work when sequence is in the order note on then note off and not inverse
arf who got a solution
edit:, mm sorry re read, this musn't be what you want
i 've just found this:audio to midi>>>>midi filter>>>>A=B module to choose the note>>>>>clock patch to say :begin to count,and when the interval is reached you click a bus... on the other side: get bus>>>pass if change>>>de mute my effect...i was afraid but the 1/0 message is so fast that you don't ear the mute/demute..it's seems to work,but must be improved and tested withthe sax
i'm gonna try your solution now..(did'nt read it yet)...
i'm gonna try your solution now..(did'nt read it yet)...
I would do it this way:


Seb.Dub
ok couldn't sleep without finding a solution 
this seems to work: in 1 for multivar is 1 and in2 is 0
if I well undestood,(if a note exeed specified lengh and only if, it will send the trigger when the note goes off?)

ethnix: clever to use the time ms, but i think will be same pb than my first pic, when receive a note off it will count the time and retrigger if the time between note off and next note on exeed the value, wich is from what i feel, disturbing.
have to test but thanks to remind me the" time" module
(add the same A=B and pass module than ethnix to filter the note)
if fact i think the best tec must a compiled from booth, the idea of using timems must be more cpu friendly but you have to get separate infos of on and off i think.
this seems to work: in 1 for multivar is 1 and in2 is 0
if I well undestood,(if a note exeed specified lengh and only if, it will send the trigger when the note goes off?)

ethnix: clever to use the time ms, but i think will be same pb than my first pic, when receive a note off it will count the time and retrigger if the time between note off and next note on exeed the value, wich is from what i feel, disturbing.
have to test but thanks to remind me the" time" module
(add the same A=B and pass module than ethnix to filter the note)
if fact i think the best tec must a compiled from booth, the idea of using timems must be more cpu friendly but you have to get separate infos of on and off i think.
@23fx23: No, you've got only to set the midi filter to "NOTE ON"
Seb.Dub
oh yes, sorry then it's the best tec i think, depends if heliouk you wanna have the trigger while the note is on after a certain time, or if you want it to be triggered at note off (also if the note was held acertain amount of time)..
i'm trying but i must miss something:the A-B module get the time in A and the time through the send in B,so the A>=B module get a value from 0 to 2 in A ,it can't be superior at the choosen time...(B) !!!!?
In the patch, the A-B module calculate the duration of each note. If the duration is > or = to your chosen time, it send a 1 value...
The A>=B module can get a value from 0 to "don't know ow many".
It doesn't work for you?
The A>=B module can get a value from 0 to "don't know ow many".
It doesn't work for you?
Seb.Dub
little explanation: B=1 to get the message that the note was sustained long as desired,that makes the const 0 pass and demute the effect...to re initialize it ,have to play the note less longer....coooool! i 'm gonna test it whith the sax!! thanks again!
Who is online
Users browsing this forum: damstraversaz and 31 guests


