home *** CD-ROM | disk | FTP | other *** search
/ Da Capo / da_capo_vol1.bin / programs / amiga / midi / midi_playground / sourcecode / midi.h < prev    next >
C/C++ Source or Header  |  1993-01-23  |  1KB  |  35 lines

  1. #ifndef _MIDI_H
  2. #define _MIDI_H    1
  3.  
  4. /***************************************************************************
  5.  * MIDI values that are independent of any particular synthesizer.
  6.  ***************************************************************************/
  7.  
  8. /***************************************************************************
  9.  * Some system-exclusive message constants.
  10.  ***************************************************************************/
  11.  
  12. #define    SYSEX_BEGIN    0xF0
  13. #define    SYSEX_END    0xF7
  14.  
  15. /***************************************************************************
  16.  * Allow use of MIDI interfaces not attached to the internal serial port,
  17.  * unit 0.  Here are the defaults.
  18.  ***************************************************************************/
  19.  
  20. #define    DEFAULT_MIDI_DEVICE    "serial.device"
  21. #define    DEFAULT_MIDI_UNIT    0
  22. #define    MIDI_ENV_VAR        "MP_MIDI_DEVICE"
  23.  
  24. #define    MIDI_BAUD_RATE        31250
  25.  
  26. #ifndef CTRL_C_NO_BYTES
  27. #define CTRL_C_NO_BYTES        (-1)
  28. #endif
  29.  
  30. /***************************************************************************
  31.  * End of this header file.
  32.  ***************************************************************************/
  33.  
  34. #endif /* _MIDI_H */
  35.