Exemple #1
0
            public void PolyphonicKeyPressureEvent()
            {
                var  ticks      = 45212u;
                byte channel    = 15;
                byte noteNumber = 125;
                byte pressure   = 21;

                var x = new PolyphonicKeyPressureEvent(ticks, channel, noteNumber, pressure);
                var y = ReDeserialize(x);

                Assert.That(x.Ticks == y.Ticks);
                Assert.That(x.Channel == y.Channel);
                Assert.That(x.noteNumber == y.noteNumber);
                Assert.That(x.pressure == y.pressure);
            }
 public PolyphonicKeyPressureEventLabel(PolyphonicKeyPressureEvent polyphonicKeyPressureEvent) : base(
         polyphonicKeyPressureEvent)
 {
 }