Hi @Pkore,
In your sketch you need to give it some audio memory in setup (try AudioMemory(10); ).
In general for hardware testing you'd be better using one of the examples (File>Examples>Audio>HardwareTesting in...
Hi Rezo
I've had it working with PlatformIO. PlatformIO does have the necessary compiler option set for a standard build (the -g option mentioned above). You need to add that in if you haven't already.
You can add...
Hi - in that link it is the second circuit - with a different opt-isolator
https://diyelectromusic.files.wordpress.com/2021/02/diy-midi-receive-3.3v-v2_schem-1.png?w=1023&h=&zoom=2
Hi @Tombot7 - the Teensy 4 pins are not 5v tolerant, it looks like you are driving them to 5v which will likely cause damage. They are designed for 3.3v.
Either use a Teensy 3.x which can take 5v or look at a...