aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipe Coelho <falktx@falktx.com>2020-11-28 14:17:28 +0000
committerDavid Robillard <d@drobilla.net>2020-12-18 10:06:20 +0100
commit5621caa6f182389c100855266abd3deca3369165 (patch)
treea59c0c80cc1b3df46df29ac78d1faca58c5ba473
parent326ecdf238921dc12645f2c31f4882499a387aa0 (diff)
downloadlv2-5621caa6f182389c100855266abd3deca3369165.tar.xz
eg-sampler: Fix default gain value
The initial gain coefficient in the code is 1.0 (full volume). The parameter itself is in dB, though, so the matching external default value is zero.
-rw-r--r--plugins/eg-sampler.lv2/sampler.ttl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg-sampler.lv2/sampler.ttl b/plugins/eg-sampler.lv2/sampler.ttl
index f5088f3..4a3c24c 100644
--- a/plugins/eg-sampler.lv2/sampler.ttl
+++ b/plugins/eg-sampler.lv2/sampler.ttl
@@ -58,7 +58,7 @@
] ;
state:state [
<http://lv2plug.in/plugins/eg-sampler#sample> <click.wav> ;
- param:gain "1.0"^^xsd:float
+ param:gain "0.0"^^xsd:float
] .
<http://lv2plug.in/plugins/eg-sampler#ui>