diff options
author | David Robillard <d@drobilla.net> | 2016-10-05 05:31:53 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-05 05:32:48 -0400 |
commit | 741586ae2aa4f928296a2b4c2dc03830ffaff833 (patch) | |
tree | 03bafdaa5d0f36cca955a01f47d183175cc0cf9c /plugins/eg-sampler.lv2/sampler.ttl | |
parent | c938afee2c84c02d6a5b9c799363441cff20ebf0 (diff) | |
download | lv2-741586ae2aa4f928296a2b4c2dc03830ffaff833.tar.xz |
Write output between events with sample accuracy
This is closer to how a non-toy plugin should work, and importantly
demonstrates the proper way to emit audio while processing events. In
particular, this approach makes sample-accurate session export possible
(thanks to the sychronous possibilities of the worker).
Diffstat (limited to 'plugins/eg-sampler.lv2/sampler.ttl')
-rw-r--r-- | plugins/eg-sampler.lv2/sampler.ttl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/eg-sampler.lv2/sampler.ttl b/plugins/eg-sampler.lv2/sampler.ttl index c6103a3..7672dba 100644 --- a/plugins/eg-sampler.lv2/sampler.ttl +++ b/plugins/eg-sampler.lv2/sampler.ttl @@ -56,7 +56,8 @@ lv2:name "Out" ] ; state:state [ - <http://lv2plug.in/plugins/eg-sampler#sample> <click.wav> + <http://lv2plug.in/plugins/eg-sampler#sample> <click.wav> ; + <http://lv2plug.in/plugins/eg-sampler#gain> 1.0 ] . <http://lv2plug.in/plugins/eg-sampler#ui> |