<div dir="ltr">Hello there,<div><br></div><div>I'm trying to add LV2 support to the iPlug2 framework (<a href="https://github.com/iPlug2/iPlug2" target="_blank">https://github.com/iPlug2/iPlug2</a>), and I'm a bit confused as to how to handle parameters and multiple IO setups.</div><div><br></div><div>Parameters:</div><div>The LV2 book talks about using the LV2 patch extension to handle parameters instead of control ports, and I'd like to use this feature, because it supports more fine-grained timings and gives the plugin the ability to force certain parameter values.</div><div>The problem is that when testing with Carla and REAPER neither recognize parameters unless I use the control ports. Since I'm generating everything I can easily support both methods but I'm not sure what the best approach is.</div><div><br></div><div>Multiple IO configurations:</div><div>iPlug2 is designed to allow plugins to support multiple IO configurations (e.g. mono mode or stereo mode). The approach I was going to use was to generate one plugin object for each IO configuration (see "Example 1" below).</div><div>I can then detect which IO configuration the host selected and map channels based on that. Is this the correct approach, or should I just create one configuration with ALL I/O ports and allow the host to pick ports appropriately?</div><div><br></div><div>Thank you,</div><div>~Binder News</div><div><br></div><div><br></div><div>Example 1:</div><div><font face="monospace"><<a href="https://iplug2.github.io/plugins/IPlugInstrument#io_0" target="_blank">https://iplug2.github.io/plugins/IPlugInstrument#io_0</a>><br></font></div><div><font face="monospace">  a lv2:Plugin , lv2:InstrumentPlugin ;</font></div><div><font face="monospace">  ...</font></div><div><font face="monospace"><br></font></div><div><font face="monospace"><<a href="https://iplug2.github.io/plugins/IPlugInstrument#io_1" target="_blank">https://iplug2.github.io/plugins/IPlugInstrument#io_1</a>><br></font></div><div><font face="monospace">  a lv2:Plugin , lv2:InstrumentPlugin ;</font></div><div><font face="monospace">  ...</font></div><br class="gmail-Apple-interchange-newline"></div>