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 type file pointed to by midifile for processing. This file
18 must be in HMP, HMI, MIDI, or XMIDI 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 referring to.
24
26 WildMidi_GetVersion(3), WildMidi_Init(3), WildMidi_MasterVolume(3),
27 WildMidi_OpenBuffer(3), WildMidi_SetOption(3), WildMidi_GetOutput(3),
28 WildMidi_GetMidiOutput(3), WildMidi_GetInfo(3), WildMidi_FastSeek(3),
29 WildMidi_Close(3), WildMidi_Shutdown(3), wildmidi.cfg(5)
30
32 Chris Ison <chrisisonwildcode@gmail.com> Bret Curtis <psi29a@gmail.com>
33
35 Copyright (C) WildMidi Developers 2001-2016
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 10 March 2016 WildMidi_Open(3)