Piano Tutor

In the last chapter, we explored most of the common options available for the Canvas widget. Let's now see the PhotoImage widget in action.

Let's build a program called Piano Tutor. This program will help new piano players identify musical scales, chords, and chord progressions. It will also help piano learners learn and identify music written on music sheets. People with some musical knowledge will feel right at home, but do not worry if you know nothing about piano or musical terms such as scales, chords, and chord progressions. We will cover the bare minimum of musical know-how as we progress.

In its final form, the program looks as follows:

The Piano Tutor will have three broad sections that can be selected from the topmost drop-down menu. They are as follows:

  • Scale Finder
  • Chord Finder
  • Chord Progression Builder

Some of the key objectives of this chapter are:

  • Getting to understand some important methods defined on the root window
  •  Using the PhotoImage widget class
  • Practical applications of the Place geometry manager
  • Understanding grid weights
  • Learning how to work with seemingly complex ideas such as representing musical knowledge in a fashion that computers can understand
  • Using JSON to store data
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.21.159.82