@prefix doap:  <http://usefulinc.com/ns/doap#> .
@prefix lv2:   <http://lv2plug.in/ns/lv2core#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix units: <http://lv2plug.in/ns/extensions/units#> .
@prefix urid:    <http://lv2plug.in/ns/ext/urid#> .
@prefix atom:   <http://lv2plug.in/ns/ext/atom#> .
@prefix midi:  <http://lv2plug.in/ns/ext/midi#> .
@prefix epp:     <http://lv2plug.in/ns/ext/port-props#> .
@prefix uiext:   <http://lv2plug.in/ns/extensions/ui#> .
@prefix idpy:  <http://harrisonconsoles.com/lv2/inlinedisplay#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix mod:   <http://moddevices.com/ns/mod#> .
@prefix param:   <http://lv2plug.in/ns/ext/parameters#> .
@prefix work:  <http://lv2plug.in/ns/ext/worker#> .

@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix patch: <http://lv2plug.in/ns/ext/patch#> .
@prefix plug: <http://two-play.com/plugins/toob-spectrum#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix urid: <http://lv2plug.in/ns/ext/urid#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .



<http://two-play.com/rerdavies#me>
	a foaf:Person ;
	foaf:name "Robin Davies" ;
	foaf:mbox <mailto:rerdavies@gmail.com> ;
	foaf:homepage <http://two-play.com/> .

<http://two-play.com/plugins/toob-spectrum>
        a lv2:Plugin ,
                lv2:AnalyserPlugin ;
        doap:name "TooB Spectrum Analyzer" ,
                "TooB Spectrum Analyzer"@en-gb 
                ;
        doap:license <https://two-play.com/TooB/licenses/isc> ;
        doap:maintainer <http://two-play.com/rerdavies#me> ;
         lv2:minorVersion 0 ;
        lv2:microVersion 13 ;
        rdfs:comment "TooB spectrum analyzer" ;

        mod:brand "TooB";
        mod:label "Spectrum Analyzer";
        lv2:requiredFeature urid:map ;
        lv2:optionalFeature lv2:hardRTCapable;
        lv2:extensionData state:interface,
                work:interface
                ;
rdfs:comment """
Displays a spectral plot of the input signal.
""";
        lv2:port
        [
                a lv2:AudioPort ,
                        lv2:InputPort ;
                lv2:index 0 ;
                lv2:symbol "in" ;
                lv2:name "In"
        ] , 
        [
                a lv2:AudioPort ,
                        lv2:OutputPort ;
                lv2:index 1 ;
                lv2:symbol "out" ;
                lv2:name "Out"
        ], [
                a atom:AtomPort ,
                  lv2:InputPort;
                atom:bufferType atom:Sequence ;
                atom:supports patch:Message;
                lv2:designation lv2:control ;
                lv2:index 2 ;
                lv2:symbol "control" ;
                lv2:name "Control" ;
                rdfs:comment "Plugin to GUI communication" ;
        ] , [
                a atom:AtomPort ,
                  lv2:OutputPort ;
                atom:bufferType atom:Sequence ;
                atom:supports patch:Message;
                lv2:designation lv2:control ;
                lv2:index 3;
                lv2:symbol "notify" ;
                lv2:name "Notify" ;
                rdfs:comment "Plugin to GUI communication" ;
        ],
        [
                a lv2:InputPort ,
                lv2:ControlPort ;

                lv2:index 4 ;
                lv2:symbol "blockSize" ;
                lv2:name "Block Size";
                lv2:default 4096.0 ;
                lv2:minimum 1024.0 ;
                lv2:maximum 8192.0;
                
                lv2:portProperty lv2:enumeration ;
                rdfs:comment "Wave Shape" ;
                lv2:scalePoint [
                        rdfs:label "1024" ;
                        rdf:value 1024.0
                ],
                [
                        rdfs:label "2048" ;
                        rdf:value 2048.0
                ],
                [
                        rdfs:label "4096" ;
                        rdf:value 4096.0
                ],
                [
                        rdfs:label "8192" ;
                        rdf:value 8192.0
                ];
        ],  
        [
                a lv2:InputPort ,
                lv2:ControlPort ;

                lv2:index  5 ;
                lv2:symbol "minF" ;
                lv2:name "Min F";
                lv2:default 60.0 ;
                lv2:minimum 10.0 ;
                lv2:maximum 400.0 ;    
                units:unit units:hz;

                rdfs:comment "Minimum frequency displayed." ;
        ],          
        [
                a lv2:InputPort ,
                lv2:ControlPort ;

                lv2:index  6 ;
                lv2:symbol "maxF" ;
                lv2:name "Max F";
                lv2:default 16000.0 ;
                lv2:minimum 1000.0 ;
                lv2:maximum 22000.0 ;    
                units:unit units:hz;

                rdfs:comment "Maximum frequency displayed." ;

        ];          
        .


