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

I Will Continue to Follow the Ship

Curated by Elyse Tonna with artist Dr Matthew Attard, ‘The Ship (Unseen)’ delivers the same brilliance and deep artistic intent which Attard, Tonna, and the rest of the team had been praised for during the 60th Venice Biennale. In 2025, the two sought to continue building on the themes of connection, identity, and memory established in ‘I Will Follow the Ship’, making use once again of that iconic, ever-moving, web-like linework.

AMBER: Stretching the Boundaries of Sustainable Rubber

Think about the rubber parts in your car, your shoes, or your household appliances. Traditionally, making rubber is an incredibly energy-intensive process that relies on ‘vulcanisation’ – a method that uses high temperatures and produces harmful emissions to make the material durable. But what if high-performance rubber could be eco-friendly and 3D-printed on demand?

Islam and Dance – A Contradiction?

When you think about Islam, do you think about dance? When you think about dance, do you imagine it as a part of meditation? THINK speaks to Ziya Azazi, founder of Dervish in Progress, and Dr Paula Guzzanti Ferrer from the Department of Dance Studies to uncover the fascinating connection between dance and Islam.

Comments are closed for this article!