public MetaEventText(int aDelta, byte aType, ByteArray byteArray) : base(aDelta, aType) { int length = MtrkChunk.GetVariableLengthByte(byteArray); text = byteArray.ReadString(length); }
public MidiEventSystemExclusive(int aDelta, byte aState, ByteArray aByteArray) : base(aDelta, aState, 0, 0) { length = MtrkChunk.GetVariableLengthByte(aByteArray); dataArray = new byte[length]; for (int i = 0; i < length; i++) { dataArray[i] = aByteArray.ReadByte(); } }