[LAU] Sort (at least LV2) plugins by type

Robin Gareus robin at gareus.org
Fri Mar 11 21:58:34 UTC 2016


On 03/11/2016 10:42 PM, Philip Yassin wrote:
> But... I seem to only get "Plugin" and "" are the former instruments,
> and the latter FX?

no, you're supposed to get a whole range of Classes: Filter, Modulator,
Expander, Compressor,... and Instrument

http://lv2plug.in/ns/lv2core/ has the complete list.

#/bin/bash
for plugin in `lv2ls`; do
   printf "%-80s" "$plugin";
   lv2info "$plugin" \
   | grep Class: \
   | grep -v http \
   | awk '//{print $2}';
done \
| grep Instrument


here prints:

http://drobilla.net/plugins/mda/DX10                 Instrument
http://drobilla.net/plugins/mda/EPiano               Instrument
http://drobilla.net/plugins/mda/JX10                 Instrument
[...]




More information about the Linux-audio-user mailing list