release method

  1. @override
void release(
  1. int pitch, {
  2. double atSeconds = 0,
})
override

Solta a tecla pitch.

Implementation

@override
void release(int pitch, {double atSeconds = 0}) {
  _held.soltou(pitch);
  _notes.add(
    PlayedNote(
      pitch: pitch,
      velocity: 0,
      channel: 0,
      on: false,
      atSeconds: atSeconds,
    ),
  );
}