Available on crate feature standalone only.
Expand description

A standalone plugin target that directly connects to the system’s audio and MIDI ports instead of relying on a plugin host. This is mostly useful for quickly testing GUI changes.


  • Open an NIH-plug plugin as a standalone application. If the plugin has an editor, this will open the editor and block until the editor is closed. Otherwise this will block until SIGINT is received. This is mainly useful for quickly testing plugin GUIs. In order to use this, you will first need to make your plugin’s main struct pub and expose a lib artifact in addition to your plugin’s cdylib:
  • The same as nih_export_standalone(), but with the arguments taken from an iterator instead of using std::env::args().