private static TimedEvent GetTimeSignatureTimedEvent(ValueChange <TimeSignature> timeSignatureChange) { Debug.Assert(timeSignatureChange != null); var timeSignature = timeSignatureChange.Value; return(new TimedEvent(new TimeSignatureEvent((byte)timeSignature.Numerator, (byte)timeSignature.Denominator), timeSignatureChange.Time)); }