# cascade/profile.ttl
#
# GENERATED by bin/write-profile.js. Do not edit: the digests are of the
# files on disk, and editing them by hand is how a profile comes to describe
# artefacts that no longer exist. Edit profile.json and run ./build.sh.

@base <https://strandz.it/jigdaw/plugins/cascade/> .

@prefix jig:   <http://purl.org/stuff/jigdaw/> .
@prefix trn:   <http://purl.org/stuff/transmissions/> .
@prefix pu:    <http://purl.org/stuff/plugin-universe/> .
@prefix lv2:   <http://lv2plug.in/ns/lv2core#> .
@prefix units: <http://lv2plug.in/ns/extensions/units#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix doap:  <http://usefulinc.com/ns/doap#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .

<>
    a jig:WebPlugin , trn:PluginProfile ;
    rdfs:label "Cascade" ;
    rdfs:comment "Schroeder plate reverb with per-mode scaling, damping inside the feedback loop, and a freeze that holds the tail indefinitely." ;
    trn:vendor "danja" ;
    doap:revision "1.0.0" ;
    doap:developer <http://danny.ayers.name> ;
    foaf:homepage <> ;
    trn:role trn:AudioEffect ;
    trn:accepts trn:Audio ;
    trn:produces trn:Audio ;
    trn:genre "Ambient" , "Electronic" ;
    trn:caution "Freeze holds the tail at unity feedback. Following it with a limiter is wise when several instances are frozen at once." ;
    trn:format trn:WebAudio ;
    pu:licenceId "Apache-2.0" ;

    jig:audioInputs 1 ;
    jig:inputChannels 2 ;
    jig:audioOutputs 1 ;
    jig:outputChannels 2 ;
    jig:renderQuantum 128 ;
    jig:latencyFrames 0 ;

    jig:module <#module> ;
    jig:processor <#processor> ;

    lv2:port <#mix> , <#size> , <#damping> , <#freeze> , <#mode> .

<#module>
    a jig:Module ;
    jig:location <cascade.wasm> ;
    jig:mediaType "application/wasm" ;
    jig:abi jig:Abi1 ;
    jig:integrity "sha384-aNRlkgWUaW5ERSKpBVjaiBcuUFQ1RoS+2kaQHP9751nPhjAxEIQcPfC51A3MQCR1" .

<#processor>
    a jig:Processor ;
    jig:location <cascade-processor.js> ;
    jig:mediaType "text/javascript" ;
    jig:registeredName "cascade" ;
    jig:integrity "sha384-TYHnDqjNPQdg8XkEuESH8ZPjNejrz28TxHxYbNv8uhUkqO1HvQYYQqVduCBaEeA6" .

<#mix>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "mix" ; lv2:name "Mix" ;
    lv2:default 0.3 ; lv2:minimum 0 ; lv2:maximum 1 ;
    jig:paramIndex 0 .

<#size>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "size" ; lv2:name "Size" ;
    lv2:default 24 ; lv2:minimum 2 ; lv2:maximum 60 ;
    jig:paramIndex 1 ;
    units:unit units:ms .

<#damping>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "damping" ; lv2:name "Damping" ;
    lv2:default 4200 ; lv2:minimum 200 ; lv2:maximum 18000 ;
    jig:paramIndex 2 ;
    units:unit units:hz .

<#freeze>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "freeze" ; lv2:name "Freeze" ;
    lv2:default 0 ; lv2:minimum 0 ; lv2:maximum 1 ;
    jig:paramIndex 3 ;
    lv2:portProperty lv2:toggled .

<#mode>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "mode" ; lv2:name "Mode" ;
    lv2:default 0 ; lv2:minimum 0 ; lv2:maximum 2 ;
    jig:paramIndex 4 ;
    lv2:portProperty lv2:enumeration ;
    lv2:scalePoint
        <#mode-0> ,
        <#mode-1> ,
        <#mode-2> .

<#mode-0> rdfs:label "Plate" ; rdf:value 0 .

<#mode-1> rdfs:label "Hall" ; rdf:value 1 .

<#mode-2> rdfs:label "Bloom" ; rdf:value 2 .
