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

The Legacy of Press Freedom

At this year’s Mabel Strickland Memorial Lecture, international negotiator and mediator Nomi Bar-Yaacov argued that democracies are entering a period in which the crisis extends beyond censorship or attacks on journalists alone. As wars multiply, trust in institutions weakens, and information becomes increasingly mediated through algorithmic systems, the deeper problem may be that societies are losing their ability to agree on what is true in the first place.

Squeezing Out Waste: Transforming Malta’s Olive Waste into Green Goods

While olive oil production generates vast amounts of nutrient-rich waste, approximately 98% of the antioxidant-rich phenolics in olives are lost during oil extraction. To combat rapid degradation, the OliveGREEN team is exploring a novel strategy using sulphur dioxide and enzymes to stabilise olive pomace. THINK speaks with Dr Frederick Lia to learn why saving this discarded byproduct makes a difference.

More Than Four Walls: The Influence of the Library Space on Student Wellbeing

Academic libraries are often framed as quiet repositories of knowledge, but their influence runs deeper. As student mental health concerns intensify, these spaces are emerging as critical environments for connection, comfort, and care. Beyond books and databases, the design, atmosphere, and activities of a library can shape how students feel, cope, and belong within the wider university experience.

Comments are closed for this article!