projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/: only send a last note off when using jack
[aubio.git]
/
examples
/
aubioonset.c
diff --git
a/examples/aubioonset.c
b/examples/aubioonset.c
index
bf996a4
..
03bab5b
100644
(file)
--- a/
examples/aubioonset.c
+++ b/
examples/aubioonset.c
@@
-84,7
+84,9
@@
int main(int argc, char **argv) {
examples_common_process((aubio_process_func_t)process_block, process_print);
// send a last note off
- send_noteon (miditap_note, 0);
+ if (usejack) {
+ send_noteon (miditap_note, 0);
+ }
del_aubio_onset (o);
del_aubio_wavetable (wavetable);