1 /* guidedimportmidi.h 2 3 Richard Shann 4 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU Library General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA 18 19 */ 20 21 #ifndef GUIDEDIMPORTMIDI_H 22 #define GUIDEDIMPORTMIDI_H 23 24 #include "smf.h" 25 gint 26 guidedImportMidi (gchar * filename); 27 smf_tempo_t *get_recorded_midi_tempo (gint index); 28 gdouble get_recorded_midi_duration (void); 29 smf_tempo_t *get_recorded_midi_tempo (gint index); 30 gint get_imported_midi_track (gint track); 31 gint get_imported_midi_tracks (void); 32 gint get_current_midi_track (void); 33 gboolean delete_imported_midi (void); 34 gboolean compute_midi_note_durations (void); 35 gboolean midi_is_from_file (void); 36 #endif 37