Author |
Topic: midi instructions based on time lag? (Read 1786 times) |
|
ernanis
New Member

 MIDI-OX Rules!
Posts: 6
|
 |
midi instructions based on time lag?
« on: Feb 10th, 2011, 11:25pm » |
Quote Modify
|
hi, I do not know exactly how to explain this but i'll try: well, at the moment i'm able to send a predefined note (say... E) when pressing and holding my sustain pedal; and then get that note again when releasing the pedal. my problem is: I don't want that E note sent EVERYTIME the sustain pedal is released. Instead I would like to have that note ONLY IF another note (say.. A) was played just prior to the release. This probably implies that I would have to give the mapper some time instructions... e.g.: if "A" note is played and in the next 100 milliseconds the pedal is released, then play note E. If the pedal is released after that time span then it will produce no note at all. someone out there know if that can be done? If any mapper is capable of managing such feature? it would be very cool for what I'm trying to do... cheers.
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: midi instructions based on time lag?
« Reply #1 on: Feb 11th, 2011, 2:27am » |
Quote Modify
|
Data maps only respond to data: you can't test ("if ...") other conditions ("x happened before y"). You'd need to look at scripting.
|
|
IP Logged |
"...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world." -- Tony Williams
|
|
|
ernanis
New Member

 MIDI-OX Rules!
Posts: 6
|
 |
Re: midi instructions based on time lag?
« Reply #2 on: Feb 11th, 2011, 8:45am » |
Quote Modify
|
on Feb 11th, 2011, 2:27am, Peter L Jones wrote:Data maps only respond to data: you can't test ("if ...") other conditions ("x happened before y"). You'd need to look at scripting. |
| got it. now since we're on the argument could you point me somewhere for an introduction in scripting? thanks mate! ps. you're a drummer right?
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: midi instructions based on time lag?
« Reply #3 on: Feb 11th, 2011, 3:34pm » |
Quote Modify
|
I drum - I wouldn't go as far as to say I'm a drummer . I've not used the scripting facilities - there's a section of the forum for help, though, and it does get used. There might be something in the manual, too.
|
|
IP Logged |
"...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world." -- Tony Williams
|
|
|
ernanis
New Member

 MIDI-OX Rules!
Posts: 6
|
 |
Re: midi instructions based on time lag?
« Reply #4 on: Feb 11th, 2011, 7:57pm » |
Quote Modify
|
on Feb 11th, 2011, 3:34pm, Peter L Jones wrote:I drum - I wouldn't go as far as to say I'm a drummer . I've not used the scripting facilities - there's a section of the forum for help, though, and it does get used. There might be something in the manual, too. |
| thanks. i already started on the (long) road of learning a language to program some scripting... my goal is to fix a huge problem with my edrum. I have this DM5 module and i like it. the problem is the hi-hat feature: it has no variable between open and closed; so sometimes i'm on a beat with closed hi-hats and i want a hit with the hi-hat open, I release the pedal but I don't hear the open sound because the stick hit the pad a fraction of a second before the pedal was released, and that takes away all the fun ! In an acoustic kit the hi-hat would still be vibrating during that time span so the open sound would be heard even if the hit came a little before the pedal release; hence I'm trying to make my drums sound a little more real. will let know if I'm successful - eventually... thanks
|
|
IP Logged |
|
|
|
|