GSoC 2016 - Week 7 - Submitting the code

Posted 8 years ago

This was my seventh week working on note entry with MuseScore for Google Summer of Code. Last week submitted a pull request containing the first part of my code to prepare the user interface for the new note entry modes. This week I prepared a second pull request to implement the new modes.

This week’s summary:

  • Basic implementation of each new note entry mode
  • Further improvements to the UI

Still to do:

  • Improve performance of auto mode
  • More sophisticated algorithm for handling voices and rhythms

Improvements

While preparing the code for the pull request I did manage to make a few improvements to the new modes. Most of the improvements were fixing small bugs, removing unnecessary steps to improve performance, and generally tidying the code to make it easier to read, but there are some things that are new. For example, rhythm mode now takes the current clef and key signature into account when adding notes to the score. When the user chooses a duration the note that gets added is whatever note is represented by the middle staff line (i.e. a B in Treble Clef, or a “D” in Bass Clef).