Alternative to ddg.mono (in javascript)
A lot of people have problems with ddg.mono because they are trying to use it with VST instruments or Live devices - instruments which are intrinsically polyphonic, and therefore don't respond well to ddg.mono's lack of note-offs. ddg.mono was meant to provide monophonic behavior to synths that you create in Max, so some compromises had to be made...
I'm going to provide add some logic to ddg.mono, but I thought I'd share this javascript mock-up; it provides the proper set of note-on and note-off messages to support routing to polyphonic instruments/devices appropriately.
I hope you find it useful. I've included a simple test patch that allows you to use Max's virtual MIDI ports to route things to and from external systems/packages.
I have an abstraction called cbm.mono that I use for this sort of thing. It can be found here: http://xfade.com/max/examples/
is ddg.mono updated in max6? (im still on 5)
@flowdesigner: it does work.
THANK YOU DARWIN!!!!!!
Brilliant. This indeed handles the noteoffs correctly. Thank you Darwin!
Using this JS in a MFL Device on a MIDI Track in Ableton introduces MIDI lag. I am not sure if this is inherent to Max for Live MIDI Devices, JS, or a bit of both.
Easy to reproduce by recording the MIDI output into another clip, with or without the MFL Device enabled.
A quick search reveals this is a common issue with Max for Live MIDI Devices.
Any magic fix for this by any chance?
Hello..
old topic.
I was looking for another alternative.
I don't know why I have a problem with all my external mono synths and I am trying to avoid it. (Moog Minitaur, Volca Key, Makenoise 0-coast here...EDIT :but it's the same with any monophonic plug synths in Live)
If I hold one note and while it is held I press another note
so of course we only hear the second note and dont hear the 1st one,
but when I release the 2nd note while the 1st one is still held,
the 1st note is triggered again.
The trigger of the 2nd note didn't send a note off message for the 1st one.
So I tried ddg.mono / js mono.js / cb,mono..
All of the 3 solutions fix this problem,
but with all of them it's very hard to play quick articulations.
The playing is far from being as fluid as without those solutions..
Yes with all of them I have a real mono signal, but playing fast is almost impossible...
Someone understand my problem ?
thank you !
Julien
How about [poly 1 1]? Trigger of a 2nd note sends note-off for the 1st note.
So simple.
Thank you !