I have created a AU plugin that writes to midi output. Then, via IAC (I am on OS X) the notes should go to my softsynt (A Pyo Python app). This setup works in Reaper, but not in Ardour.
I just record a midi track and try to play it back. The notes are visible in the track, but there is no output…
I don’t know exactly what “IAC Driver” is but it sounds it is something like a MIDI-version of an external (to Ardour) ASIO software. Is the “IAC Driver IAC Bus 1” that the track is routing to a Bus within Ardour or an input to this external software? If the first is the case, do you have that Bus routed to the master channel? If the latter, do you have IAC routing the softsynth output back into Ardour?
Pin connection is definitely the reason why the plugin receives no input. See the red vertical “GND” feeding the plugin’s MIDI in:
Maybe remove and re-add the plugin, or create a new MIDI track. It should auto-connect MIDI in by default.
PS. Python isn’t realtime-safe and should not be used for DSP code. The python interpreter has a global lock for garbage collection. There are guarantees that it can complete processing within an upper time bound.
I think I tried all that.
Well, the Pyo library by Olivier Belanger is an amazing library that allows you to create synthesizers and effects with real-time performance. Of course most of it is written in C. My plugin is created with Cabbage and it contains some Csound code to pass the midi to midiout and/or OSC. When I tried it with OSC only it was not fast enough. With midi over the IAC bus it is excellent, at least in Reaper…
Very strange, Ardour does not automatically create pin-connections as shown in your screenshot, also the default is to just take MIDI input from either hardware devices or data from disk.
After re-setting connections, does the plugin create sound when you play MIDI data?
The plugin cannot play sound. It only outputs midi data. Now I have changed the plugin form being an AU to a VST. The connections show different and I see midi output. (See the screenshot), but nothing is heard from my softsynth…