diff --git a/kx-properties.lv2/manifest.ttl b/kx-properties.lv2/manifest.ttl new file mode 100644 index 0000000..fdec9d5 --- /dev/null +++ b/kx-properties.lv2/manifest.ttl @@ -0,0 +1,8 @@ +@prefix lv2: . +@prefix rdfs: . + + + a lv2:Specification ; + lv2:minorVersion 1 ; + lv2:microVersion 0 ; + rdfs:seeAlso . diff --git a/kx-properties.lv2/props.doap.ttl b/kx-properties.lv2/props.doap.ttl new file mode 100644 index 0000000..6f0cb15 --- /dev/null +++ b/kx-properties.lv2/props.doap.ttl @@ -0,0 +1,25 @@ +@prefix dcs: . +@prefix doap: . +@prefix foaf: . +@prefix rdfs: . + + + a doap:Project ; + rdfs:seeAlso <../kx-meta/meta.ttl> ; + doap:license ; + doap:name "Properties" ; + doap:homepage ; + doap:created "2015-07-03" ; + doap:shortdesc "LV2 extension for custom KXStudio properties." ; + doap:developer ; + doap:maintainer ; + doap:release [ + doap:revision "1.0" ; + doap:created "2015-07-03" ; + doap:file-release ; + dcs:changeset [ + dcs:item [ + rdfs:label "First stable release." + ] + ] + ] . diff --git a/kx-properties.lv2/props.h b/kx-properties.lv2/props.h new file mode 100644 index 0000000..2292265 --- /dev/null +++ b/kx-properties.lv2/props.h @@ -0,0 +1,33 @@ +/* + LV2 KXStudio Properties Extension + Copyright 2014-2021 Filipe Coelho + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +*/ + +/** + @file lv2_kxstudio_properties.h + C header for the LV2 KXStudio Properties extension . +*/ + +#ifndef LV2_KXSTUDIO_PROPERTIES_H +#define LV2_KXSTUDIO_PROPERTIES_H + +#define LV2_KXSTUDIO_PROPERTIES_URI "http://kxstudio.sf.net/ns/lv2ext/props" +#define LV2_KXSTUDIO_PROPERTIES_PREFIX LV2_KXSTUDIO_PROPERTIES_URI "#" + +#define LV2_KXSTUDIO_PROPERTIES__NonAutomatable LV2_KXSTUDIO_PROPERTIES_PREFIX "NonAutomatable" +#define LV2_KXSTUDIO_PROPERTIES__TimePositionTicksPerBeat LV2_KXSTUDIO_PROPERTIES_PREFIX "TimePositionTicksPerBeat" +#define LV2_KXSTUDIO_PROPERTIES__TransientWindowId LV2_KXSTUDIO_PROPERTIES_PREFIX "TransientWindowId" + +#endif /* LV2_KXSTUDIO_PROPERTIES_H */ diff --git a/kx-properties.lv2/props.ttl b/kx-properties.lv2/props.ttl new file mode 100644 index 0000000..e789f7f --- /dev/null +++ b/kx-properties.lv2/props.ttl @@ -0,0 +1,29 @@ +@prefix lv2: . +@prefix owl: . +@prefix props: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . + + + a owl:Ontology ; + rdfs:seeAlso , + , + <../kx-meta/meta.ttl> ; + rdfs:comment "A set of custom LV2 properties created by and for KXStudio related projects." . + +props:NonAutomatable + a lv2:PortProperty ; + rdfs:label "non automatable" ; + rdfs:comment "Port should not be automated by the host." . + +props:TimePositionTicksPerBeat + a rdf:Property , owl:DatatypeProperty , opts:Option ; + rdfs:range xsd:float ; + rdfs:label "ticks per beat" ; + rdfs:comment "How many ticks are in a beat." . + +props:TransientWindowId + a rdf:Property , owl:DatatypeProperty , opts:Option ; + rdfs:label "transient window id" ; + rdfs:comment "A window id from the host to be set as transient hint by the plugin." .