2 copyright (c) 2003 paul brossier
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.
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.
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.
23 int main(int argc, char ** argv) {
25 aubio_midi_player_t * mplay = new_aubio_midi_player();
27 aubio_midi_player_add(mplay,argv[argc]);
28 while(aubio_midi_player_play_offline(mplay) == 0)
30 aubio_midi_player_stop(mplay);
31 del_aubio_midi_player(mplay);