private void AddDefaultTimeSignature()
 {
     Builders.TimeSignatureBuilder timeSignatureBuilder = new Builders.TimeSignatureBuilder();
     timeSignatureBuilder.WithCount(4);
     timeSignatureBuilder.WithDenominator(4);
     currentTimeSignature = timeSignatureBuilder.Build();
     composition.Tokens.Add(currentTimeSignature);
 }
        private void ProcessTimeSignatureMessage(MidiEvent evt, MetaMessage msg)
        {
            var msgBytes    = msg.GetBytes();
            int count       = msgBytes[0];
            int denominator = (int)Math.Pow(msgBytes[1], 2);

            Builders.TimeSignatureBuilder timeSignatureBuilder = new Builders.TimeSignatureBuilder();
            timeSignatureBuilder.WithCount(count);
            timeSignatureBuilder.WithDenominator(denominator);
            currentTimeSignature = timeSignatureBuilder.Build();
            composition.Tokens.Add(currentTimeSignature);
        }