Skip to content

Commit 1ca9ddd

Browse files
committed
Add kx-properties.lv2
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 4f6802f commit 1ca9ddd

File tree

4 files changed

+95
-0
lines changed

4 files changed

+95
-0
lines changed

kx-properties.lv2/manifest.ttl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
2+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
3+
4+
<http://kxstudio.sf.net/ns/lv2ext/props>
5+
a lv2:Specification ;
6+
lv2:minorVersion 1 ;
7+
lv2:microVersion 0 ;
8+
rdfs:seeAlso <props.ttl> .

kx-properties.lv2/props.doap.ttl

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
@prefix dcs: <http://ontologi.es/doap-changeset#> .
2+
@prefix doap: <http://usefulinc.com/ns/doap#> .
3+
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
4+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5+
6+
<http://kxstudio.sf.net/ns/lv2ext/props>
7+
a doap:Project ;
8+
rdfs:seeAlso <../kx-meta/meta.ttl> ;
9+
doap:license <http://opensource.org/licenses/isc> ;
10+
doap:name "Properties" ;
11+
doap:homepage <http://kxstudio.sf.net/ns/lv2ext/props> ;
12+
doap:created "2015-07-03" ;
13+
doap:shortdesc "LV2 extension for custom KXStudio properties." ;
14+
doap:developer <https://falktx.com/> ;
15+
doap:maintainer <https://falktx.com/> ;
16+
doap:release [
17+
doap:revision "1.0" ;
18+
doap:created "2015-07-03" ;
19+
doap:file-release <http://kxstudio.sf.net/ns/lv2ext/kx-extensions-1.0.tar.bz2> ;
20+
dcs:changeset [
21+
dcs:item [
22+
rdfs:label "First stable release."
23+
]
24+
]
25+
] .

kx-properties.lv2/props.h

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
LV2 KXStudio Properties Extension
3+
Copyright 2014-2021 Filipe Coelho <falktx@falktx.com>
4+
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted, provided that the above
7+
copyright notice and this permission notice appear in all copies.
8+
9+
THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16+
*/
17+
18+
/**
19+
@file lv2_kxstudio_properties.h
20+
C header for the LV2 KXStudio Properties extension <http://kxstudio.sf.net/ns/lv2ext/props>.
21+
*/
22+
23+
#ifndef LV2_KXSTUDIO_PROPERTIES_H
24+
#define LV2_KXSTUDIO_PROPERTIES_H
25+
26+
#define LV2_KXSTUDIO_PROPERTIES_URI "http://kxstudio.sf.net/ns/lv2ext/props"
27+
#define LV2_KXSTUDIO_PROPERTIES_PREFIX LV2_KXSTUDIO_PROPERTIES_URI "#"
28+
29+
#define LV2_KXSTUDIO_PROPERTIES__NonAutomatable LV2_KXSTUDIO_PROPERTIES_PREFIX "NonAutomatable"
30+
#define LV2_KXSTUDIO_PROPERTIES__TimePositionTicksPerBeat LV2_KXSTUDIO_PROPERTIES_PREFIX "TimePositionTicksPerBeat"
31+
#define LV2_KXSTUDIO_PROPERTIES__TransientWindowId LV2_KXSTUDIO_PROPERTIES_PREFIX "TransientWindowId"
32+
33+
#endif /* LV2_KXSTUDIO_PROPERTIES_H */

kx-properties.lv2/props.ttl

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
2+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
3+
@prefix props: <http://kxstudio.sf.net/ns/lv2ext/props#> .
4+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
5+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
6+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
7+
8+
<http://kxstudio.sf.net/ns/lv2ext/props>
9+
a owl:Ontology ;
10+
rdfs:seeAlso <props.h> ,
11+
<props.doap.ttl> ,
12+
<../kx-meta/meta.ttl> ;
13+
rdfs:comment "A set of custom LV2 properties created by and for KXStudio related projects." .
14+
15+
props:NonAutomatable
16+
a lv2:PortProperty ;
17+
rdfs:label "non automatable" ;
18+
rdfs:comment "Port should not be automated by the host." .
19+
20+
props:TimePositionTicksPerBeat
21+
a rdf:Property , owl:DatatypeProperty , opts:Option ;
22+
rdfs:range xsd:float ;
23+
rdfs:label "ticks per beat" ;
24+
rdfs:comment "How many ticks are in a beat." .
25+
26+
props:TransientWindowId
27+
a rdf:Property , owl:DatatypeProperty , opts:Option ;
28+
rdfs:label "transient window id" ;
29+
rdfs:comment "A window id from the host to be set as transient hint by the plugin." .

0 commit comments

Comments
 (0)