Suil 0.6.16 is out. Suil is a lightweight C library for loading and wrapping LV2 plugin UIs. Suil transparently presents UIs written in any toolkit as the desired widget type of host programs, so hosts do not have to depend on foreign toolkits.
This releases fixes a crash bug for UIs with NULL extension_data, and includes some Qt fixes from Rui Nuno Capela.
The API/ABI is identical to the previous release.
Jalv 1.4.2 is out. Jalv is a simple but fully featured LV2 host for Jack. It runs LV2 plugins and exposes their ports as Jack ports, essentially making any LV2 plugin function as a Jack application.
This version fixes some bugs, and supports plugin specified buffer sizes for advanced plugin:UI communication.
- Fix crash when running “jalv” with bad command line arguments
- Fix potential crash with UIs and debug printing
- Fix parameter changes with Qt UI
- Nicer printing of atom messages with -d
- Add command-line option to control UI update frequency
- Support rsz:minimumSize for atom and event ports
- Fix default setting for non-sequential enumeration ports (patch from Robin Gareus)
- Work around Gtk bug for labels on sliders (patch from Robin Gareus)
- Upgrade to waf 1.7.11
Suil 0.6.14 is out. Suil is a lightweight C library for loading and wrapping LV2 plugin UIs. Suil transparently presents UIs written in any toolkit as the desired widget type of host programs, so hosts do not have to depend on foreign toolkits.
This release fixes several bugs, and implements support for the new LV2 UI idle interface. This means UIs in e.g. X11, FLTK, OpenGL, etc. can drive their idle loop in a Gtk or Qt host without having to deal with threading issues. This functionality requires LV2 1.6.0, upgrading is recommended.
The API/ABI is identical to the previous release (though more features are supported).
- Print system error message if module fails to load
- Lower dependency from Gtk 2.24 introduced in 0.6.12
- Add support for new LV2 idle interface
- Support resizing for X11 in Gtk (patch from Robin Gareus)
- Upgrade to waf 1.7.11
I found some time today to make Ingen‘s support for running as an LV2 more solid. I have posted about this before, but it now works at RT appropriate buffer sizes, and several other bugs have been fixed. Here’s the obligatory contrived screenshot:
People are sometimes confused about how Ingen works as an LV2 (I need to write proper documentation One of These Days): you don’t load an “Ingen” plugin so much (it wouldn’t do anything), as you save an Ingen graph as an LV2 plugin. The idea is that Ingen is a tool for visually building plugins. Since LV2 does not support dynamically adding ports, it’s easiest to do your building as a Jack app, so the basic work flow is something like:
- Run Ingen as a Jack app:
- Build a graph, adding ports, plugins, etc.
- Save the graph to somewhere in your
~/.lv2 (which happens to be the default directory of the save dialog for this reason).
- Voila, your graph should now show up in any LV2 host (its URI will simply be its local filesystem path, unless you explicitly set a stable one). You can check with
There is no export or compilation involved, Ingen’s native format is LV2 compatible (graphs are always saved in the same format). If you saved a graph elsewhere you can simply copy it to
~/.lv2 to use it as a plugin, though for now you may have to create or fix the symlink to the engine binary manually to do this.
Note that you can edit the graph while it’s running as an LV2 plugin, including adding new nodes and connections, you just can’t add top-level ports because the host doesn’t know about them. There is still some work to be done polishing this up to be ready for prime-time, but for the brave, it’s more or less good to go.
Jalv 1.4.0 is out. Jalv is a simple but fully featured LV2 host for Jack. It runs LV2 plugins and exposes their ports as Jack ports, essentially making any LV2 plugin function as a Jack application.
- Send time information to plugin when Jack tempo changes
- Group controls under headings if port group information is available
- Add spinbuttons for precisely setting control values
- Use a more efficient dense layout for controls
- Make URI map thread-safe, fixing occasional crashes for plugins with UIs
- Add menu bar and pass parent widget in Qt version for true UI embedding
- Support state:loadDefaultState
- Update to waf 1.7.8 and autowaf r90
Suil 0.6.12 is out. Suil is a lightweight C library for loading and wrapping LV2 plugin UIs. Suil transparently presents UIs written in any toolkit as the desired widget type of host programs, so hosts do not have to depend on foreign toolkits.
- Fix key events for X11 in Gtk without using a troublesome event filter
- Fix crash when a broken UI returns a NULL descriptor
- Fix compilation on BSD
Lilv 0.16.0 is out. Lilv is a C library to make the use of LV2 plugins as simple as possible for applications.
This release fixes many bugs and adds several convenient functions to the API. Upgrading is recommended.
- Add lilv_world_ask() for easily checking if a statement exists
- Add lilv_world_get() and lilv_port_get() for easily getting one value
- Add lilv_nodes_merge()
- Make lilv_plugin_get_port_by_designation() return a const pointer
- Require a URI for lilv_state_to_string() and fail gracefully otherwise
- Fail gracefully when lilv_state_new_from_string() is called on NULL
- Make state loading functions fall back to lv2:default for port values, so a plugin description can be loaded as default state
- Ignore state ports with no value instead of printing an error
- Support atom:supports in lilv_port_supports_event()
- Add va_list variant of lilv_plugin_get_num_ports_of_class()
- Fix several plugin functions that failed to load data if called first
- Correctly depend on serd at build time (fix compilation in odd cases)
- Disable timestamps in HTML documentation for reproducible build
- lilvmm.hpp: Support varargs for Plugin::get_num_ports_of_class()
- lilvmm.hpp: Add several missing methods
- Update to waf 1.7.8 and autowaf r90 (install docs to versioned directory)
Sratom 0.4.2 is out. Sratom is a small C library for serialising LV2 atoms to/from Turtle.
This releases fixes a few minor bugs and memory leaks, and shrinks the code slightly by making of the new sord_get() function.
- Fix serialisation of nested tuples
- Fix memory leaks
- Use new sord API to clean up and shrink code
- Disable timestamps in HTML documentation for reproducible build
- Update to waf 1.7.9 and autowaf r90 (install docs to versioned directory)
Today I implemented better UI generation for LV2 plugin controls in Jalv, particularly grouping controls under headings which makes a big difference. Unfortunately few plugins group their controls currently, but hopefully more host support will provide the incentive to do so.
- Added a spinbutton to slider controls for precisely setting values numerically
- Much more efficient layout to pack more controls on the screen at once
- Support for named scale points (“ticks”) on non-enumeration ports
Here is the UI generated for Amsynth (after I added the necessary metadata):
Still pretty utilitarian, but much more usable, which is the important thing. Of course, this plugin is quite large, and has a pretty good custom UI, but I happened to be polishing up its metadata anyway and the controls group nicely so I used it as my test case.
Maybe some day this code will get smarter and evolve into a library that can be used by other Gtk hosts. Better group layout is the obvious “next level” advancement, a flat linear list of controls is pretty limited. Unfortunately there’s no stock Gtk container which can do text-like reflow, which would be ideal. Perhaps a simpler scheme based on a maximum reasonable width for a controller would do, where the table will expand to have more columns if the window is wide enough for several.
Most of the metadata required to generate a good UI is also useful for other purposes, for example groups make building a decent menu of many controls feasible (e.g. to add automation lanes in Ardour), and some types of host UIs like a modular patcher inherently need to generate their own “UI” of sorts.
Good metadata is not at odds with custom UIs, they each have their uses, but it is important to remove the burden of custom UIs for simple plugins with just a few controls that really don’t need them. It’s a waste of that most precious of all resources – developer time – to have to code UIs for a few sliders and toggles. Hopefully better host generated UIs and support for more advanced controls like file selectors free up developers to spend more time making useful plugins and less time wrestling with GUI toolkits.
It is, after all, all about the sound.
Ardour has supported displaying MIDI patch names loaded from a MIDINameDocument (or “midnam” file) for a while, though only patches, and even that was pretty flaky. Since this has become an itch for me and it’s time for Ardour MIDI to reach release quality, I took some time to give it a serious overhaul. In this case, a picture or two is indeed worth a thousand words:
The note names are mainly useful for doing percussion. Several of the bundled midnam files have note names defined, and I have added one for General MIDI drums, which more or less corresponds to a lot of instruments, including Hydrogen.
Controller names, to my surprise, were not present in any of the existing midnam files at all. I wanted to sequence a hardware synth (the Moog Minitaur) without constantly referring to the manual and trying to remember which CC is which, so I wrote a new midnam file for the device and implemented support in Ardour. I am very disappointed to learn that there is no ability to group controllers, which really is the best way to do things, so I may embrace and extend (in a completely backwards compatible way) the format in the future to provide a better interface.
The quality of midnam files scattered around the ‘net is atrocious. The MMA actually hosts a DTD for it, but most files use the wrong DOCTYPE (usually with a broken link), among other problems. I fixed and cleaned up all the bundled ones in Ardour, validated them against the DTD, and left a README in that directory about how to do so. Hopefully this, along with incentive added by these features, encourages the community to grow a nice set of quality midnam files.
So, MIDI name support in Ardour is now in pretty good shape. Now we just need to add the corresponding LV2 support…