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

From: Robin Gareus <robin@email-addr-hidden>
Date: Fri Mar 11 2016 - 23:58:34 EET

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
[...]

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat Mar 12 00:15:03 2016

This archive was generated by hypermail 2.1.8 : Sat Mar 12 2016 - 00:15:04 EET