静态Public成员函数
static const MidiMessage noteOn (int channel, int noteNumber, float velocity) throw ()
创建一条“键按下”消息(使用浮点力度值)。
static const MidiMessage noteOn (int channel, int noteNumber, uint8 velocity) throw ()
创建一条“键按下”消息(使用整型力度值)。
static const MidiMessage noteOff (int channel, int noteNumber) throw ()
创建一条“键抬起”消息。
static const MidiMessage programChange (int channel, int programNumber) throw ()
创建一条程序改变消息。
static const MidiMessage pitchWheel (int channel, int position) throw ()
创建一条弯音移动消息。
static const MidiMessage aftertouchChange (int channel, int noteNumber, int aftertouchAmount) throw ()
创建一条触后消息。
static const MidiMessage channelPressureChange (int channel, int pressure) throw ()
创建一个通道压力改变事件。
static const MidiMessage controllerEvent (int channel, int controllerType, int value) throw ()
创建一条控制器消息。
static const MidiMessage allNotesOff (int channel) throw ()
创建一条所有音符关闭消息。
static const MidiMessage allSoundOff (int channel) throw ()
创建一条所有声音关闭消息。
static const MidiMessage allControllersOff (int channel) throw ()
创建一条所有控制器关闭消息。
static const MidiMessage endOfTrack () throw ()
创建一个音轨结束元事件。
static const MidiMessage tempoMetaEvent (int microsecondsPerQuarterNote) throw ()
创建一个速度元事件。
static const MidiMessage timeSignatureMetaEvent (int numerator, int denominator)
创建一个拍号元事件。
static const MidiMessage midiChannelMetaEvent (int channel) throw ()
创建一个MIDI通道元事件。
static const MidiMessage midiStart () throw ()
创建一个MIDI开始事件。
static const MidiMessage midiContinue () throw ()
创建一个MIDI继续事件。
static const MidiMessage midiStop () throw ()
创建一个MIDI停止事件。
static const MidiMessage midiClock () throw ()
创建一个MIDI时钟事件。
static const MidiMessage songPositionPointer (int positionInMidiBeats) throw ()
创建一条“乐曲位置指针”消息。
static const MidiMessage quarterFrame (int sequenceNumber, int value) throw ()
创建一条“四分音符框架”MTC消息。
static const MidiMessage fullFrame (int hours, int minutes, int seconds, int frames, SmpteTimecodeType timecodeType)
创建一条“全音符框架”MTC消息。
static const MidiMessage midiMachineControlCommand (MidiMachineControlCommand command)
创建一条MMC消息。
static const MidiMessage midiMachineControlGoto (int hours, int minutes, int seconds, int frames)
创建一条MMC跳转(goto)消息。
static const MidiMessage masterVolume (float volume)
创建一条总线音量变化消息。
static const MidiMessage createSysExMessage (const uint8 *sysexData, int dataSize)
创建一条系统专用消息。
static int readVariableLengthVal (const uint8 *data, int &numBytesUsed) throw ()
读取整型的MIDI可变长度。
static int getMessageLengthFromFirstByte (const uint8 firstByte) throw ()
基于短MIDI消息的首字节,使用查询表来返回消息长度(单字节、双字节或3字节)。
static const String getMidiNoteName (int noteNumber, bool useSharps, bool includeOctaveNumber, int octaveNumForMiddleC)
返回MIDI音符编号的名称。
static const double getMidiNoteInHertz (int noteNumber, const double frequencyOfA=440.0) throw ()
返回MIDI音符编号的声学频率。
static const String getGMInstrumentName (int midiInstrumentNumber)
返回GM音色库中的标准名称。
static const String getGMInstrumentBankName (int midiBankNumber)
返回GM音色库的库名称。
static const String getRhythmInstrumentName (int midiNoteNumber)
返回第10通道打击乐器的标准音色名称。
static const String getControllerName (int controllerNumber)
返回控制器类型的名称。