# bassgen/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/bassgen/> .

@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 "BassGen" ;
    rdfs:comment "Transport synced bass line generator. Scale, genre and subdivision shape a seeded pattern that plays in time with the session and can be steered from a keyboard." ;
    trn:vendor "danja" ;
    doap:revision "1.0.0" ;
    doap:developer <http://danny.ayers.name> ;
    foaf:homepage <> ;
    trn:role trn:MidiGenerator ;
    trn:accepts trn:Midi ;
    trn:produces trn:Midi , trn:BassMidi ;
    trn:genre "Techno" , "Acid" , "House" , "Electro" , "Dub" , "Ambient" , "Funk" , "Sabbath" , "Jazz" , "Fugue" , "Rock" , "Moroder" ;
    trn:caution "Silent until the host transport is rolling and reports a tempo and a beat position. A generator with no idea what time it is would be guessing, and this one says so by producing nothing." ;
    trn:caution "Monophonic by design. A new step ends the note before it rather than overlapping." ;
    trn:format trn:WebAudio ;
    pu:licenceId "Apache-2.0" ;
    trn:requires jig:MidiEvents ;
    trn:requires jig:MidiOut ;
    trn:requires trn:HostTransport ;

    jig:audioInputs 0 ;
    jig:audioOutputs 0 ;
    jig:renderQuantum 128 ;
    jig:latencyFrames 0 ;

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

    lv2:port <#root> , <#scale> , <#genre> , <#length> , <#subdivision> , <#density> , <#register> , <#hold> , <#accent> , <#colour> , <#vary> , <#seed> , <#follow> .

<#module>
    a jig:Module ;
    jig:location <bassgen.wasm> ;
    jig:mediaType "application/wasm" ;
    jig:abi jig:Abi2 ;
    jig:integrity "sha384-saGDz2Auy0Mr/nLYiP9qY67p1mLxpghLnLROMKEOBtOVuk2H4pxVPrOxE/7wvFjY" .

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

<#root>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "root" ; lv2:name "Root" ;
    lv2:default 36 ; lv2:minimum 12 ; lv2:maximum 72 ;
    jig:paramIndex 0 .

<#scale>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "scale" ; lv2:name "Scale" ;
    lv2:default 2 ; lv2:minimum 0 ; lv2:maximum 22 ;
    jig:paramIndex 1 ;
    lv2:portProperty lv2:enumeration ;
    lv2:scalePoint
        <#scale-0> ,
        <#scale-1> ,
        <#scale-2> ,
        <#scale-3> ,
        <#scale-4> ,
        <#scale-5> ,
        <#scale-6> ,
        <#scale-7> ,
        <#scale-8> ,
        <#scale-9> ,
        <#scale-10> ,
        <#scale-11> ,
        <#scale-12> ,
        <#scale-13> ,
        <#scale-14> ,
        <#scale-15> ,
        <#scale-16> ,
        <#scale-17> ,
        <#scale-18> ,
        <#scale-19> ,
        <#scale-20> ,
        <#scale-21> ,
        <#scale-22> .

<#scale-0> rdfs:label "Major" ; rdf:value 0 .

<#scale-1> rdfs:label "Ionian" ; rdf:value 1 .

<#scale-2> rdfs:label "Minor" ; rdf:value 2 .

<#scale-3> rdfs:label "Harmonic Minor" ; rdf:value 3 .

<#scale-4> rdfs:label "Melodic Minor" ; rdf:value 4 .

<#scale-5> rdfs:label "Dorian" ; rdf:value 5 .

<#scale-6> rdfs:label "Phrygian" ; rdf:value 6 .

<#scale-7> rdfs:label "Lydian" ; rdf:value 7 .

<#scale-8> rdfs:label "Mixolydian" ; rdf:value 8 .

<#scale-9> rdfs:label "Locrian" ; rdf:value 9 .

<#scale-10> rdfs:label "Phrygian Dominant" ; rdf:value 10 .

<#scale-11> rdfs:label "Neapolitan Major" ; rdf:value 11 .

<#scale-12> rdfs:label "Neapolitan Minor" ; rdf:value 12 .

<#scale-13> rdfs:label "Pentatonic Major" ; rdf:value 13 .

<#scale-14> rdfs:label "Pentatonic Minor" ; rdf:value 14 .

<#scale-15> rdfs:label "Blues" ; rdf:value 15 .

