Changeset 1186c98 for examples


Ignore:
Timestamp:
Dec 11, 2016, 4:04:17 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
Children:
ab7212f
Parents:
90581a8
Message:

examples/: only send a last note off when using jack

Location:
examples
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • examples/aubionotes.c

    r90581a8 r1186c98  
    7373
    7474  // send a last note off
    75   send_noteon (lastmidi, 0);
     75  if (usejack) {
     76    send_noteon (lastmidi, 0);
     77  }
    7678
    7779  del_aubio_notes (notes);
  • examples/aubioonset.c

    r90581a8 r1186c98  
    8585
    8686  // send a last note off
    87   send_noteon (miditap_note, 0);
     87  if (usejack) {
     88    send_noteon (miditap_note, 0);
     89  }
    8890
    8991  del_aubio_onset (o);
  • examples/aubiotrack.c

    r90581a8 r1186c98  
    8989
    9090  // send a last note off
    91   send_noteon (miditap_note, 0);
     91  if (usejack) {
     92    send_noteon (miditap_note, 0);
     93  }
    9294
    9395  del_aubio_tempo(tempo);
Note: See TracChangeset for help on using the changeset viewer.