Skip to content

Commit

Permalink
Add kx-properties.lv2
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Feb 14, 2022
1 parent 4f6802f commit 1ca9ddd
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kx-properties.lv2/manifest.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<http://kxstudio.sf.net/ns/lv2ext/props>
a lv2:Specification ;
lv2:minorVersion 1 ;
lv2:microVersion 0 ;
rdfs:seeAlso <props.ttl> .
25 changes: 25 additions & 0 deletions kx-properties.lv2/props.doap.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
@prefix dcs: <http://ontologi.es/doap-changeset#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<http://kxstudio.sf.net/ns/lv2ext/props>
a doap:Project ;
rdfs:seeAlso <../kx-meta/meta.ttl> ;
doap:license <http://opensource.org/licenses/isc> ;
doap:name "Properties" ;
doap:homepage <http://kxstudio.sf.net/ns/lv2ext/props> ;
doap:created "2015-07-03" ;
doap:shortdesc "LV2 extension for custom KXStudio properties." ;
doap:developer <https://falktx.com/> ;
doap:maintainer <https://falktx.com/> ;
doap:release [
doap:revision "1.0" ;
doap:created "2015-07-03" ;
doap:file-release <http://kxstudio.sf.net/ns/lv2ext/kx-extensions-1.0.tar.bz2> ;
dcs:changeset [
dcs:item [
rdfs:label "First stable release."
]
]
] .
33 changes: 33 additions & 0 deletions kx-properties.lv2/props.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
LV2 KXStudio Properties Extension
Copyright 2014-2021 Filipe Coelho <falktx@falktx.com>
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 <http://kxstudio.sf.net/ns/lv2ext/props>.
*/

#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 */
29 changes: 29 additions & 0 deletions kx-properties.lv2/props.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix props: <http://kxstudio.sf.net/ns/lv2ext/props#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://kxstudio.sf.net/ns/lv2ext/props>
a owl:Ontology ;
rdfs:seeAlso <props.h> ,
<props.doap.ttl> ,
<../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." .

0 comments on commit 1ca9ddd

Please sign in to comment.