Exemple #1
0
 public PitchBendEvent(byte channel, PitchWheelStep pitchWheelStep) : this(channel, (short)pitchWheelStep)
 {
 }
 /// <summary>Initialize the Controller MIDI event message.</summary>
 /// <param name="deltaTime">The delta-time since the previous message.</param>
 /// <param name="channel">The channel to which to write the message (0 through 15).</param>
 /// <param name="steps">The amount of pitch change to apply.</param>
 public PitchWheelVoiceMidiEvent(long deltaTime, byte channel, PitchWheelStep steps) :
     this(deltaTime, channel, (int)steps)
 {
 }
 /// <summary>Initialize the Controller MIDI event message.</summary>
 /// <param name="owner">The track that owns this event.</param>
 /// <param name="deltaTime">The delta-time since the previous message.</param>
 /// <param name="channel">The channel to which to write the message (0 through 15).</param>
 /// <param name="steps">The amount of pitch change to apply.</param>
 public PitchWheelVoiceMidiEvent(MidiTrack owner, long deltaTime, byte channel, PitchWheelStep steps) :
     this(owner, deltaTime, channel, (int)steps)
 {
 }