projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4adefa
)
examples/aubiotrack.c: synth only when need be
author
Paul Brossier
<piem@piem.org>
Sat, 28 Dec 2013 23:40:33 +0000
(19:40 -0400)
committer
Paul Brossier
<piem@piem.org>
Sat, 28 Dec 2013 23:40:33 +0000
(19:40 -0400)
examples/aubiotrack.c
patch
|
blob
|
history
diff --git
a/examples/aubiotrack.c
b/examples/aubiotrack.c
index
5e1be66
..
8bae20d
100644
(file)
--- a/
examples/aubiotrack.c
+++ b/
examples/aubiotrack.c
@@
-35,6
+35,7
@@
void process_block(fvec_t * ibuf, fvec_t *obuf) {
is_beat = fvec_get_sample (tempo_out, 0);
if (silence_threshold != -90.)
is_silence = aubio_silence_detection(ibuf, silence_threshold);
+ if ( !usejack && ! sink_uri ) return;
fvec_zeros (obuf);
if ( is_beat && !is_silence ) {
aubio_wavetable_play ( wavetable );