public void read(BinaryReader r) { this.NoteMask = new UInt32[6]; for (int i = 0; i < 6; i++) { this.NoteMask[i] = r.ReadUInt32(); } this.BendData = new BendData[6]; for (int i = 0; i < 6; i++) { BendData obj = new BendData(); obj.read(r); this.BendData[i] = obj; } this.SlideTo = r.ReadBytes(6); this.SlideUnpitchTo = r.ReadBytes(6); this.Vibrato = new Int16[6]; for (int i = 0; i < 6; i++) { this.Vibrato[i] = r.ReadInt16(); } }
public void read(EndianBinaryReader r) { NoteMask = new UInt32[6]; for (int i = 0; i < 6; i++) { NoteMask[i] = r.ReadUInt32(); } BendData = new BendData[6]; for (int i = 0; i < 6; i++) { var obj = new BendData(); obj.read(r); BendData[i] = obj; } SlideTo = r.ReadBytes(6); SlideUnpitchTo = r.ReadBytes(6); Vibrato = new Int16[6]; for (int i = 0; i < 6; i++) { Vibrato[i] = r.ReadInt16(); } }
public void read(EndianBinaryReader r) { NoteMask = new UInt32[6]; for (int i = 0; i < 6; i++) NoteMask[i] = r.ReadUInt32(); BendData = new BendData[6]; for (int i = 0; i < 6; i++) { var obj = new BendData(); obj.read(r); BendData[i] = obj; } SlideTo = r.ReadBytes(6); SlideUnpitchTo = r.ReadBytes(6); Vibrato = new Int16[6]; for (int i = 0; i < 6; i++) Vibrato[i] = r.ReadInt16(); }
public void read(BinaryReader r) { this.NoteMask = new UInt32[6]; for (int i=0; i<6; i++) this.NoteMask[i] = r.ReadUInt32(); this.BendData = new BendData[6]; for (int i=0; i<6; i++) { BendData obj = new BendData(); obj.read(r); this.BendData[i] = obj; } this.SlideTo = r.ReadBytes(6); this.SlideUnpitchTo = r.ReadBytes(6); this.Vibrato = new Int16[6]; for (int i=0; i<6; i++) this.Vibrato[i] = r.ReadInt16(); }