feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 33bf500 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:
1.1 KB
|
Rev | Line | |
---|
[96fb8ad] | 1 | /* |
---|
| 2 | copyright (c) 2003 paul brossier |
---|
| 3 | |
---|
| 4 | this program is free software; you can redistribute it and/or modify |
---|
| 5 | it under the terms of the gnu general public license as published by |
---|
| 6 | the free software foundation; either version 2 of the license, or |
---|
| 7 | (at your option) any later version. |
---|
| 8 | |
---|
| 9 | this program is distributed in the hope that it will be useful, |
---|
| 10 | but without any warranty; without even the implied warranty of |
---|
| 11 | merchantability or fitness for a particular purpose. see the |
---|
| 12 | gnu general public license for more details. |
---|
| 13 | |
---|
| 14 | you should have received a copy of the gnu general public license |
---|
| 15 | along with this program; if not, write to the free software |
---|
| 16 | foundation, inc., 675 mass ave, cambridge, ma 02139, usa. |
---|
| 17 | |
---|
| 18 | */ |
---|
| 19 | |
---|
| 20 | #include "aubio.h" |
---|
| 21 | #include <unistd.h> |
---|
| 22 | |
---|
| 23 | int main(int argc, char ** argv) { |
---|
| 24 | #if ALSA_SUPPORT |
---|
| 25 | aubio_midi_player_t * mplay = new_aubio_midi_player(); |
---|
| 26 | argc--; |
---|
| 27 | aubio_midi_player_add(mplay,argv[argc]); |
---|
| 28 | while(aubio_midi_player_play_offline(mplay) == 0) |
---|
| 29 | pause(); |
---|
| 30 | aubio_midi_player_stop(mplay); |
---|
| 31 | del_aubio_midi_player(mplay); |
---|
| 32 | #endif |
---|
| 33 | return 0; |
---|
| 34 | } |
---|
| 35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.