00001 /* 00002 $Id: midiTranslation.h 1382 2001-07-02 16:59:08Z sbrandon $ 00003 Defined In: The MusicKit 00004 */ 00005 /* 00006 Modification history: 00007 00008 $Log$ 00009 Revision 1.3 2001/07/02 16:57:16 sbrandon 00010 - commented out cruft after endif 00011 00012 Revision 1.2 1999/07/29 01:26:06 leigh 00013 Added Win32 compatibility, CVS logs, SBs changes 00014 00015 */ 00016 #ifndef __MK_midiTranslation_H___ 00017 #define __MK_midiTranslation_H___ 00018 #ifndef MIDITRANS_H 00019 #define MIDITRANS_H 00020 00021 /* Music Kit-to-MIDI translation */ 00022 extern void MKSetInclusiveMidiTranslation(BOOL yesOrNo); 00023 /* Sets whether strict MIDI semantics are assumed for incoming 00024 * MIDI or Standard MIDI files (the default). For example, 00025 * key pressure and noteOffs for keys that are not on are filtered out. 00026 * Calling MKSetInclusiveMidiTranslation(YES) relaxes these 00027 * retrictions. 00028 */ 00029 extern BOOL MKGetInclusiveMidiTranslation(void); 00030 /* Returns value set with the above function. */ 00031 00032 #endif /* MIDITRANS_H */ 00033 #endif