RtMidi.Core icon indicating copy to clipboard operation
RtMidi.Core copied to clipboard

Midi Clock

Open ApokalmiX opened this issue 4 years ago • 2 comments

Hello,

I can't get the midi clock reception to work, is this normal? I have trouble identifying if this comes from my hardware configuration or if the function does not work.

Thank you

ApokalmiX avatar Oct 28 '21 01:10 ApokalmiX

I'm having the same issue. Any update on a fix?

EDIT: I downloaded the source and did an investigation. Using the app MidiView I was able to confirm F1 midi clock messages coming in. When debugging RtMidi.Core, it looks like the RtMidiCallback callback isn't even firing for these messages.

EDIT 2: I found the problem... This code

RtMidiC.Input.IgnoreTypes(handle, false, true, true); Line 31 of RtMidiInputDevice is setting to ignore midi clock messages. Setting this argument to false enables midi quarter messages through. Assuming this project is still active - I'd like to make a pull request to allow the developer to specify which message types to ignore.

I'm also seeing some out of range errors with time code information, I'm to dig further and see if its the time code generator I'm using or a problem with the code.

jhimes144 avatar Mar 09 '22 19:03 jhimes144

@jhimes144 great find, sorry for the extremely delayed response.

I would be grateful for a PR, and I'll expedite getting it released this time 😉

micdah avatar Sep 04 '23 15:09 micdah