charliewild
8th January 2023

The science behind music production

Science and music might seem unrelated, but physics is the key to all of our favourite songs and bands
The science behind music production
Photo: Namroud Gorguis @ Unsplash

Science has always played a role in the development of music. For example, the science of standing waves was vital to the invention of stringed instruments, like violins and guitars.

In the age of home recording studios, digital instruments, and sound effects, science is still just as important, if not even more crucial, in the production of music.

Digital instruments

One of the most influential advancements in music production is the creation of digital synthesizers. These are digital instruments that can be programmed to sound like any instrument. They can be controlled by external keyboards, where someone plays the keys and the sound produced is as if a different instrument, like a saxophone, were playing the same note. These allow cheap access to many different sounds and tones without needing expensive instruments or the skills to play them.

How can we manipulate sound to get the same tone (also called timbre) as a real instrument? The answer lies in understanding why different instruments sound different when playing the same note. When the same note is played on a piano or a violin, for example, the sound is very different despite the note being the same. The reason can be explained using wave physics.

Picture a sound wave smoothly sweeping up and down from peak to trough, over a fixed time period, repeating itself. The length of this period determines the frequency or pitch of the sound, and the height of the peaks and troughs (the amplitude) determines its volume.

In a real instrument producing a note of specific pitch, a wave that resembles this smooth sine wave is produced. However, due to the structure of the instrument, other frequency waves are also produced and are present in the sound wave. These are much quieter, having lower amplitudes. These low amplitude additional waves have the effect of slightly modulating the shape of the sound wave while leaving the overall frequency, therefore pitch, unchanged.

Different instruments will produce different additional frequencies, therefore modulating the overall wave in a different way. This gives rise to the unique tones of instruments. In short, a C note played on the piano will sound different from a C played on the violin, because the piano produces a smoother wave, and the violin produces a much more modulated wave and thus is raspier with a richer tone.

The way synthesizers replicate these tones is by reproducing these additional quiet sound waves present in the sound from a real instrument. Sophisticated software can analyse sound samples from real instruments, using Fourier analysis to ‘understand’ which additional frequencies are present in the signal from a real instrument. Instead of just producing a simple single-frequency wave, the synthesizers can replicate the specific sound and tone of a real instrument.

Sound effects

On top of just replicating the tone of real instruments, software can add various effects to either recorded or digitally produced sounds. One of the effects that can be added is distortion.

Distortion is the crunchy, rock sound that is heard in electric guitars. Think of memorable guitar riffs from famous songs such as ‘Smoke on the Water’ (Deep Purple) or the introduction of ‘Do I Wanna Know’ (Arctic Monkeys). The loud, fuzzy effect on the guitar is distortion.

Distortion is not just limited to guitars, it can be heard anywhere. If you’re listening to music and turn up the volume too loud for your speaker to handle then the song will sound raspy and crunchy: this is the sound wave becoming distorted.

The science behind distortion is very similar to that of the different tones of sound. Essentially, it is an extreme version of the modulation of the smooth sound wave. Instead of having a few additional small amplitude waves on top of the overall sound wave, there are now many more, each with a much larger amplitude. This changes the shape of the sound wave much more drastically than in the case of the violin or other instruments. This new sound wave results in a fuzzier, distorted sound.

The reason this happens when you turn up music too loud is that the speaker cannot handle the large amplitudes of the wave when the sound is turned up, so the speaker cuts off the high-amplitude sections of the wave. This has the effect of flattening the smooth peaks of the wave. Changing the shape of the wave this much adds lots of different frequencies to the original sound wave, adding distortion. This is a bad thing in headphones and speakers but was originally how distortion was produced for guitars, by overdriving the speaker the guitar was playing out of.

Nowadays distortion can be applied digitally using the same techniques as in synthesizers: by drastically altering the shape of the wave digitally we can tailor the exact distortion applied to a sound wave.

Physics: The sound of the future (and the past)

Science has revolutionized music throughout history, from the invention of the first instruments, to now where the physics of waves has allowed the creation of digital instruments and effects. Advances in science inspire advances in creativity. Science has put music at the fingertips of millions, making music more accessible and affordable. All you need is a computer to unleash your creativity. This can be seen in the booming music industry, where anyone can create and produce music from their bedrooms and share it with the world. So, in the timeless argument of who are the most influential people in the history of music, I argue it is not the Beatles or Elvis but physicists!


More Coverage

To infinity and beyond: Looking at what’s next for science in 2023

The Mancunion bring you all the Science and Technology news you may have missed in 2022, and what to look forward to in 2023

12 Days of Christmas: 12 drummers neurologically reprogrammed

On the 6th day of Christmas, we discuss how drumming can affect the brain and mental health

12 Days of Christmas: 11 pipers replaced by new pipe robots

To celebrate the 11th day of Christmas, find out how Joey, a small robot, could one day revolutionise pipe inspection

12 Days of Christmas: Ten Springtails A-Leaping

How one tiny flea-like invertebrate, and its robot twin, is advancing our understanding of aerodynamics

Copyright © The Mancunion
Powered By Spotlight Studios

0161 275 2930  University of Manchester’s Students’ Union, Oxford Rd, Manchester M13 9PR