noteOn method

  1. @override
void noteOn(
  1. int pitch,
  2. int velocity,
  3. double beat
)
override

Uma tecla apertada em beat (tempo da forma, já descontada a latência).

Implementation

@override
void noteOn(int pitch, int velocity, double beat) {
  final entry = this.entry;
  if (entry == null || entry.contains(beat)) {
    session.noteOn(pitch, velocity, beat);
    return;
  }
  _early(beat);
}