Hi everyone,
I’m just starting to explore adding basic MIDI functionality to my PlugData/Daisy projects, and I could really use some guidance from the community. Right now, I’m essentially aiming for the “Hello World” of MIDI on the Daisy.
I have a simple PD patch that works perfectly with a keyboard controller on my computer, but I haven’t had any luck getting it running on the Daisy itself. My setup is: MIDI pins connected to D13 and D14 (USART1 Tx and USART1 Rx) with a ground connection (3-pin MIDI). I do hear a few clicks, so it seems like something is communicating, but notes aren’t triggering.
If anyone would be willing to take a look at my simple patch and JSON file, I’d be incredibly grateful for any pointers or insights.
Thank you so much for your time and for sharing your knowledge. I really appreciate it!
{
"name": "customseed",
"som": "seed",
"defines": {"OOPSY_TARGET_HAS_MIDI_INPUT": 1},
"audio": {
"channels": 4
},
"components":
}
}
}
Exactly how have you connected MIDI in? The standard specifies that MIDI is a current loop, and an optoisolator is required.
I’m sure you’ve got the wiring wrong, I’m sure there is no ‘3 pin MIDI’ that should be connected to Tx and Rx.
First off the json: How do you have 4 channels of audio? Start with 2 because that’s what the seed has.
For the patch: make sure to convert your control messages to signals before connecting them to signal objects.
Just add a [sig~]
before going into the [osc~]
.
@dreamer – I think I’ve fallen into a bad habit of reusing the same starter JSON template for the Daisy, Patch, and Patch.init(). They all compile fine with the four channels, but clearly that’s not quite right for this application. Thanks for the tip about using ~sig
@tele_player – I appreciate you pointing that out. After looking at the Patch schematic, I now see there’s an entire circuit, including the optoisolator, that I’ll need to implement.
I’ve ordered a couple of parts and will be back at it soon. Thanks again to both of you for taking the time!
2 Likes