Sherry’s status report for 12/02

Over thanksgiving, I found out that the mouse click processed based on the location on the screen. While it is possible to hardcode some of the buttons we want with mimicking a click at a specific location, the sheet music rescales as more notes are being added, so it become essentially impossible to hardcode that. After discussing this issue with the TA and my teammates, we found out that MuseScore has built in keyboard shortcuts that I can use.

This week I looked into how these keyboard presses are implemented, and find out they are implemented through the Qt package that I installed to run the application with. I read the official documentation because unfortunately the application does not make the function call to the function I want to be calling in my code, and the package all come in executable format. I was able to find out how to call the function, but is unable to verify if that is correct yet.

I finished implementing the algorithm part in my code, and tested it with some sample test cases. It now outputs a line saying which note, note type (e.g. whole) is being pressed for (lightly, medium, hard) on command line, and this also gets written to an output file in real time so the data can be saved.

I had a meeting with Olek where we integrated our separate parts of the code together, that went relatively smooth and we can now read in inputs from the pi (currently randomly generated) and convert that to outputs in the command line through my code.

I tried to compile my part of the code with the application, but the application compilation is too complicated and I have not made significant progress on how to modify the make file to make everything integrated correctly.

Next week I will be focusing on working on the final presentation (on Sunday) as I am the main presenter for this presentation. I will also keep working on integration with the MuseScore application, if not trying to rescope the project for an alternative solution. I am not as on schedule as I would like as the application turns out to be much different than I expected, but I am relatively happy with what I have so far in terms of having the code I wrote working correctly.

Leave a Reply

Your email address will not be published. Required fields are marked *