centsDeviation property

double get centsDeviation

Retorna o intervalo em cents da nota temperada mais próxima

Implementation

double get centsDeviation {
  final semitoneDeviation = alter - alter.round();
  return semitoneDeviation * 100.0; // 100 cents = 1 semitom
}