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
/
aubionotes.c
diff --git
a/examples/aubionotes.c
b/examples/aubionotes.c
index
5b3c44e
..
36179a9
100644
(file)
--- a/
examples/aubionotes.c
+++ b/
examples/aubionotes.c
@@
-72,7
+72,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 (lastmidi, 0);
+ if (usejack) {
+ send_noteon (lastmidi, 0);
+ }
del_aubio_notes (notes);