@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 lv2ev: <http://lv2plug.in/ns/ext/event#> .
@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/plugins/gui/gtk2-gui>
    a uiext:GtkUI ;
    uiext:binary <calflv2gui.so> ;
    uiext:requiredFeature uiext:makeResident .

<http://calf.sourceforge.net/plugins/gui/gtk2-gui> uiext:portNotification [
    uiext:plugin <http://calf.sourceforge.net/plugins/Sidechaingate> ;
    uiext:portIndex 2
] .

<http://calf.sourceforge.net/plugins/gui/gtk2-gui> uiext:portNotification [
    uiext:plugin <http://calf.sourceforge.net/plugins/Sidechaingate> ;
    uiext:portIndex 3
] .

<http://calf.sourceforge.net/plugins/gui/gtk2-gui> uiext:portNotification [
    uiext:plugin <http://calf.sourceforge.net/plugins/Sidechaingate> ;
    uiext:portIndex 4
] .

<http://calf.sourceforge.net/plugins/gui/gtk2-gui> uiext:portNotification [
    uiext:plugin <http://calf.sourceforge.net/plugins/Sidechaingate> ;
    uiext:portIndex 5
] .

<http://calf.sourceforge.net/plugins/gui/gtk2-gui> uiext:portNotification [
    uiext:plugin <http://calf.sourceforge.net/plugins/Sidechaingate> ;
    uiext:portIndex 15
] .

<http://calf.sourceforge.net/plugins/gui/gtk2-gui> uiext:portNotification [
    uiext:plugin <http://calf.sourceforge.net/plugins/Sidechaingate> ;
    uiext:portIndex 22
] .

<http://calf.sourceforge.net/plugins/gui/gtk2-gui> uiext:portNotification [
    uiext:plugin <http://calf.sourceforge.net/plugins/Sidechaingate> ;
    uiext:portIndex 23
] .

