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

Reproducibility in Science – Why It Matters More Than Ever

Have you ever scrolled past a viral claim online and thought, ‘That sounds true’? Maybe it was a headline about a miracle cure or a diet hack. Or noticed how quickly new ideas spread online – sometimes before anyone has checked if they’re real? From scientific labs to TikTok feeds, we’re constantly asked to decide: What is true? And more often than not, the answer lies in one underappreciated scientific principle – reproducibility.

A Pocket Guide on Dumplings

Who doesn’t love a tight, little meat package? Before the prudes boo me off stage, I’m talking about dumplings. These delectable morsels are found all over the world. In fact, it could be argued that every country or region has their own type of dumpling. Because, when you get down to eat, few things can match that universal, carnal appeal of a mouthful of warm, juicy meat (okay, that was the last one, I promise). While this is by no means an exhaustive list, we’ve selected six scrumptious dumplings to whet your appetite!

Life Against Entropy

Most of us move through life with a quiet certainty that being alive is self-evident. We grow, think, love, worry, plan. We distinguish instinctively between what lives and what does not. A person is alive; a stone is not. A dog is alive; a machine is not. The line feels obvious, until someone asks us to explain it.

Comments are closed for this article!