I think it would be helpful if a comment were added to my_plug_audio_ports_count and my_plug_note_ports_count in src/plugin-template.c to make it clear that they are indicating the plugin has one input and one output port of each. And perhaps even the behaviour could be changed so that a note output port isn't created by default? This doesn't seem like it would be a very common option.
I think it would be helpful if a comment were added to
my_plug_audio_ports_count
andmy_plug_note_ports_count
insrc/plugin-template.c
to make it clear that they are indicating the plugin has one input and one output port of each. And perhaps even the behaviour could be changed so that a note output port isn't created by default? This doesn't seem like it would be a very common option.