@prefix doap:  <http://usefulinc.com/ns/doap#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@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 pset: <http://lv2plug.in/ns/ext/presets#> .

@prefix lv2:   <http://lv2plug.in/ns/lv2core#> .
@prefix ui:   <http://lv2plug.in/ns/extensions/ui#> .

# <https://github.com/Stazed/rakarrack-plus#Overdrive_ui>
# 	a ui:X11UI ;
# 	ui:binary <rakarrack-plus_ui.so> ;
# 	lv2:extensionData ui:idleInterface;
# 	.

<https://github.com/Stazed/rakarrack-plus#Overdrive>
        a lv2:Plugin, lv2:DistortionPlugin ;
        doap:name "RKRP Overdrive" ;
        doap:description "Waveshaping Distortion";
        lv2:project <https://github.com/Stazed/rakarrack-plus>;
        lv2:minorVersion 3 ;
        lv2:microVersion 1 ;
        rdfs:comment "A flexible waveshaping distortion with 30 waveshapes to choose from." ;
        lv2:optionalFeature lv2:hardRTCapable,
            <http://lv2plug.in/ns/ext/urid#map>,
            <http://lv2plug.in/ns/ext/buf-size#boundedBlockLength>;
#        ui:ui  <https://github.com/Stazed/rakarrack-plus#Overdrive_ui> ;

        lv2:port [
                a lv2:InputPort, lv2:AudioPort ;
                lv2:index 0 ;
                lv2:symbol "INPUT_L" ;
                lv2:name "Audio In L" ;
        ] ;
        lv2:port [
                a lv2:InputPort, lv2:AudioPort ;
                lv2:index 1 ;
                lv2:symbol "INPUT_R" ;
                lv2:name "Audio In R" ;
        ] ;
        lv2:port [
                a lv2:OutputPort, lv2:AudioPort ;
                lv2:index 2 ;
                lv2:symbol "OUTPUT_L" ;
                lv2:name "Audio Out L" ;
        ] ;
        lv2:port [
                a lv2:OutputPort, lv2:AudioPort ;
                lv2:index 3 ;
                lv2:symbol "OUTPUT_R" ;
                lv2:name "Audio Out R" ;
        ] ;
        lv2:port [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 4 ;
                lv2:symbol "BYPASS" ;
                lv2:name "Bypass" ;
                lv2:default 0 ;
                lv2:minimum 0 ;
                lv2:maximum 1 ;
                lv2:portProperty lv2:integer ;
                lv2:portProperty lv2:toggled ;
        ], [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 5 ;
                lv2:symbol "DRYWET" ;
                lv2:name "Dry/Wet" ;
                lv2:default 43 ;
                lv2:minimum 0 ;
                lv2:maximum 127 ;
                lv2:portProperty lv2:integer ;
        ], [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 6 ;
                lv2:symbol "PAN" ;
                lv2:name "Panning" ;
                lv2:default 0 ;
                lv2:minimum -64 ;
                lv2:maximum 63 ;
                lv2:portProperty lv2:integer ;
        ], [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 7 ;
                lv2:symbol "LRCr" ;
                lv2:name "Left/Right Crossover" ;
                lv2:default 35 ;
                lv2:minimum 0 ;
                lv2:maximum 127 ;
                lv2:portProperty lv2:integer ;
        ], [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 8 ;
                lv2:symbol "DRIVE" ;
                lv2:name "Drive" ;
                lv2:default 56 ;
                lv2:minimum 0 ;
                lv2:maximum 127 ;
                lv2:portProperty lv2:integer ;
        ], [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 9 ;
                lv2:symbol "LEVEL" ;
                lv2:name "Level" ;
                lv2:default 40 ;
                lv2:minimum 0 ;
                lv2:maximum 127 ;
                lv2:portProperty lv2:integer ;
        ], [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 10 ;
                lv2:symbol "TYPE" ;
                lv2:name "Type" ;
                lv2:default 0 ;
                lv2:minimum 0 ;
                lv2:maximum 29 ;
                lv2:portProperty lv2:integer ;
                lv2:portProperty lv2:enumeration;
                lv2:scalePoint [ rdfs:label "Arctangent"; rdf:value 0 ] ;
                lv2:scalePoint [ rdfs:label "Asymmetric 1"; rdf:value 1 ] ;
                lv2:scalePoint [ rdfs:label "Power"; rdf:value 2 ] ;
                lv2:scalePoint [ rdfs:label "Sine"; rdf:value 3 ] ;
                lv2:scalePoint [ rdfs:label "Quantize"; rdf:value 4 ] ;
                lv2:scalePoint [ rdfs:label "Zigzag"; rdf:value 5 ] ;
                lv2:scalePoint [ rdfs:label "Limiter"; rdf:value 6 ] ;
                lv2:scalePoint [ rdfs:label "Upper Limiter"; rdf:value 7 ] ;
                lv2:scalePoint [ rdfs:label "Lower Limiter"; rdf:value 8 ] ;
                lv2:scalePoint [ rdfs:label "Inverse Limiter"; rdf:value 9 ] ;
                lv2:scalePoint [ rdfs:label "Clip"; rdf:value 10 ] ;
                lv2:scalePoint [ rdfs:label "Asymmetric 2"; rdf:value 11 ] ;
                lv2:scalePoint [ rdfs:label "Power 2"; rdf:value 12 ] ;
                lv2:scalePoint [ rdfs:label "Sigmoid"; rdf:value 13 ] ;
                lv2:scalePoint [ rdfs:label "Crunch"; rdf:value 14 ] ;
                lv2:scalePoint [ rdfs:label "Hard Crunch"; rdf:value 15 ] ;
                lv2:scalePoint [ rdfs:label "Dirty Octave Up"; rdf:value 16 ] ;
                lv2:scalePoint [ rdfs:label "Modulated Square"; rdf:value 17 ] ;
                lv2:scalePoint [ rdfs:label "Modulated Saw"; rdf:value 18 ] ;
                lv2:scalePoint [ rdfs:label "Compression"; rdf:value 19 ] ;
                lv2:scalePoint [ rdfs:label "Overdrive"; rdf:value 20 ] ;
                lv2:scalePoint [ rdfs:label "Soft"; rdf:value 21 ] ;
                lv2:scalePoint [ rdfs:label "Super Soft"; rdf:value 22 ] ;
                lv2:scalePoint [ rdfs:label "Hard Compression"; rdf:value 23 ] ;
                lv2:scalePoint [ rdfs:label "Limit, No Gain"; rdf:value 24 ] ;
                lv2:scalePoint [ rdfs:label "JFET"; rdf:value 25 ] ;
                lv2:scalePoint [ rdfs:label "Dyno JFET"; rdf:value 26 ] ;
                lv2:scalePoint [ rdfs:label "Valve 1"; rdf:value 27 ] ;
                lv2:scalePoint [ rdfs:label "Valve 2"; rdf:value 28 ] ;
                lv2:scalePoint [ rdfs:label "Diode Clipper"; rdf:value 29 ] ;
        ], [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 11 ;
                lv2:symbol "NEG" ;
                lv2:name "Negate (Polarity Switch)" ;
                lv2:default 0 ;
                lv2:minimum 0 ;
                lv2:maximum 1 ;
                lv2:portProperty lv2:integer ;
                lv2:portProperty lv2:toggled ;
        ], [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 12 ;
                lv2:symbol "LPF" ;
                lv2:name "Lowpass Filter" ;
                lv2:default 6703 ;
                lv2:minimum 20 ;
                lv2:maximum 26000 ;
                lv2:portProperty lv2:integer ;
                units:unit units:hz ;
        ], [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 13 ;
                lv2:symbol "HPF" ;
                lv2:name "Highpass Filter" ;
                lv2:default 21 ;
                lv2:minimum 20 ;
                lv2:maximum 20000 ;
                lv2:portProperty lv2:integer ;
                units:unit units:hz ;
        ], [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 14 ;
                lv2:symbol "STEREO" ;
                lv2:name "Stereo" ;
                lv2:default 0 ;
                lv2:minimum 0 ;
                lv2:maximum 1 ;
                lv2:portProperty lv2:integer ;
                lv2:portProperty lv2:toggled ;
        ], [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 15 ;
                lv2:symbol "PREFILTER" ;
                lv2:name "Prefilter" ;
                lv2:default 0 ;
                lv2:minimum 0 ;
                lv2:maximum 1;
                lv2:portProperty lv2:integer ;
                lv2:portProperty lv2:toggled ;
        ] ;
	.

<https://github.com/Stazed/rakarrack-plus#Overdrive:preset:overdrive_1>
        a pset:Preset ;
        lv2:appliesTo <https://github.com/Stazed/rakarrack-plus#Overdrive> ;
        rdfs:label "Overdrive 1" ;
        rdfs:seeAlso <overdrive_presets.ttl> .

<https://github.com/Stazed/rakarrack-plus#Overdrive:preset:overdrive_2>
        a pset:Preset ;
        lv2:appliesTo <https://github.com/Stazed/rakarrack-plus#Overdrive> ;
        rdfs:label "Overdrive 2" ;
        rdfs:seeAlso <overdrive_presets.ttl> .

