GodotGarden / piano-practice

A simple piano practice game.
Apache License 2.0
1 stars 0 forks source link

Display Played Note Names and Pitch Classes Above Piano Display #8

Closed brylie closed 9 months ago

brylie commented 9 months ago

To enhance our piano learning tool's educational value and user interaction, we propose adding a feature to display played note names and pitch classes. This feature will show the names of the notes being played (including the octave) in real time in the grey area above the piano display. We could also display pitch classes for each note, which can aid in musical and harmonic analysis, such as determining chords or intervals.

Objectives

Implementation Details

  1. Note Name Generation: Develop a system to translate MIDI note numbers into corresponding names and octaves.
  2. Pitch Class Calculation: Optionally, include logic to calculate and display the pitch class for each note.
  3. User Interface: Design a section in the grey area above the piano keys where these names and classes will be displayed.
  4. Dynamic Updating: Ensure this area updates in real-time as notes are played, with a clear and legible font.

Requirements

Impact

Next Steps