: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 ;
    a lv2:ExpanderPlugin ;
    doap:name "Calf Sidechain Gate" ;
    doap:maintainer [ foaf:name "Markus Schmidt / Damien Zammit / Thor Harald Johansen" ; ] ;
    uiext:ui <http://calf.sourceforge.net/plugins/gui/gtk2-gui> ;
    lv2:optionalFeature <http://lv2plug.in/ns/ext/instance-access> ;
    lv2:optionalFeature <http://lv2plug.in/ns/ext/data-access> ;
    doap:license <http://usefulinc.com/doap/licenses/lgpl> ;
    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:designation pg:right ;
        pg:group :in ;
    ] , [
        a lv2:OutputPort ;
        a lv2:AudioPort ;
        lv2:index 2 ;
        lv2:symbol "out_l" ;
        lv2:name "out_l" ;
        lv2:designation pg:left ;
        pg:group :out ;
    ] , [
        a lv2:OutputPort ;
        a lv2:AudioPort ;
        lv2:index 3 ;
        lv2:symbol "out_r" ;
        lv2:name "out_r" ;
        lv2:designation pg:right ;
        pg:group :out ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 4 ;
        lv2:symbol "bypass" ;
        lv2:name "Bypass" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:toggled ;
        lv2:default 0.00000 ;
        lv2:minimum 0.00000 ;
        lv2:maximum 1.00000 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 5 ;
        lv2:symbol "level_in" ;
        lv2:name "Input" ;
        lv2:designation param:gain ;
        lv2:default 1.00000 ;
        lv2:minimum 0.00000 ;
        lv2:maximum 64.0000 ;
        ue:unit ue:coef ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 6 ;
        lv2:symbol "meter_in" ;
        lv2:name "Input" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:minimum 0.00000 ;
        lv2:maximum 1.00000 ;
        ue:unit ue:db ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 7 ;
        lv2:symbol "meter_out" ;
        lv2:name "Output" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:minimum 0.00000 ;
        lv2:maximum 1.00000 ;
        ue:unit ue:db ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 8 ;
        lv2:symbol "clip_in" ;
        lv2:name "0dB-In" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:portProperty lv2:toggled ;
        lv2:minimum 0.00000 ;
        lv2:maximum 1.00000 ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 9 ;
        lv2:symbol "clip_out" ;
        lv2:name "0dB-Out" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:portProperty lv2:toggled ;
        lv2:minimum 0.00000 ;
        lv2:maximum 1.00000 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 10 ;
        lv2:symbol "range" ;
        lv2:name "Max Gain Reduction" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 0.0612500 ;
        lv2:minimum 1.58490e-05 ;
        lv2:maximum 1.00000 ;
        ue:unit ue:db ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 11 ;
        lv2:symbol "threshold" ;
        lv2:name "Threshold" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 0.125000 ;
        lv2:minimum 0.000976563 ;
        lv2:maximum 1.00000 ;
        ue:unit ue:db ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 12 ;
        lv2:symbol "ratio" ;
        lv2:name "Ratio" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 2.00000 ;
        lv2:minimum 1.00000 ;
        lv2:maximum 20.0000 ;
        ue:unit ue:coef ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 13 ;
        lv2:symbol "attack" ;
        lv2:name "Attack" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty epp:logarithmic ;
        lv2:default 20.0000 ;
        lv2:minimum 0.0100000 ;
        lv2:maximum 2000.00 ;
        ue:unit ue:ms ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 14 ;
        lv2:symbol "release" ;
        lv2:name "Release" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty epp:logarithmic ;
        lv2:default 250.000 ;
        lv2:minimum 0.0100000 ;
        lv2:maximum 2000.00 ;
        ue:unit ue:ms ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 15 ;
        lv2:symbol "makeup" ;
        lv2:name "Makeup Gain" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 1.00000 ;
        lv2:minimum 1.00000 ;
        lv2:maximum 64.0000 ;
        ue:unit ue:db ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 16 ;
        lv2:symbol "knee" ;
        lv2:name "Knee" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 2.82843 ;
        lv2:minimum 1.00000 ;
        lv2:maximum 8.00000 ;
        ue:unit ue:db ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 17 ;
        lv2:symbol "detection" ;
        lv2:name "Detection" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:integer ;
        lv2:scalePoint [ rdfs:label "RMS"; rdf:value 0 ] ;
        lv2:scalePoint [ rdfs:label "Peak"; rdf:value 1 ] ;
        lv2:default 0.00000 ;
        lv2:minimum 0.00000 ;
        lv2:maximum 1.00000 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 18 ;
        lv2:symbol "stereo_link" ;
        lv2:name "Stereo Link" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:integer ;
        lv2:scalePoint [ rdfs:label "Average"; rdf:value 0 ] ;
        lv2:scalePoint [ rdfs:label "Maximum"; rdf:value 1 ] ;
        lv2:default 0.00000 ;
        lv2:minimum 0.00000 ;
        lv2:maximum 1.00000 ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 19 ;
        lv2:symbol "gating" ;
        lv2:name "Gating" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:minimum 0.0312500 ;
        lv2:maximum 1.00000 ;
        ue:unit ue:db ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 20 ;
        lv2:symbol "sc_mode" ;
        lv2:name "S/C Mode" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:integer ;
        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.00000 ;
        lv2:minimum 0.00000 ;
        lv2:maximum 9.00000 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 21 ;
        lv2:symbol "f1_freq" ;
        lv2:name "F1 Freq" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty epp:logarithmic ;
        lv2:default 250.000 ;
        lv2:minimum 10.0000 ;
        lv2:maximum 18000.0 ;
        ue:unit ue:hz ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 22 ;
        lv2:symbol "f2_freq" ;
        lv2:name "F2 Freq" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty epp:logarithmic ;
        lv2:default 4500.00 ;
        lv2:minimum 10.0000 ;
        lv2:maximum 18000.0 ;
        ue:unit ue:hz ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 23 ;
        lv2:symbol "f1_level" ;
        lv2:name "F1 Level" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 1.00000 ;
        lv2:minimum 0.0625000 ;
        lv2:maximum 16.0000 ;
        ue:unit ue:db ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 24 ;
        lv2:symbol "f2_level" ;
        lv2:name "F2 Level" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:default 1.00000 ;
        lv2:minimum 0.0625000 ;
        lv2:maximum 16.0000 ;
        ue:unit ue:db ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 25 ;
        lv2:symbol "sc_listen" ;
        lv2:name "S/C-Listen" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:toggled ;
        lv2:default 0.00000 ;
        lv2:minimum 0.00000 ;
        lv2:maximum 1.00000 ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 26 ;
        lv2:symbol "f1_active" ;
        lv2:name "F1 Active" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:portProperty lv2:toggled ;
        lv2:minimum 0.00000 ;
        lv2:maximum 1.00000 ;
    ] , [
        a lv2:OutputPort ;
        a lv2:ControlPort ;
        lv2:index 27 ;
        lv2:symbol "f2_active" ;
        lv2:name "F2 Active" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:connectionOptional ;
        lv2:portProperty lv2:toggled ;
        lv2:minimum 0.00000 ;
        lv2:maximum 1.00000 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 28 ;
        lv2:symbol "sc_route" ;
        lv2:name "S/C Route" ;
        lv2:portProperty epp:hasStrictBounds ;
        lv2:portProperty lv2:integer ;
        lv2:scalePoint [ rdfs:label "Stereo Input (Default)"; rdf:value 0 ] ;
        lv2:scalePoint [ rdfs:label "R ▸ L (L: Signal / R: S/C)"; rdf:value 1 ] ;
        lv2:scalePoint [ rdfs:label "L ▸ R (L: S/C / R: Signal)"; rdf:value 2 ] ;
        lv2:default 0.00000 ;
        lv2:minimum 0.00000 ;
        lv2:maximum 2.00000 ;
    ] , [
        a lv2:InputPort ;
        a lv2:ControlPort ;
        lv2:index 29 ;
        lv2:symbol "sc_level" ;
        lv2:name "S/C Level" ;
        lv2:designation param:gain ;
        lv2:default 1.00000 ;
        lv2:minimum 0.0156250 ;
        lv2:maximum 64.0000 ;
        ue:unit ue:coef ;
    ]
.


