@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 patch: <http://lv2plug.in/ns/ext/patch#> .
@prefix pprops: <http://lv2plug.in/ns/ext/port-props#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix atom:  <http://lv2plug.in/ns/ext/atom#> .  
@prefix urid:  <http://lv2plug.in/ns/ext/urid#> .
@prefix worker:  <http://lv2plug.in/ns/ext/worker#> .
@prefix state:  <http://lv2plug.in/ns/ext/state#> .
@prefix mediatype: <https://tools.ietf.org/html/rfc2046> .
@prefix mime:   <http://www.iana.org/assignments/media-types/media-types.xhtml#> .


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

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


<https://github.com/Stazed/rakarrack-plus#Reverbtron:rvbfile>
    a lv2:Parameter ;
    rdfs:label "rvb file" ;
    rdfs:range atom:Path ;
    mediatype: mime:text ;
    .

<https://github.com/Stazed/rakarrack-plus#Reverbtron>
    a lv2:Plugin, lv2:ReverbPlugin ;
    doap:name "RKRP Reverbtron" ;
    doap:description "Convolution-Based Reverb" ;
    lv2:project <https://github.com/Stazed/rakarrack-plus>;
    lv2:minorVersion 3 ;
    lv2:microVersion 1 ;
    rdfs:comment "Convolution-based reverb effect. IR samples can be converted to .rvb format and loaded into this effect for a less cpu-intensive convolution. Several files included." ;
    lv2:requiredFeature urid:map, worker:schedule ;
    lv2:optionalFeature lv2:hardRTCapable, state:loadDefaultState ;
    lv2:extensionData worker:interface, state:interface ;
#    ui:ui  <https://github.com/Stazed/rakarrack-plus#Reverbtron_ui> ;
    patch:writable <https://github.com/Stazed/rakarrack-plus#Reverbtron:rvbfile> ;

    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, atom:AtomPort ;
            lv2:index 4 ;
            lv2:symbol "CONTROL" ;
            lv2:name "Control" ;
            atom:bufferType atom:Sequence ;
            atom:supports patch:Message ;
            lv2:designation lv2:control ;
    ] ;
    lv2:port [
            a lv2:OutputPort, atom:AtomPort ;
            lv2:index 5 ;
            lv2:symbol "NOTIFY" ;
            lv2:name "Notify" ;
            atom:bufferType atom:Sequence ;
            atom:supports patch:Message ;
            lv2:designation lv2:control ;
    ] ;
    lv2:port [
                a lv2:InputPort, lv2:ControlPort ;
                lv2:index 6 ;
                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 7 ;
            lv2:symbol "DRYWET" ;
            lv2:name "Dry/Wet" ;
            lv2:default 63 ;
            lv2:minimum 0 ;
            lv2:maximum 127 ;
            lv2:portProperty lv2:integer ;
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 8 ;
            lv2:symbol "FADE" ;
            lv2:name "Fade" ;
            lv2:default 0 ;
            lv2:minimum 0 ;
            lv2:maximum 127 ;
            lv2:portProperty lv2:integer ;
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 9 ;
            lv2:symbol "SAFE" ;
            lv2:name "Safe" ;
            lv2:default 1 ;
            lv2:minimum 0 ;
            lv2:maximum 1 ;
            lv2:portProperty lv2:integer ;
            lv2:portProperty lv2:toggled ; 
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 10 ;
            lv2:symbol "LENGTH" ;
            lv2:name "Length" ;
            lv2:default 500 ;
            lv2:minimum 20 ;
            lv2:maximum 1500 ;
            lv2:portProperty lv2:integer ;
            units:unit units:ms ;
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 11 ;
            lv2:symbol "DELAY" ;
            lv2:name "Initial Delay" ;
            lv2:default 0 ;
            lv2:minimum 0 ;
            lv2:maximum 500 ;
            lv2:portProperty lv2:integer ;
            units:unit units:ms ;
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 12 ;
            lv2:symbol "DAMP" ;
            lv2:name "Dampening" ;
            lv2:default 99 ;
            lv2:minimum 0 ;
            lv2:maximum 127 ;
            lv2:portProperty lv2:integer ;
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 13 ;
            lv2:symbol "LEVEL" ;
            lv2:name "Level" ;
            lv2:default 70 ;
            lv2:minimum 0 ;
            lv2:maximum 127 ;
            lv2:portProperty lv2:integer ;
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 14 ;
            lv2:symbol "STRETCH" ;
            lv2:name "Time Stretch" ;
            lv2:default 0 ;
            lv2:minimum -64 ;
            lv2:maximum 64 ;
            lv2:portProperty lv2:integer ;
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 15 ;
            lv2:symbol "FB" ;
            lv2:name "Feedback" ;
            lv2:default 0 ;
            lv2:minimum -64 ;
            lv2:maximum 64 ;
            lv2:portProperty lv2:integer ;
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 16 ;
            lv2:symbol "PAN" ;
            lv2:name "Pan" ;
            lv2:default 0 ;
            lv2:minimum -64 ;
            lv2:maximum 63 ;
            lv2:portProperty lv2:integer ;
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 17 ;
            lv2:symbol "ES" ;
            lv2:name "Extra 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 18 ;
            lv2:symbol "SH" ;
            lv2:name "Shuffle" ;
            lv2:default 0 ;
            lv2:minimum 0 ;
            lv2:maximum 1 ;
            lv2:portProperty lv2:integer ;
            lv2:portProperty lv2:toggled ; 
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 19 ;
            lv2:symbol "LPF" ;
            lv2:name "Lowpass Filter" ;
            lv2:default 20000 ;
            lv2:minimum 20 ;
            lv2:maximum 26000 ;
            lv2:portProperty lv2:integer ;
            units:unit units:hz ;
    ], [
            a lv2:InputPort, lv2:ControlPort ;
            lv2:index 20 ;
            lv2:symbol "DIFFUSE" ;
            lv2:name "Diffusion" ;
            lv2:default 0 ;
            lv2:minimum 0 ;
            lv2:maximum 127 ;
            lv2:portProperty lv2:integer ;
    ] ;
    state:state [
		<https://github.com/Stazed/rakarrack-plus#Reverbtron:rvbfile> <Chamber.rvb>
	] 
	.

