@prefix : <http://calf.sourceforge.net/plugins/SidechainGate#> .
@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix lv2:  <http://lv2plug.in/ns/lv2core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix uiext: <http://lv2plug.in/ns/extensions/ui#> .
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2midi: <http://lv2plug.in/ns/ext/midi#> .
@prefix lv2ctx: <http://lv2plug.in/ns/dev/contexts#> .
@prefix strport: <http://lv2plug.in/ns/dev/string-port#> .
@prefix pg: <http://lv2plug.in/ns/ext/port-groups#> .
@prefix ue: <http://lv2plug.in/ns/extensions/units#> .
@prefix epp: <http://lv2plug.in/ns/ext/port-props#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix param: <http://lv2plug.in/ns/ext/parameters#> .

<http://calf.sourceforge.net/team>
    a foaf:Person ;
    foaf:name "Calf Studio Gear" ;
    foaf:mbox <mailto:info@calf-studio-gear.org> ;
    foaf:homepage <http://calf-studio-gear.org/> .


:in a pg:StereoGroup , pg:InputGroup ;
    lv2:symbol "in" ;
    rdfs:label "Input" .

:out a pg:StereoGroup , pg:OutputGroup ;
    lv2:symbol "out" ;
    rdfs:label "Output" .

<http://calf.sourceforge.net/plugins/SidechainGate> a lv2:Plugin, lv2:ExpanderPlugin ;
    doap:name "Calf Sidechain Gate" ;
    doap:license <http://usefulinc.com/doap/licenses/lgpl> ;
    doap:developer <http://calf.sourceforge.net/team> ;
    doap:maintainer <http://calf.sourceforge.net/team> ;
    dct:replaces <urn:ladspa:34052> ;
    lv2:optionalFeature epp:supportsStrictBounds ;
    lv2:optionalFeature lv2:hardRTCapable ;
    pg:mainInput :in ;
    pg:mainOutput :out ;
    lv2:port [
        a lv2:InputPort ;
        a lv2:AudioPort ;
        lv2:index 0 ;
        lv2:symbol "in_l" ;
        lv2:name "In L" ;
        lv2:designation pg:left ;
        pg:group :in ;
    ] , [
        a lv2:InputPort ;
        a lv2:AudioPort ;
        lv2:index 1 ;
        lv2:symbol "in_r" ;
        lv2:name "In R" ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:designation pg:right ;
        pg:group :in ;
    ] , [
        a lv2:InputPort ;
        a lv2:AudioPort ;
        lv2:index 2 ;
        lv2:symbol "sidechain" ;
        lv2:name "Sidechain" ;
        lv2:portProperty lv2:connectionOptional ;
    ] , [
        a lv2:InputPort ;
        a lv2:AudioPort ;
        lv2:index 3 ;
        lv2:symbol "sidechain2" ;
        lv2:name "Sidechain 2" ;
        lv2:portProperty lv2:connectionOptional ;
    ] , [
        a lv2:OutputPort ;
        a lv2:AudioPort ;
        lv2:index 4 ;
        lv2:symbol "out_l" ;
        lv2:name "Out L" ;
        lv2:designation pg:left ;
        pg:group :out ;
    ] , [
        a lv2:OutputPort ;
        a lv2:AudioPort ;
        lv2:index 5 ;
        lv2:symbol "out_r" ;
        lv2:name "Out R" ;
        lv2:designation pg:right ;
        pg:group :out ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 6 ;
        lv2:symbol "bypass" ;
        lv2:name "Bypass" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:toggled ;
        lv2:default 0 ;
        lv2:minimum 0 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 7 ;
        lv2:symbol "level_in" ;
        lv2:name "Input" ;
        lv2:default 1 ;
        lv2:minimum 0.0156250 ;
        lv2:maximum 64 ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 8 ;
        lv2:symbol "meter_in" ;
        lv2:name "Input" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:minimum 0 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 9 ;
        lv2:symbol "meter_out" ;
        lv2:name "Output" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:minimum 0 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 10 ;
        lv2:symbol "clip_in" ;
        lv2:name "0dB-In" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:portProperty lv2:toggled ;
        lv2:minimum 0 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 11 ;
        lv2:symbol "clip_out" ;
        lv2:name "0dB-Out" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:portProperty lv2:toggled ;
        lv2:minimum 0 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 12 ;
        lv2:symbol "range" ;
        lv2:name "Max Gain Reduction" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 0.0612500 ;
        lv2:minimum 1.58490e-05 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 13 ;
        lv2:symbol "threshold" ;
        lv2:name "Threshold" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 0.125000 ;
        lv2:minimum 0.000976563 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 14 ;
        lv2:symbol "ratio" ;
        lv2:name "Ratio" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 2 ;
        lv2:minimum 1 ;
        lv2:maximum 20 ;
        ue:unit ue:coef ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 15 ;
        lv2:symbol "attack" ;
        lv2:name "Attack" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty epp:logarithmic ;
        lv2:default 20 ;
        lv2:minimum 0.0100000 ;
        lv2:maximum 2000 ;
        ue:unit ue:ms ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 16 ;
        lv2:symbol "release" ;
        lv2:name "Release" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty epp:logarithmic ;
        lv2:default 250 ;
        lv2:minimum 0.0100000 ;
        lv2:maximum 2000 ;
        ue:unit ue:ms ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 17 ;
        lv2:symbol "makeup" ;
        lv2:name "Makeup Gain" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 1 ;
        lv2:minimum 1 ;
        lv2:maximum 64 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 18 ;
        lv2:symbol "knee" ;
        lv2:name "Knee" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 2.82843 ;
        lv2:minimum 1 ;
        lv2:maximum 8 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 19 ;
        lv2:symbol "detection" ;
        lv2:name "Detection" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:integer ;
        lv2:portProperty lv2:enumeration ;
        lv2:scalePoint [ rdfs:label "RMS"; rdf:value 0 ] ;
        lv2:scalePoint [ rdfs:label "Peak"; rdf:value 1 ] ;
        lv2:default 0 ;
        lv2:minimum 0 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 20 ;
        lv2:symbol "stereo_link" ;
        lv2:name "Stereo Link" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:integer ;
        lv2:portProperty lv2:enumeration ;
        lv2:scalePoint [ rdfs:label "Average"; rdf:value 0 ] ;
        lv2:scalePoint [ rdfs:label "Maximum"; rdf:value 1 ] ;
        lv2:default 1 ;
        lv2:minimum 0 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 21 ;
        lv2:symbol "gating" ;
        lv2:name "Gating" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:minimum 0.0312500 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 22 ;
        lv2:symbol "sc_mode" ;
        lv2:name "S/C Mode" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:integer ;
        lv2:portProperty lv2:enumeration ;
        lv2:scalePoint [ rdfs:label "Wideband (F1:off / F2:off)"; rdf:value 0 ] ;
        lv2:scalePoint [ rdfs:label "High gate wide (F1:Bell / F2:HP)"; rdf:value 1 ] ;
        lv2:scalePoint [ rdfs:label "High gate split (F1:off / F2:HP)"; rdf:value 2 ] ;
        lv2:scalePoint [ rdfs:label "Low Gate wide (F1:LP / F2:Bell)"; rdf:value 3 ] ;
        lv2:scalePoint [ rdfs:label "Low gate split (F1:LP / F2:off)"; rdf:value 4 ] ;
        lv2:scalePoint [ rdfs:label "Weighted #1 (F1:Shelf / F2:Shelf)"; rdf:value 5 ] ;
        lv2:scalePoint [ rdfs:label "Weighted #2 (F1:Shelf / F2:Bell)"; rdf:value 6 ] ;
        lv2:scalePoint [ rdfs:label "Weighted #3 (F1:Bell / F2:Shelf)"; rdf:value 7 ] ;
        lv2:scalePoint [ rdfs:label "Bandpass #1 (F1:BP / F2:off)"; rdf:value 8 ] ;
        lv2:scalePoint [ rdfs:label "Bandpass #2 (F1:HP / F2:LP)"; rdf:value 9 ] ;
        lv2:default 0 ;
        lv2:minimum 0 ;
        lv2:maximum 9 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 23 ;
        lv2:symbol "f1_freq" ;
        lv2:name "F1 Freq" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty epp:logarithmic ;
        lv2:default 250 ;
        lv2:minimum 10 ;
        lv2:maximum 18000 ;
        ue:unit ue:hz ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 24 ;
        lv2:symbol "f2_freq" ;
        lv2:name "F2 Freq" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty epp:logarithmic ;
        lv2:default 4500 ;
        lv2:minimum 10 ;
        lv2:maximum 18000 ;
        ue:unit ue:hz ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 25 ;
        lv2:symbol "f1_level" ;
        lv2:name "F1 Level" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 1 ;
        lv2:minimum 0.0625000 ;
        lv2:maximum 16 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 26 ;
        lv2:symbol "f2_level" ;
        lv2:name "F2 Level" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 1 ;
        lv2:minimum 0.0625000 ;
        lv2:maximum 16 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 27 ;
        lv2:symbol "sc_listen" ;
        lv2:name "S/C-Listen" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:toggled ;
        lv2:default 0 ;
        lv2:minimum 0 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 28 ;
        lv2:symbol "f1_active" ;
        lv2:name "F1 Active" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:portProperty lv2:toggled ;
        lv2:minimum 0 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 29 ;
        lv2:symbol "f2_active" ;
        lv2:name "F2 Active" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:portProperty lv2:toggled ;
        lv2:minimum 0 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 30 ;
        lv2:symbol "sc_route" ;
        lv2:name "S/C Route" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:toggled ;
        lv2:default 0 ;
        lv2:minimum 0 ;
        lv2:maximum 1 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 31 ;
        lv2:symbol "sc_level" ;
        lv2:name "S/C Level" ;
        lv2:default 1 ;
        lv2:minimum 0.0156250 ;
        lv2:maximum 64 ;
    ] , [
        a lv2:InputPort ;
        a atom:AtomPort ;
        lv2:index 32 ;
        lv2:symbol "events_in" ;
        lv2:name "Events" ;
        lv2:portProperty lv2:connectionOptional ;
        atom:bufferType atom:Sequence ;
        atom:supports lv2midi:MidiEvent ;
        atom:supports atom:Property ;

    ] , [
        a lv2:OutputPort ;
        a atom:AtomPort ;
        lv2:index 33 ;
        lv2:symbol "events_out" ;
        lv2:name "Events" ;
        lv2:portProperty lv2:connectionOptional ;
        atom:bufferType atom:Sequence ;
        atom:supports lv2midi:MidiEvent ;
        atom:supports atom:Property ;

    ]
.