<#scale-16> rdfs:label "Whole Tone" ; rdf:value 16 .

<#scale-17> rdfs:label "Altered" ; rdf:value 17 .

<#scale-18> rdfs:label "Half Whole Diminished" ; rdf:value 18 .

<#scale-19> rdfs:label "Whole Half Diminished" ; rdf:value 19 .

<#scale-20> rdfs:label "Bebop Dominant" ; rdf:value 20 .

<#scale-21> rdfs:label "Bebop Major" ; rdf:value 21 .

<#scale-22> rdfs:label "Bebop Minor" ; rdf:value 22 .

<#genre>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "genre" ; lv2:name "Genre" ;
    lv2:default 0 ; lv2:minimum 0 ; lv2:maximum 11 ;
    jig:paramIndex 2 ;
    lv2:portProperty lv2:enumeration ;
    lv2:scalePoint
        <#genre-0> ,
        <#genre-1> ,
        <#genre-2> ,
        <#genre-3> ,
        <#genre-4> ,
        <#genre-5> ,
        <#genre-6> ,
        <#genre-7> ,
        <#genre-8> ,
        <#genre-9> ,
        <#genre-10> ,
        <#genre-11> .

<#genre-0> rdfs:label "Techno" ; rdf:value 0 .

<#genre-1> rdfs:label "Acid" ; rdf:value 1 .

<#genre-2> rdfs:label "House" ; rdf:value 2 .

<#genre-3> rdfs:label "Electro" ; rdf:value 3 .

<#genre-4> rdfs:label "Dub" ; rdf:value 4 .

<#genre-5> rdfs:label "Ambient" ; rdf:value 5 .

<#genre-6> rdfs:label "Funk" ; rdf:value 6 .

<#genre-7> rdfs:label "Sabbath" ; rdf:value 7 .

<#genre-8> rdfs:label "Jazz" ; rdf:value 8 .

<#genre-9> rdfs:label "Fugue" ; rdf:value 9 .

<#genre-10> rdfs:label "Rock" ; rdf:value 10 .

<#genre-11> rdfs:label "Moroder" ; rdf:value 11 .

<#length>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "length" ; lv2:name "Length" ;
    lv2:default 16 ; lv2:minimum 1 ; lv2:maximum 32 ;
    jig:paramIndex 3 .

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

<#subdivision-0> rdfs:label "Eighth" ; rdf:value 0 .

<#subdivision-1> rdfs:label "Sixteenth" ; rdf:value 1 .

<#subdivision-2> rdfs:label "Sixteenth Triplet" ; rdf:value 2 .

<#subdivision-3> rdfs:label "Quarter" ; rdf:value 3 .

<#density>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "density" ; lv2:name "Density" ;
    lv2:default 0.45 ; lv2:minimum 0 ; lv2:maximum 1 ;
    jig:paramIndex 5 .

<#register>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "register" ; lv2:name "Register" ;
    lv2:default 1 ; lv2:minimum 0 ; lv2:maximum 3 ;
    jig:paramIndex 6 .

<#hold>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "hold" ; lv2:name "Hold" ;
    lv2:default 0.35 ; lv2:minimum 0 ; lv2:maximum 1 ;
    jig:paramIndex 7 .

<#accent>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "accent" ; lv2:name "Accent" ;
    lv2:default 0.45 ; lv2:minimum 0 ; lv2:maximum 1 ;
    jig:paramIndex 8 .

<#colour>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "colour" ; lv2:name "Colour" ;
    lv2:default 0.5 ; lv2:minimum 0 ; lv2:maximum 1 ;
    jig:paramIndex 9 .

<#vary>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "vary" ; lv2:name "Vary" ;
    lv2:default 0 ; lv2:minimum 0 ; lv2:maximum 1 ;
    jig:paramIndex 10 .

<#seed>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "seed" ; lv2:name "Seed" ;
    lv2:default 1 ; lv2:minimum 1 ; lv2:maximum 9999 ;
    jig:paramIndex 11 .

<#follow>
    a lv2:InputPort , lv2:ControlPort ;
    lv2:symbol "follow" ; lv2:name "Follow" ;
    lv2:default 0 ; lv2:minimum 0 ; lv2:maximum 1 ;
    jig:paramIndex 12 ;
    lv2:portProperty lv2:toggled .
