source: examples/midialsa.c @ 96fb8ad

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 96fb8ad was 96fb8ad, checked in by Paul Brossier <piem@altern.org>, 20 years ago

import 0.1.7.1

  • Property mode set to 100644
File size: 364 bytes
Line 
1/* __copyright__ */
2
3#include "aubio.h"
4#include <unistd.h>
5
6int main(int argc, char **argv) {
7#if ALSA_SUPPORT
8  aubio_midi_player_t * mplay = new_aubio_midi_player();
9  aubio_midi_driver_t * mdriver = new_aubio_midi_driver("alsa_seq",
10    (handle_midi_event_func_t)aubio_midi_send_event, mplay);
11  pause();
12  del_aubio_midi_driver(mdriver);
13#endif
14  return 0;
15}
Note: See TracBrowser for help on using the repository browser.