Mirror Midi In to Midi Out?

46 views
Skip to first unread message

Reeve Hunter

unread,
Feb 12, 2022, 5:57:56 PM2/12/22
to kerberos-midi
Hey folks!

I'm trying something that may just not be possible. I would like to send midi data out to my Kerberos and have it mirror the midi in to both the midi thru and midi out. As far as I can tell from reading the documentation, this isn't possible. If it is, I can control 3 separate midi devices all through the Kerberos cart: Cynthcart, MidiNES, and mGB.

I've actually come up with an alternate solution: Send the Midi Thru to my TeensyBoy Pro (based on Arduino Boy) and have it send it's Midi Thru out to the MidiNES. But I'm still curious. Is it possible to have the Midi Out act as another Midi Thru?

Thanks!

Reeve

Frank Buss

unread,
Jun 26, 2022, 4:02:51 AM6/26/22
to kerberos-midi
You are right, it is not possible to mirror MIDI-in to MIDI-out at the hardware level at the moment. It can be only configured to mirror MIDI-out to MIDI-thru, instead of MIDI-in to MIDI-thru (in the settings menu). But good idea, might be useful sometimes, I will add this for the next version.

But of course it is possible in software. Shouldn't be too difficult to patch Cynthcart to store each incoming byte to the output port. But might need a small ring buffer.

Cynthcart has released the source code, so should be easy to modify it:
I would guess would be about 10 lines of assembler code for the ring buffer. And I would use the send interrupt, to send the next byte of the buffer. A good assembler programmer can do this in 1-2 hours.

Note: Cynthcart is not "open source", but if you don't sell your modified Cynthcart version, no problem to use it on your C64. Or you could even send a PR to Paul for integrating it as a configuration feature in Cynthcart.
Reply all
Reply to author
Forward
0 new messages