yPosition method

double yPosition(
  1. Note note
)

A Note's center's y position on a chart

Implementation

double yPosition(Note note) => (note.string - 1) * stringSpacing;