Hi,
I’m seeing a problem with Faust’s MIDI support, on OS X 10.11.6,
in an app built with faust2caqt . It appears that if a NOTEOFF
message follows a NOTEON message too closely, Faust may not
receive either message. In my case, the timing between NOTEON
and NOTEOFF is about 6ms, which is very short. But I have
confirmed that the OS and various other applications are all
able to receive and process these messages.
Below is a simple Faust program to demonstrate the problem. When I
send the NOTEON/NOTEOFF pairs I describe, Faust sees them
only intermittently, about 20-30% of the time.
I haven’t been able to this in any other environments, because I haven’t
gotten the [midi:key] metadata label to work anywhere else.
(I’m hoping it’ll be supported in the next release of FaustLive. :)
Any advice would be much appreciated & I’m happy to give more info as needed.
Thanks,
-mykle-
——
declare author "Mykle Hansen";
declare name "short Midi note example";
declare options "[midi:on]";
import ("stdfaust.lib");
on = button("[midi:key 112]on”); // replace 112 with whatever MIDI note is
handy for you ...
count = +( on > on' ) ~ _ : hbargraph("# of button presses", 0, 10);
process = os.oscsin(440 + count ) * on;
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users