Re: [LAD] [A plugin scanner:] Cache text file formats: rdf, ttl, custom xml?

From: Tim <termtech@email-addr-hidden>
Date: Wed Oct 31 2018 - 22:36:48 EET

Ehm... help ? Bug ?

I took the time to integrate LRDF library support into the program.
We never had lrdf enumerated controls, or lrdf preset support
  (interesting, I didn't know about those presets).
Yeah I know, about 10 years late...

I had a bad feeling there were going to be 'mismatches' between what
  lrdf reports and what the plugin reports. This seems to be happening.

I may have found some serious mistakes in the various .rdf files:

In blop.rdf all of the listings are like this:

----------------------------------
[ ... ]
   <ladspa:UtilityPlugin rdf:about="&ladspa;2029">
     <dc:title>Quantiser (100 Steps)</dc:title>
     <dc:creator>Mike Rawes &lt;mike_rawes@yahoo.co.uk&gt;</dc:creator>
     <dc:rights>GNU General Public Licence Version 2 or Later</dc:rights>
     <ladspa:hasPort>
       <ladspa:InputControlPort rdf:about="&ladspa;2029.1"
ladspa:hasLabel="Range Minimum" />
     </ladspa:hasPort>
     <ladspa:hasPort>
       <ladspa:InputControlPort rdf:about="&ladspa;2029.2"
ladspa:hasLabel="Range Maximum" />
     </ladspa:hasPort>
     <ladspa:hasPort>
       <ladspa:InputControlPort rdf:about="&ladspa;2029.3"
ladspa:hasLabel="Match Range" />
     </ladspa:hasPort>
[ ... ]
----------------------------------

And in swh-plugins.rdf they are also all like that:

----------------------------------
[ ... ]
   <ladspa:SpectralPlugin rdf:about="&ladspa;1199">
     <dc:creator>Steve Harris &lt;steve@plugin.org.uk&gt;</dc:creator>
     <dc:title>Impulse convolver</dc:title>
     <ladspa:hasPort>
       <ladspa:InputControlPort rdf:about="&ladspa;1199.1"
ladspa:hasLabel="impulse" />
     </ladspa:hasPort>
     <ladspa:hasPort>
       <ladspa:InputControlPort rdf:about="&ladspa;1199.2"
ladspa:hasLabel="high_lat" />
     </ladspa:hasPort>
     <ladspa:hasPort>
       <ladspa:InputControlPort rdf:about="&ladspa;1199.3"
ladspa:hasLabel="gain" />
     </ladspa:hasPort>
[ ... ]
----------------------------------

Meanwhile in tap-plugins.rdf things seem correct:
----------------------------------
[ ... ]
   <ladspa:EQPlugin rdf:about="&ladspa;2141">
     <dc:creator>Tom Szilagyi</dc:creator>
     <dc:title>TAP Equalizer</dc:title>
     <ladspa:hasPort>
       <ladspa:InputControlPort rdf:about="&ladspa;2141.0"
ladspa:hasLabel="band_1_gain" />
     </ladspa:hasPort>
     <ladspa:hasPort>
       <ladspa:InputControlPort rdf:about="&ladspa;2141.1"
ladspa:hasLabel="band_2_gain" />
     </ladspa:hasPort>
     <ladspa:hasPort>
       <ladspa:InputControlPort rdf:about="&ladspa;2141.2"
ladspa:hasLabel="band_3_gain" />
     </ladspa:hasPort>
[ ... ]
----------------------------------

The blop and SWH are not correct and do not jive with what
  the plugin reports. The result is mismatched enums to ports.
Tap plugins however are just fine.

What's wrong here? Two different libraries...
Did the specs change or was it a mistake?

Thanks.
Tim.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Thu Nov 1 00:15:01 2018

This archive was generated by hypermail 2.1.8 : Thu Nov 01 2018 - 00:15:01 EET