1WildMidi_Open(3) WildMidi Programmer's Manual WildMidi_Open(3)
2
3
4
6 WildMidi_Open - Open a midi file for processing
7
9 libWildMidi
10
12 #include <wildmidi_lib.h>
13
14 midi *WildMidi_Open (const char *midifile)
15
17 Open a MIDI file pointed to by midifile for processing. This file must
18 be in standard midi format.
19
21 Returns NULL on error and sends a message to stderr, otherwise returns
22 a handle for the midi file opened. This handle is used by most func‐
23 tions in libWildMidi to identify which midi file we are refering to.
24
26 WildMidi_GetString(3), WildMidi_Init(3), WildMidi_MasterVolume(3),
27 WildMidi_OpenBuffer(3), WildMidi_SetOption(3), WildMidi_GetOutput(3),
28 WildMidi_GetInfo(3), WildMidi_FastSeek(3), WildMidi_Close(3), Wild‐
29 Midi_Shutdown(3), wildmidi(1), wildmidi.cfg(5)
30
32 Chris Ison <wildcode@users.sourceforge.net>
33
35 Copyright (C) Chris Ison 2001-2010
36
37 This file is part of WildMIDI.
38
39 WildMIDI is free software: you can redistribute and/or modify the
40 player under the terms of the GNU General Public License and you can
41 redistribute and/or modify the library under the terms of the GNU
42 Lesser General Public License as published by the Free Software Founda‐
43 tion, either version 3 of the licenses, or(at your option) any later
44 version.
45
46 WildMIDI is distributed in the hope that it will be useful, but WITHOUT
47 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
48 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
49 and the GNU Lesser General Public License for more details.
50
51 You should have received a copy of the GNU General Public License and
52 the GNU Lesser General Public License along with WildMIDI. If not, see
53 <http://www.gnu.org/licenses/>.
54
55 This manpage is licensed under the Creative Commons Attribution-Share
56 Alike 3.0 Unported License. To view a copy of this license, visit
57 http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Cre‐
58 ative Commons, 171 Second Street, Suite 300, San Francisco, California,
59 94105, USA.
60
61 05 June 2010 WildMidi_Open(3)