Changeset fa7c03a for examples


Ignore:
Timestamp:
Jul 13, 2016, 6:37:59 AM (8 years ago)
Author:
topas-rec <topas-rec@web.de>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
fb7db6b
Parents:
652d72d
git-author:
Paul Brossier <topas@web.de> (07/13/16 06:37:59)
git-committer:
topas-rec <topas-rec@web.de> (07/13/16 06:37:59)
Message:

Fixed #62 midi output missing in aubiotrack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/aubiotrack.c

    r652d72d rfa7c03a  
    4141  if ( is_beat && !is_silence ) {
    4242    aubio_wavetable_play ( wavetable );
     43    /* Send tap over midi output */
     44    /* Is called without jack use so ask for jack use */
     45    if (usejack)
     46    {
     47       /* Note on midi clock: Midi clock looks like it is more suitable here,
     48       * but it is send 24 times between the detected bpm which is impossible
     49       * to do since we get here only once per peat.
     50       * Therefore midinote is used as a good workaround.
     51       * Reference:
     52       * http://www.blitter.com/~russtopia/MIDI/~jglatt/tech/midispec/clock.htm */
     53      send_noteon(0, 0);
     54    }
    4355  } else {
    4456    aubio_wavetable_stop ( wavetable );
Note: See TracChangeset for help on using the changeset viewer.