Skip to content

Computer, Help Me Play

Facebook
Twitter
LinkedIn

By Luke Camilleri

Homework can sometimes be more of a hindrance than a help. While learning to play an instrument, students are given pieces of music by their teacher to practice at home. Home practice leads to mistakes which are difficult to correct. New students struggle to recognise errors and this could discourage them from continuing their studies.

Luke Camilleri (supervised by Alexandra Bonnici) investigated a computer tool which evaluates students’ performance of a music piece by comparing it with a pre-recording made by their teacher. The music tutor tool worked with a piano. Its objectives are two-fold: firstly, it detects mistakes done in both the pitch and rhythm, and secondly, it helps students self-assess their playing through a computer interface.

Luke-Camilleri
Luke Camilleri

The student’s playing is recorded as an audio signal to which signal processing techniques were applied. Signal processing extracts the main features of a signal. These included information about the pitch and rhythmic qualities of the music being played. Understanding the makeup of the sound waves can help determine the notes played. Detecting the beginning of new notes can identify whether the student is playing in time. In this way, the student’s and teacher’s performances may be compared to identify any differences. Since students have the tendency to repeat notes played badly, the two audio signals are not so easy to compare. Various techniques (non-negative matrix factorisation and dynamic time warping) were used to obtain an optimal alignment of the two signals for more accurate comparison of pitch and rhythm.

The tutor’s interface was designed to help students improve their ability to identify a mistake. It identified bar sections (sections of music) that contained errors asking the student to repeat that section. This lets the student identify their errors. Additional hints are given if mistakes are repeated.

The music tutor was assessed with a student in the early stages of tuition. She was asked to play a piece of music she had never seen before. The prototype identified mistakes that the student had initially failed to recognise. It helped her learn how to play the piece correctly. The tool can be improved by allowing the student to practice music with both hands. Homework could soon be reinvented with computers providing help to those that need it the most.


This research was carried out as part of a Bachelor in Engineering at the Faculty of Engineering, University
of Malta.

Author

More to Explore

Beyond Books: The UM Library as a Hub for Connection

In a time when academic life can feel overwhelmingly digital and impersonal, libraries are trying to step up to create something invaluable – a community. University libraries, which used to be primarily quiet spaces with towering bookshelves, are now reinventing themselves as inclusive ‘third places’. The University of Malta Library interns offer THINK an insight into how the Library is becoming a third place on Campus.

Our Post-Truth Reality

Post-truth populism has secured a powerful mandate in the United States of America. This reflects a trend that extends through the world’s liberal democracies and will invite global imitation. In this opinion piece, Jonathan Firbank describes how post-truth populism works, why it works, and why the American election might show us how to fight it.

AGORA: Elections 2024 – Youth Absence and the Far Right Surge

During the run-up to the European Parliament Elections, Prof. Mario Thomas Vassallo grilled two MEP candidates on AGORA, a political talk show broadcast on Campus 103.7. Against the backdrop of numerous elections around the globe, a lack of youth representation, and the rise of the far right, the discussion got us thinking.

Comments are closed for this article!