Closed robbielyman closed 1 year ago
could you tell me the edition of your grid? and also the OS version and machine you're using?
have you tried a version of the above example with registered callbacks instead? this would perhaps rule out a bunch of possible culprits, narrowing it down to just the next_event implementation.
Ahhh, I think what is happening is that serialosc
and this program are fighting, and this program is losing. If I disable serialosc, I'm no longer able to reproduce the issue.
but! this is with my 2022 grid on an M1 MBP running MacOS 13.3.1.
anyway, this suggests I should refactor my program to go through serialosc.
oh i'm surprised that you got any data at all--- i thought if serialosc was running that libmonome wouldn't be able to claim the serial port again and fail.
glad you spotted the issue.
isms also started out with just libmonome, but moving over to using serialosc proved very nice
On Sun, Jun 18, 2023 at 2:18 PM Rylee Alanza Lyman @.***> wrote:
Ahhh, I think what is happening is that serialosc and this program are fighting, and this program is losing. If I disable serialosc, I'm no longer able to reproduce the issue.
but! this is with my 2022 grid on an M1 MBP running MacOS 13.3.1.
anyway, this suggests I should refactor my program to go through serialosc.
— Reply to this email directly, view it on GitHub https://github.com/monome/libmonome/issues/78#issuecomment-1596227750, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB4I4A3GL5YPOQNX2AZBULXL5A7JANCNFSM6AAAAAAZLAHZBA . You are receiving this because you commented.Message ID: @.***>
Here's a little program. All it does is print the event data received by calling
monome_event_next
whenpoll
says that there's data to read.What's bizarre is that if I mash the keys on my 128 grid, I can get values in the 30s for
x
and/ory
. Repeatedly pressing a key also sometimes results in two presses in a row or two releases in a row, rather than them being properly interleaved.I'd love to be better able to use
monome_event_next
to avoid this behavior! I tried reproducing it in Max (presumably withserialosc
) and was unable to... but it's not clear to me what's different there.