public void ReadTremoloBarEffect(Beat beat)
{
Data.ReadByte(); // type
ReadInt32(); // value
var pointCount = ReadInt32();
if (pointCount > 0)
{
for (int i = 0; i < pointCount; i++)
{
var point = new BendPoint();
point.Offset = ReadInt32(); // 0...60
point.Value = ReadInt32() / BendStep; // 0..12 (amount of quarters)
ReadBool(); // vibrato
beat.AddWhammyBarPoint(point);
}
}
}