<https://github.com/Stazed/rakarrack-plus#Reverbtron:preset:chamber>
        a pset:Preset ;
        lv2:appliesTo <https://github.com/Stazed/rakarrack-plus#Reverbtron> ;
        rdfs:seeAlso <reverbtron_presets.ttl> .

<https://github.com/Stazed/rakarrack-plus#Reverbtron:preset:concrete_stairwell>
        a pset:Preset ;
        lv2:appliesTo <https://github.com/Stazed/rakarrack-plus#Reverbtron> ;
        rdfs:seeAlso <reverbtron_presets.ttl> .

<https://github.com/Stazed/rakarrack-plus#Reverbtron:preset:hall>
        a pset:Preset ;
        lv2:appliesTo <https://github.com/Stazed/rakarrack-plus#Reverbtron> ;
        rdfs:seeAlso <reverbtron_presets.ttl> .

<https://github.com/Stazed/rakarrack-plus#Reverbtron:preset:med_hall>
        a pset:Preset ;
        lv2:appliesTo <https://github.com/Stazed/rakarrack-plus#Reverbtron> ;
        rdfs:seeAlso <reverbtron_presets.ttl> .

<https://github.com/Stazed/rakarrack-plus#Reverbtron:preset:Room>
        a pset:Preset ;
        lv2:appliesTo <https://github.com/Stazed/rakarrack-plus#Reverbtron> ;
        rdfs:seeAlso <reverbtron_presets.ttl> .

<https://github.com/Stazed/rakarrack-plus#Reverbtron:preset:large_hall>
        a pset:Preset ;
        lv2:appliesTo <https://github.com/Stazed/rakarrack-plus#Reverbtron> ;
        rdfs:seeAlso <reverbtron_presets.ttl> .

<https://github.com/Stazed/rakarrack-plus#Reverbtron:preset:guitar>
        a pset:Preset ;
        lv2:appliesTo <https://github.com/Stazed/rakarrack-plus#Reverbtron> ;
        rdfs:seeAlso <reverbtron_presets.ttl> .

<https://github.com/Stazed/rakarrack-plus#Reverbtron:preset:studio>
        a pset:Preset ;
        lv2:appliesTo <https://github.com/Stazed/rakarrack-plus#Reverbtron> ;
        rdfs:seeAlso <reverbtron_presets.ttl> .

<https://github.com/Stazed/rakarrack-plus#Reverbtron:preset:chathedral>
        a pset:Preset ;
        lv2:appliesTo <https://github.com/Stazed/rakarrack-plus#Reverbtron> ;
        rdfs:seeAlso <reverbtron_presets.ttl> .
