aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-22 20:14:16 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-22 20:14:16 +0100
commit184a48d318ff79c8acf4dc8d6d1a78e497aeb37a (patch)
tree50856c8a2d266c555593cc7ad9c8ad3533e9382c
parentc2dba2bb88daefb3a17ab0aa8a64a37c27ed69e7 (diff)
downloadvm.lv2-184a48d318ff79c8acf4dc8d6d1a78e497aeb37a.tar.xz
rename vm:vm to vm:control.
-rw-r--r--VERSION2
-rw-r--r--manifest.ttl.in2
-rw-r--r--vm.c6
-rw-r--r--vm.ttl22
-rw-r--r--vm_ui.c4
5 files changed, 18 insertions, 18 deletions
diff --git a/VERSION b/VERSION
index 776de7e..8eea1dc 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.2871
+0.1.2873
diff --git a/manifest.ttl.in b/manifest.ttl.in
index 38dc17e..b34bc26 100644
--- a/manifest.ttl.in
+++ b/manifest.ttl.in
@@ -19,7 +19,7 @@
@prefix vm: <http://open-music-kontrollers.ch/lv2/vm#> .
-vm:vm
+vm:control
a lv2:Plugin ;
lv2:minorVersion @VM_MINOR_VERSION@ ;
lv2:microVersion @VM_MICRO_VERSION@ ;
diff --git a/vm.c b/vm.c
index 5531f41..a49f78b 100644
--- a/vm.c
+++ b/vm.c
@@ -940,8 +940,8 @@ extension_data(const char* uri)
return NULL;
}
-const LV2_Descriptor vm_nuk = {
- .URI = VM_PREFIX"vm",
+static const LV2_Descriptor vm_control = {
+ .URI = VM_PREFIX"control",
.instantiate = instantiate,
.connect_port = connect_port,
.activate = NULL,
@@ -957,7 +957,7 @@ lv2_descriptor(uint32_t index)
switch(index)
{
case 0:
- return &vm_nuk;
+ return &vm_control;
default:
return NULL;
}
diff --git a/vm.ttl b/vm.ttl
index d9dfdc1..640c809 100644
--- a/vm.ttl
+++ b/vm.ttl
@@ -191,7 +191,7 @@ vm:opRShift
a rdfs:Datatype .
# Plugin
-vm:vm
+vm:control
a lv2:Plugin,
lv2:ConverterPlugin ;
doap:name "Vm" ;
@@ -383,7 +383,7 @@ vm:vm
vm:add
a pset:Preset ;
- lv2:appliesTo vm:vm ;
+ lv2:appliesTo vm:control ;
rdfs:label "Add" ;
state:state [
vm:graph [
@@ -398,7 +398,7 @@ vm:add
vm:sub
a pset:Preset ;
- lv2:appliesTo vm:vm ;
+ lv2:appliesTo vm:control ;
rdfs:label "Subtract" ;
state:state [
vm:graph [
@@ -413,7 +413,7 @@ vm:sub
vm:mul
a pset:Preset ;
- lv2:appliesTo vm:vm ;
+ lv2:appliesTo vm:control ;
rdfs:label "Multiply" ;
state:state [
vm:graph [
@@ -428,7 +428,7 @@ vm:mul
vm:div
a pset:Preset ;
- lv2:appliesTo vm:vm ;
+ lv2:appliesTo vm:control ;
rdfs:label "Divide" ;
state:state [
vm:graph [
@@ -443,7 +443,7 @@ vm:div
vm:mod
a pset:Preset ;
- lv2:appliesTo vm:vm ;
+ lv2:appliesTo vm:control ;
rdfs:label "Modulo" ;
state:state [
vm:graph [
@@ -458,7 +458,7 @@ vm:mod
vm:pow
a pset:Preset ;
- lv2:appliesTo vm:vm ;
+ lv2:appliesTo vm:control ;
rdfs:label "Power" ;
state:state [
vm:graph [
@@ -473,7 +473,7 @@ vm:pow
vm:dBFS
a pset:Preset ;
- lv2:appliesTo vm:vm ;
+ lv2:appliesTo vm:control ;
rdfs:label "dBFS" ;
lv2:port [
lv2:symbol "control_in_0" ;
@@ -495,7 +495,7 @@ vm:dBFS
vm:rand
a pset:Preset ;
- lv2:appliesTo vm:vm ;
+ lv2:appliesTo vm:control ;
rdfs:label "Random" ;
state:state [
vm:graph [
@@ -515,7 +515,7 @@ vm:rand
vm:sampleAndHold
a pset:Preset ;
- lv2:appliesTo vm:vm ;
+ lv2:appliesTo vm:control ;
rdfs:label "Sample and hold" ;
state:state [
vm:graph [
@@ -534,7 +534,7 @@ vm:sampleAndHold
vm:lfo
a pset:Preset ;
- lv2:appliesTo vm:vm ;
+ lv2:appliesTo vm:control ;
rdfs:label "LFO" ;
state:state [
vm:graph [
diff --git a/vm_ui.c b/vm_ui.c
index 00c7cea..bfd132e 100644
--- a/vm_ui.c
+++ b/vm_ui.c
@@ -294,7 +294,7 @@ _expose(struct nk_context *ctx, struct nk_rect wbounds, void *data)
handle->writer(handle->controller, i + 2, sizeof(float), 0, &handle->in0[i]);
const int old_window = handle->inp[i].window;
- nk_property_int(ctx, "#", 10, &handle->inp[i].window, 100000, 1, 1.f);
+ nk_property_int(ctx, "#ms", 10, &handle->inp[i].window, 100000, 1, 1.f);
if(old_window != handle->inp[i].window)
memset(handle->inp[i].vals, 0x0, sizeof(float)*PLOT_MAX);
}
@@ -482,7 +482,7 @@ _expose(struct nk_context *ctx, struct nk_rect wbounds, void *data)
nk_labelf(ctx, NK_TEXT_LEFT, "Output %u: %+f", i, handle->out0[i]);
const int old_window = handle->outp[i].window;
- nk_property_int(ctx, "#", 10, &handle->outp[i].window, 100000, 1, 1.f);
+ nk_property_int(ctx, "#ms", 10, &handle->outp[i].window, 100000, 1, 1.f);
if(old_window != handle->outp[i].window)
memset(handle->outp[i].vals, 0x0, sizeof(float)*PLOT_MAX);
}