⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 importmidi.h

📁 Audacity是一款用於錄音和編輯聲音的、免費的開放源碼軟體。它可以執行於Mac OS X、Microsoft Windows、GNU/Linux和其它作業系統
💻 H
字号:
/**********************************************************************  Audacity: A Digital Audio Editor  ImportMIDI.h  Dominic Mazzoni**********************************************************************/#ifndef _IMPORT_MIDI_#define _IMPORT_MIDI_class NoteTrack;bool ImportMIDI(wxString fName, NoteTrack * dest);class MIDIParser { public:   MIDIParser();   void Parse();   unsigned char *buffer;   int bufferLen;   int index;   NoteTrack *noteTrack;   int midifile_error;   int keys[16][128];   int division;   double tempo; private:   int check_aborted(void);   int Mf_getc(void);   void Mf_error(char *);   void Mf_on(int, int, int);   void Mf_off(int, int, int);   void Mf_header(int, int, int);   void Mf_tempo(int);   void Mf_starttrack(void) {}   void Mf_endtrack(void) {}   void Mf_eot(void) {}   void Mf_pressure(int, int, int) {}   void Mf_controller(int, int, int) {}   void Mf_pitchbend(int, int, int) {}   void Mf_program(int, int) {}   void Mf_chanpressure(int, int) {}   void Mf_sysex(int, char *) {}   void Mf_arbitrary(int, char *) {}   void Mf_metamisc(int, int, char *) {}   void Mf_seqnum(int) {}   void Mf_smpte(int, int, int, int, int) {}   void Mf_timesig(int, int, int, int) {}   void Mf_keysig(int, int) {}   void Mf_sqspecific(int, char *) {}   void Mf_text(int, int, char *) {}   int Mf_nomerge;              /* 1 => continue'ed system exclusives are */   /* not collapsed. */   long Mf_currtime;            /* current time in delta-time units */   int Mf_skipinit;   long Mf_toberead;   int abort_flag;   long readvarinum(void);   long read32bit(void);   int read16bit(void);   void msgenlarge(void);   char *msg(void);   int readheader(void);   void readtrack(void);   void sysex(void);   void msginit(void);   int egetc(void);   int msgleng(void);   int readmt(char *, int);   long to32bit(int, int, int, int);   int to16bit(int, int);   void mferror(char *);   void badbyte(int);   void metaevent(int);   void msgadd(int);   void chanmessage(int, int, int);   char *Msgbuff;               /* message buffer */   int Msgsize;                 /* Size of currently allocated Msg */   int Msgindex;                /* index of next available location in Msg */};#endif// Indentation settings for Vim and Emacs and unique identifier for Arch, a// version control system. Please do not modify past this point.//// Local Variables:// c-basic-offset: 3// indent-tabs-mode: nil// End://// vim: et sts=3 sw=3// arch-tag: 1c1567af-94d4-498f-aa80-5eaa570021b5

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -