aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-params.lv2/params.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-15 14:54:08 +0100
committerDavid Robillard <d@drobilla.net>2020-02-16 12:01:54 +0100
commitd5d6a9529d9ee0d5e8d8db96fb0015f0e9222bcf (patch)
tree642798fa0feee0a6aca80b7f85b90c4d582aaa15 /plugins/eg-params.lv2/params.ttl
parent4c650dfeae00cd9af55e24b5a40feec3212c1f99 (diff)
downloadlv2-d5d6a9529d9ee0d5e8d8db96fb0015f0e9222bcf.tar.xz
Make parameter data validate
This is rather annoying, but unfortunately xsd:decimal is not a related type to xsd:float. A future smarter version of the validator will be able to deal with this, but for now we'll have to be explicit and tolerate a bit of unpleasant syntactic noise.
Diffstat (limited to 'plugins/eg-params.lv2/params.ttl')
-rw-r--r--plugins/eg-params.lv2/params.ttl6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/eg-params.lv2/params.ttl b/plugins/eg-params.lv2/params.ttl
index dbcf6aa..931c826 100644
--- a/plugins/eg-params.lv2/params.ttl
+++ b/plugins/eg-params.lv2/params.ttl
@@ -116,11 +116,11 @@ plug:spring
state:state [
plug:int 0 ;
plug:long "0"^^xsd:long ;
- plug:float 0.1234 ;
+ plug:float "0.1234"^^xsd:float ;
plug:double "0e0"^^xsd:double ;
plug:bool false ;
plug:string "Hello, world" ;
plug:path <params.ttl> ;
- plug:spring 0.0 ;
- plug:lfo 0.0
+ plug:spring "0.0"^^xsd:float ;
+ plug:lfo "0.0"^^xsd:float
] .