From the original SynthMaker forum (2004–2014), with its members’ names and dates.
jesaipa ·
I'd like to build an interface for comparse the velocity between two notes but I've some problemes 😠
It's for create a dualzone ride for my edrum.
I've two detector in the same surface and according to the place or one strikes the velocity is much at detector A or B
I need just a little function :
- if velocity of note A > velocity of not B then play note A else play note B
I making two selector for choise two note with the fuction nequal.
It's ok, but I'd like playing other note so without passed by my function.
As it:
midi in -> note A -> nequal -> function -> midi out
midi in -> note B -> nequal -> function -> midi out
midi in -> all other notes -> midi out
I hope that you see what I whant 😉
I've other problem.
There is a little timing (few ms) beetwen the 2 notes so my function will be :
if note A (or note B) received, put in memory the value of his velocity, wait x ms and, if note B (or note A if note B was the first) received, comparse velocity value and play note who have the best velocity. If note B (or note A, deppending of the first note received) is not received play note A (or note B,deppending of the first note received).
I've passed lot of time in this project but I don't arrived to make it.
I arrived to comparse 2 velocity note and send the best but I can't put a timer :/ And I can't let pass the note who are not to treat .
Thank you very much to help me 😉
oddson ·
Here are the problems as I see them... (if it's even possible)
there will be latency... since you seem to want to allow the later struck note to win out if it's velocity is higher the whole thing is going to be working on delayed data.
you will need to use timing information and at present SM does not have a sample precise event mechanism... this will mean it won't be precise to single digit millisecond timing if done in the midi to 'green' data. But it might be possible to use coding to get better accuracy but then you're output won't be in MIDI (at least I don't think you can get back to midi data from poly stream data - but you could use it with SM itself -maybe)
-edit- oops... I don't think a coding solution is possible either since each note will be in a separate SSE channel and won't be able to compare velocity data.
...so if it's possible it wouldn't be easy (IMHO)... 😕
jesaipa ·
Thank you ... It's a bad news :/
The velocity will be very important ? (if it's >3-4 ms it's a problem else it's not).
If I can't make it with SM, I'have not other solution to develop application with code ? (I'm not programer :/)
mdk ·
im sure this is something plogue bidule can handle...
its good at midi processing.
jesaipa ·
Thank's I'll see it 😉
jesaipa ·
Plogue bidule is'nt easy :/
Synthmaker is more friendly so if anyone have idea for my problem ...
malc ·
Hi jesaipa,
Do notes A and B always come in pairs? If you always get a note A followed shortly by a note B or a note B followed shortly by a note A then I think you vcan do what you want.
However, if it's possible to get note A or note B completely on their own then you'll need to deal with MIDI timing to distinguish these cases. You'll need the new events engine to do this. This is in development right now but until it comes into the main version there's no good way to deal with MIDI timing at the moment in SynthMaker.
Malc.
jesaipa ·
Thank you malc 😉
Yes the 2 notes come in pairs; in same moment or with a shortly time.
If I've uderstand is'nt possible with the actualy version of synthmaker but it'll be possible in the next version
malc ·
If they *always* come in pairs then you can do it now. I've thrown something together that should do the trick. You'll need to modify it of course so that it looks for the two notes that you are interested in.
[old link]
jesaipa ·
It's especially for my usage ?
You'r the man ! thank you very much. I'll test it when I'll go back home (saturday I think)
jesaipa ·
I've test it and it's working but not fully.
I've note A for the bell,
Note B for the edge.
So if I hit the bell, comparaison is making and note A is play (so that's ok)
But if I hit the edge, it's not working. 2 notes are playing
Thank's for your help 😉
malc ·
Hi jesaipa,
Would you be able to email me your schematic so I can see how you've hooked this up?
It's going to be difficult to work this out without having your hardware to test with.
jesaipa ·
It's the same schematics that you have give me "velocity switch.osm"
I just add midi out module for send informations and applicate the switch to my sampler software .
Thank you very much 😉
Wrote something here? To have a post removed or your name hidden, write to [email protected].