Hi! I’ve been working with FoxDot for several months and have seen in documentation and in my own experience that there is a problem sending midi notes to external devices:
Be careful when repeating the same note with the same duration; if a MIDI note-on event is triggered slightly before the MIDI note-off for the previous event, it will be stopped by the note-off. This is a known bug and being looked into.
Some has found a way to avoid this?
I’m working with REAPER in windows
Thanks a lot!
Hey there. What I’ve been doing lately is setting the sus of the player object to a value just short of the dur, so that I don’t have overlap and thus squelching of poorly timed midi signals. Try something like this:
m1 >> MidiOut(P[0], dur=1, sus=(m1.dur - 0.1))
Hope this helps!
1 Like
Yes it works! thanks you very much!!
1 Like
I’ve been working with FoxDot for a few months now and I’ve definitely come across that MIDI issue. It can be a bit tricky when notes overlap unexpectedly. Personally, I’ve found that making slight adjustments to note durations or adding a tiny gap between repeated notes can sometimes help mitigate the problem.
I haven’t used REAPER myself, but I’ve stumbled upon this handy online notepad to keep notes online. It’s like a virtual notebook where people share their experiences and solutions. Once, I found a note about MIDI timing quirks that really shed some light on similar issues.