require '_h2ph_pre.ph';

unless(defined(&_SYS_DEV_MIDIVAR_H_)) {
    eval 'sub _SYS_DEV_MIDIVAR_H_ () {1;}' unless defined(&_SYS_DEV_MIDIVAR_H_);
    eval 'sub MIDI_BUFSIZE () {1024;}' unless defined(&MIDI_BUFSIZE);
    require 'sequencer.ph';
    eval 'sub MIDI_MAX_WRITE () {32;}' unless defined(&MIDI_MAX_WRITE);
    eval 'sub MIDI_WAIT () {10000;}' unless defined(&MIDI_WAIT);
    eval 'sub MIDI_IN_START () {0;}' unless defined(&MIDI_IN_START);
    eval 'sub MIDI_IN_DATA () {1;}' unless defined(&MIDI_IN_DATA);
    eval 'sub MIDI_IN_SYSEX () {2;}' unless defined(&MIDI_IN_SYSEX);
    if((defined(&NSEQUENCER) ? &NSEQUENCER : 0) > 0) {
    }
    eval 'sub MIDIUNIT {
        local($d) = @_;
	    eval q((($d) & 0xff));
    }' unless defined(&MIDIUNIT);
}
1;
