Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

4. Electroacoustics

How sound is captured, processed, digitised, and reproduced through technology

Electroacoustics is the branch of acoustics that converts sound into electrical signals and back again, through microphones, loudspeakers, and amplifiers. It underpins nearly all modern music making, recording, and reproduction. It is also where sound crosses from the physical world into numbers, and every choice in a microphone or converter (sample rate, bit depth, codec) decides what survives that crossing.

Electroacoustics and music

A brief history

The field of electroacoustics began in the late nineteenth century. Alexander Graham Bell’s telephone (1876) showed that speech could be turned into an electrical signal and sent down a wire. Thomas Edison’s phonograph (1877) showed that sound could be recorded and played back mechanically. The carbon microphone, the vacuum tube amplifier, and the moving-coil loudspeaker, all developed in the early twentieth century, made electrical sound reproduction practical. Recording turned fleeting performances into objects that could be repeated, sold, and studied, and amplification let a quiet voice fill a hall; Katz (2022) traces how such changes reshaped the music itself. In the terms of the musicking quadrant, recording moved experience out of time: a perceiver no longer needs to be in the same room as the performer, or in the same year.

The condenser microphone arrived in the 1920s. Magnetic recording, FM radio, and high-fidelity audio in the mid-twentieth century then transformed music production and broadcasting. Today the field keeps changing through digital signal processing, microelectronics, and wireless transmission.

Electroacoustics in music

Electroacoustics is a subdiscipline of acoustics, alongside the room and instrument acoustics we met in acoustics. The physics of sound propagation is the same, but electroacoustics adds electrical and electronic phenomena that shape how sound is captured, modified, transmitted, and reproduced.

Every recorded piece of music has passed through microphones, amplifiers, and loudspeakers, and the character of those devices shapes the timbre we hear. Live performance leans on the same equipment. In concert halls and clubs, the choice and placement of microphones and speakers decides how a performance reaches the audience. And electroacoustic instruments, from electric guitars to synthesisers, all involve electroacoustic transduction somewhere in the signal chain.

Recording and reproduction split sound from its source: the voice in your earbuds is not in the room with you. Schafer called this split schizophonia (see listening). What began as a technical curiosity is now the ordinary condition of musical life: most of the music we hear has no visible sound-producing action behind it. This is also why the designed action–sound mappings introduced in acoustics matter. With synthesisers and samplers, the link between a performer’s action and the resulting sound is a design decision rather than a law of physics.

Digitised audio is also the usual input to computational descriptors of pitch and harmony (see machine listening), and it connects back to the music-theoretical representations in harmony and melody.

Transduction

A transducer is any device that converts energy from one form to another. In electroacoustics the ones that matter convert between acoustic energy, pressure waves in air, and electrical energy, varying voltages or currents.

The chain from cause to effect in an electroacoustic system looks like this:

The two transducers in this chain are the microphone (acoustic to electrical) and the loudspeaker (electrical to acoustic). The stages between them, preamplifier, signal processing, and power amplifier, work entirely in the electrical domain.

Transduction principles

Different transducers use different physical effects to convert energy:

  • Electromagnetic induction: a conductor moving in a magnetic field generates a current. Used in dynamic microphones and moving-coil loudspeakers.

  • Electrostatic (capacitive): when the distance between two charged plates changes, so does the voltage across them. Used in condenser microphones and electrostatic loudspeakers.

  • Piezoelectric: some crystals and ceramics give off a charge when they are bent or squeezed. Used in contact microphones and some other transducers.

  • Magnetostrictive and other effects: found in some specialist transducers.

Each trades frequency response, sensitivity, dynamic range, and cost differently.

An electric instrument: the Victorian synthesizer

The simplest electroacoustic instrument you can build contains three things: a 9 V battery, a bare loudspeaker element, and a couple of cables with crocodile clips. Nicolas Collins calls it the Victorian synthesizer in his book on hardware hacking, because every part of it existed in the nineteenth century Collins, 2009. Touch the free ends of the cables together and the circuit closes; the speaker gives a click. That is the whole instrument.

A Victorian synthesizer: a 9 V battery, a loudspeaker element, cables with crocodile clips, and a pile of paper clips and screws

Figure: A Victorian synthesizer, played by scraping metal objects across the contacts (photo: Alexander Refsum Jensenius, from Jensenius (2022)).

The click is the moving-coil loudspeaker from later in this chapter working in its barest form. Connecting the battery sends a direct current through the voice coil, and the force between that current and the magnet pushes the cone outwards. A steady current holds the cone there in silence; the sound is made only at the moment the current changes, when the circuit is made or broken. That is why the instrument is played with paper clips, screws, and springs: dragged across the contacts they make and break the circuit many times a second, and the clicks turn into rattles and buzzes. With a little care the vibrating cone can be made to break its own contact, so that the circuit switches itself on and off and the instrument plays on its own.

We build one in class because it shows the transduction chain with nothing hidden. There is no oscillator, no amplifier, and no code, so there is nothing between the action and the sound: no latency, and you feel the cone jump under your fingers at the instant you hear it. In the terms of the acoustics chapter, the link between action and sound is a coupling rather than a designed mapping, which makes this electric instrument closer to an acoustic one than to the synthesisers described later in the chapter. Jensenius (2022) describes it as one of very few genuinely electric instruments, and as an excellent way of teaching the principles of sound technology, since everyone can make it work and a group can build complex rhythmic machines out of a handful of parts.

Microphones

A microphone is a transducer that converts acoustic pressure variations in the surrounding air into a corresponding electrical signal. The type, quality, and placement of a microphone strongly shape the character of any recording or live sound system.

Dynamic (moving-coil) microphones

The dynamic microphone is the most widely used type in live sound. Its operating principle is electromagnetic induction:

  1. Sound waves cause a thin diaphragm to vibrate.

  2. A voice coil attached to the diaphragm moves within the field of a permanent magnet.

  3. This motion induces an electrical current in the coil, proportional to the velocity of the diaphragm.

Advantages: robust, tolerant of high sound pressure levels, requires no external power supply, relatively inexpensive.

Disadvantages: limited high-frequency response due to the inertia of the diaphragm and coil assembly; generally lower sensitivity than condenser microphones.

Typical examples include the Shure SM58 (vocal microphone) and Shure SM57 (instrument microphone), which are industry standards in live sound.

Shure SM58 dynamic microphone

Figure: The Shure SM58, a classic dynamic stage microphone (photo: Iain Fergusson, Wikimedia Commons, CC BY 2.5).

Condenser (capacitor) microphones

The condenser microphone works electrostatically:

  1. The diaphragm is one plate of a capacitor; a fixed backplate is the other.

  2. The capacitor holds a fixed charge, from a battery or from phantom power through the cable.

  3. Sound moves the diaphragm, which changes the distance between the plates and so the capacitance.

  4. At constant charge, a change in capacitance gives a change in voltage. That voltage is the output.

Advantages: a flat, extended frequency response, high sensitivity, low self-noise, and both small-diaphragm (pencil) and large-diaphragm versions.

Disadvantages: it needs power (48 V phantom power or a battery), it is more fragile than a dynamic microphone, and it costs more.

Condenser microphones are the usual choice for studio recording of acoustic instruments, voices, and orchestras, since their flat response and low self-noise capture fine detail. Large-diaphragm condensers such as the Neumann U87 are a staple of professional studios.

Neumann U87 condenser microphone

Figure: The Neumann U87, a large-diaphragm condenser studio microphone (photo: PJ, Wikimedia Commons, CC BY-SA 3.0).

Ribbon microphones

The ribbon microphone has a thin, corrugated metal ribbon hanging in a magnetic field:

  1. Sound makes the ribbon vibrate in the field.

  2. The movement induces a voltage, as in a dynamic microphone, but here the ribbon is both diaphragm and conductor.

Advantages: a smooth, natural roll-off at high frequencies, an excellent transient response, and what is often described as a warm, vintage sound. Ribbons are bidirectional by nature (a figure-8 pattern).

Disadvantages: the ribbon is fragile; the output is low, so a high-gain preamplifier is needed; wind and plosives are a problem; and some classic ribbons must not be given phantom power, although modern active ribbons require it.

RCA 44-BX ribbon microphone

Figure: The RCA 44-BX, a classic ribbon microphone from the 1930s and 40s (photo: Roadside Guitars, Wikimedia Commons, CC BY-SA 2.0).

MEMS microphones

MEMS (Micro-Electro-Mechanical Systems) microphones are semiconductor-based transducers fabricated using integrated circuit manufacturing techniques. They are used in smartphones, laptops, hearing aids, and other consumer devices where small size matters most. Their performance has improved dramatically in recent years, and they are increasingly found in professional measurement applications as well.

Amazon Echo Dot circuit board with MEMS microphones

Figure: Circuit board of an Amazon Echo Dot smart speaker. The seven small metal packages around the ring (labelled MK1–MK7) are MEMS microphones, forming the array used for far-field voice pickup (photo: Raimond Spekking, Wikimedia Commons, CC BY-SA 4.0).

Microphone polar patterns

A polar pattern (or directivity pattern) describes how sensitive a microphone is to sounds arriving from different directions. It is typically represented as a plot of sensitivity versus angle, in polar coordinates.

The main polar patterns are:

  • Omnidirectional: equal sensitivity in all directions. Captures the full acoustic environment, including room reflections.

  • Cardioid: most sensitive in front, least sensitive at the rear (heart-shaped pattern). The most common pattern for live sound and studio recording. Offers some rejection of unwanted sounds from behind.

  • Supercardioid / Hypercardioid: narrower front pickup than cardioid, with a small rear lobe. More directional; useful in noisy environments.

  • Figure-8 (bidirectional): picks up equally from front and rear, with strong rejection from the sides. Used in ribbon microphones and as a component in mid-side recording techniques.

In practice, polar patterns vary with frequency. Most directional microphones are more omnidirectional at low frequencies and become more directional as frequency increases. The plots below illustrate idealised patterns.

Source
<Figure size 1200x300 with 5 Axes>

Figure: Idealised polar patterns of five microphone types, drawn as sensitivity against the direction of the source; 0° is straight ahead.

Microphone frequency response

The frequency response of a microphone says how its sensitivity varies across the audio range. An ideal microphone would be perfectly flat and capture all frequencies equally. In practice every design departs from flat somewhere.

  • Dynamic microphones usually lose sensitivity at high frequencies, because the coil and diaphragm have inertia. Many have a moderate presence peak, a boost around 3–8 kHz, to make voices and instruments clearer.

  • Condenser microphones are flatter and reach higher. Large-diaphragm condensers often have a subtle presence peak around 8–12 kHz.

  • Ribbon microphones roll off gently at the top, which is part of their warm sound.

At low frequencies, directional microphones (cardioid, figure-8) show the proximity effect: the bass rises when the source is very close, within 30–60 cm. Singers and broadcasters use it for a fuller sound. It becomes a problem when you record at close range and do not want the extra bass.

Source
<Figure size 1000x400 with 1 Axes>

Figure: Idealised frequency responses of dynamic, condenser and ribbon microphones, relative to 1 kHz. Drawn from typical traits, not measured from particular models.

Microphone specifications

Manufacturers publish a specification sheet for every microphone. For most musical purposes four numbers do the work: how sensitive it is, how flat its frequency response is, how quiet it is when nothing is happening (self-noise), and how loud a source it can take before distorting (maximum SPL). The gap between those last two is the microphone’s usable dynamic range.

The specification sheet is only half the story, though. Engineers do not choose an SM58 or a U87 because one is “better”; they choose a sound. Microphones colour what they capture, and those colours have become part of music history: the crooner’s intimacy is a sensitive microphone up close, and much of what we recognise as the sound of a favourite record is a chain of such choices. Reading a specification sheet tells you what a microphone can do; listening through it tells you what it does to the music.

Loudspeakers

A loudspeaker converts electrical signals into acoustic pressure variations. It is the final electroacoustic transducer in most audio reproduction systems.

Moving-coil (dynamic) loudspeakers

The moving-coil loudspeaker is by far the most common loudspeaker type. Its operation is the electromagnetic inverse of the dynamic microphone:

  1. An alternating electrical current flows through a voice coil suspended in a permanent magnetic field.

  2. The interaction of the current and the magnetic field produces a force on the coil (Lorentz force), causing it to move back and forth.

  3. The coil is attached to a cone (diaphragm), whose movement creates pressure waves in the surrounding air.

Most practical loudspeaker systems use several drivers, each optimised for a different frequency range:

  • Woofer: handles low frequencies (bass), typically 20–500 Hz. Large diameter cone (15–40 cm) for efficient low-frequency radiation.

  • Midrange driver: covers middle frequencies (500 Hz – 5 kHz), where much of the energy of speech and music is concentrated.

  • Tweeter: handles high frequencies (5–20 kHz). Small diameter diaphragm (2–4 cm) for extended high-frequency response.

  • Subwoofer: dedicated low-frequency driver (20–200 Hz) for cinema, music production, and concert sound reinforcement.

A crossover network routes the appropriate frequencies to each driver, ensuring that each operates within its optimal range.

Loudspeaker with tweeter and three moving-coil woofers

Figure: A floor-standing loudspeaker with a dome tweeter on top and three moving-coil cone drivers below (photo: Hg6996, Wikimedia Commons, CC BY-SA 4.0).

Electrostatic loudspeakers

Electrostatic loudspeakers run the condenser microphone in reverse. A thin conductive diaphragm hangs between two perforated plates, the stators. A high voltage sits between the stators and the diaphragm, and the audio signal applied to the stators makes the diaphragm move. These loudspeakers are prized for very low distortion and precise transients. They are also expensive, large, and need a high-voltage power supply.

Quad ESL-57 electrostatic loudspeaker

Figure: The Quad ESL-57, the first commercially successful full-range electrostatic loudspeaker (photo: Martin Niemöller, Wikimedia Commons, public domain).

Headphones and earphones

Headphones are miniature loudspeakers worn on or in the ears. Over-ear models have pads that surround the ear, which isolates well and gives a more natural sound stage; on-ear designs are more compact; in-ear monitors are used on stage and in consumer earbuds. Bone-conduction headphones skip the ear canal entirely: small transducers on the cheekbones vibrate the skull, and the vibration reaches the inner ear directly.

Most headphones use dynamic (moving-coil) drivers; high-end models may use planar magnetic or electrostatic elements. Headphones bypass the room and the pinnae, so they sound different from loudspeakers and can change the perceived spatial image. That makes them attractive for controlled listening experiments in music psychology. It also means that a mix made on headphones may sound different over loudspeakers.

Source
<Figure size 1000x400 with 2 Axes>

Figure: Active noise cancellation. Left: a noise, the same sound in opposite phase, and their sum, which is silence. Right: cancellation only works if the anti-noise arrives at exactly the right moment; the curves show how much noise remains when the timing is off by 10, 50, and 200 microseconds. A 200 µs error still removes most of a 100 Hz hum but nothing at 1 kHz, which is why noise-cancelling headphones silence engines and ventilation and leave voices alone.

Headphone listening also deserves a moment of reflection. For most people today, most music arrives through earbuds. This is a private, portable listening situation, completely different from how music has been experienced throughout human history. The sound appears inside the head rather than at a place in the room, nobody around you knows what you are hearing, and the music travels with you in changing environments and contexts. It is a very different experience from playing, listening, and moving (including dancing) together, and that difference matters when we study music and its effects. Two different things quieten the street: noise cancelling removes sound by phase inversion, while the music masks much of what is left, and a listener who turns the level up to beat the traffic masks more and risks their hearing.

Loudspeaker frequency response and sensitivity

Like microphones, loudspeakers are described by their frequency response. Unlike microphones, a single driver can hardly cover the whole audio range flat, which is why systems with several drivers and a crossover are the norm.

The sensitivity of a loudspeaker is the sound pressure level (in dB SPL) it produces at 1 metre when driven with 1 watt (or 2.83 V into 8 Ω). A more sensitive loudspeaker needs less amplifier power for the same level.

The plot below shows idealised frequency responses for different loudspeaker configurations, each driver covering its own part of the spectrum.

Source
<Figure size 1000x400 with 1 Axes>

Figure: Idealised frequency responses of a subwoofer, a woofer, a midrange driver and a tweeter, each covering its own part of the spectrum; the dashed line marks the −3 dB point.

Loudspeaker placement and room interaction

A loudspeaker does not operate in isolation; it interacts strongly with the room in which it is placed. Reflections from walls, floor, and ceiling combine with the direct sound at the listener’s ears, modifying the perceived frequency response and spatial character.

  • Bass is position-dependent. Room modes (see acoustics) make low frequencies loud in some spots and almost absent in others. Some people believe that a subwoofer can be placed anywhere. That is not true; you can easily test this by moving a subwoofer around in a room. Try to place it in a corner, then 1 metre from a wall and in the middle of the room. This will change the experienced bass sound more than any equaliser will.

  • Walls add bass. A speaker close to a wall radiates more low end, because the reflection reinforces the direct sound; a corner adds more still. This is boundary loading, and it is why the same speaker sounds different once you move it.

  • Stereo wants symmetry. When setting up two speakers in a stereo setup, the usual starting point is an equilateral triangle: you at one corner, the two speakers at the others tilted towards you so that the tweeters are at ear height and away from walls.

These effects mean that the same loudspeaker can sound quite different in different rooms, and that acoustic treatment of the room and careful speaker placement are as important as the choice of loudspeaker itself.

Amplifiers

An amplifier increases the power, voltage, or current of an electrical signal. Audio needs it because a microphone produces only millivolts, while a loudspeaker needs far larger voltages and currents to make audible sound.

Signal levels

Audio signals travel at very different strengths through the chain, and each input expects one of them. There are four, from weakest to strongest. Microphone level needs a preamplifier before anything else can use it. Instrument level comes from electric guitars and basses, usually through a DI box. Line level is the standard for mixers, interfaces, and effects. Speaker level is the amplified signal that drives a passive loudspeaker. Feeding an input a signal at the wrong level is the most common reason a recording comes out buried in noise or badly distorted.

Preamplifiers and power amplifiers

A preamplifier (preamp) amplifies a microphone-level signal to line level. A high-quality microphone preamplifier is essential for maintaining a low noise floor. If the preamp introduces noise, subsequent amplification will amplify that noise along with the signal. The main specification of a microphone preamplifier is its equivalent input noise (EIN), typically measured in dBu.

Many modern audio interfaces for recording contain built-in microphone preamplifiers. Professional recording studios may use high-quality external preamps (e.g., API 312, Neve 1073) that contribute to the characteristic sound of recordings made in those facilities.

A power amplifier takes a line-level signal and amplifies it to the voltages and currents needed to drive a loudspeaker. Power amplifiers are characterised by their output power (in watts) and their efficiency. Modern Class D amplifiers (switching amplifiers) are efficient enough (>80%) to run on batteries without much heat.

Phantom power

Most condenser microphones need power to keep the charge on the capacitor. Phantom power, standardised at 48 V DC and marked +48V, comes through the microphone cable from the preamplifier or audio interface. It is called phantom because it does not disturb the audio, which travels as a balanced pair on the same conductors. Dynamic and ribbon microphones do not need it, and some older ribbons can be damaged by it.

The signal chain

The signal chain is the whole path an audio signal follows from the source to the listener’s ears. Knowing it helps you find faults and choose equipment sensibly.

A typical recording chain has these stages, split here into the capture half (from sound to computer) and the playback half (from computer to listener):

In live sound the chain is similar, but may include a digital mixing console and several loudspeakers covering different zones.

Balanced and unbalanced connections

Professional audio equipment uses balanced connections (through XLR or TRS connectors) to carry signals over long cable runs without picking up interference. A balanced connection carries the audio signal twice: once as a normal-polarity signal and once with the polarity inverted. Any electromagnetic interference picked up along the cable affects both conductors equally; at the receiving end, the differential input of the preamplifier or interface cancels the common-mode noise, leaving only the audio signal.

XLR connectors

Figure: XLR connectors used for balanced audio connections (photo: Matti Blume, CC BY-SA 4.0).

Consumer and instrument-level connections are often unbalanced (TS connectors, RCA connectors), which are more susceptible to interference over long cable runs.

Gain staging means setting a sensible level at each stage of the chain, so that the signal stays well above the noise but never clips. Clipping is the distortion that comes from exceeding the maximum level. In digital systems, clipping above 0 dBFS (decibels relative to full scale) gives severe distortion.

Signal processing

Signal processing is the field that analyses, modifies, and synthesises signals such as sound, images, and scientific measurements. In audio, it is how we improve sound quality, pull out information, and adapt a signal for a purpose.

It can happen in the analogue or the digital domain. The thing to remember is that everything you hear through a loudspeaker is processed, by hand or, increasingly, automatically. Filtering and equalisation shape the tone, compression evens out the dynamics, and reverberation and other effects place the sound in a real or imagined space. The same operations run in a guitar pedal, a mixing console, a phone, and a hearing aid.

Synthesising sound

So far the signal chain has started from an acoustic source, a voice or an instrument that a microphone captures. A synthesiser turns this around and creates the electrical signal from scratch, with no acoustic source at all Russ, 2009. Nothing vibrates until the loudspeaker at the end of the chain, which is where the sound first becomes acoustic. Synthesisers are everywhere in popular music, from the basslines of 1980s synth-pop to the pads and leads of current chart productions.

Oscillators

The classic recipe is subtractive synthesis, which starts with an oscillator: a circuit or algorithm that produces a repeating waveform at a chosen frequency. Four waveforms dominate, and each has its own spectrum and therefore its own timbre. A sine wave contains only its fundamental and sounds pure, like the deep sub-bass under much hip-hop. The triangle wave adds weak odd harmonics and sounds soft and flute-like. The square wave has strong odd harmonics and a hollow, reedy character familiar from chiptune game music. The sawtooth wave contains every harmonic and sounds bright and buzzy, which makes it the usual starting point for rich lead and string sounds.

Source
<Figure size 1200x450 with 8 Axes>

Figure: The sine, triangle, square and sawtooth waveforms (top row) and their harmonic spectra (bottom row).

Source
Sine wave at 220 Hz:
Loading...
Triangle wave at 220 Hz:
Loading...
Square wave at 220 Hz:
Loading...
Sawtooth wave at 220 Hz:
Loading...

Filters and envelopes

The oscillator’s raw output is then shaped by a filter, a circuit or algorithm that weakens some parts of the spectrum, which is why the method is called subtractive. The most common type is the low-pass filter, which lets frequencies below a chosen cutoff frequency pass and dampens everything above it. Closing the cutoff makes a buzzy sawtooth progressively darker and rounder, and sweeping it while a note sounds produces the classic filter sweep heard across dance music. Many filters also offer resonance, a boost of the frequencies just around the cutoff, which at high settings gives the squelchy character of acid house basslines. The figure below shows the frequency response of the four basic types: a low-pass filter (with and without resonance), a high-pass, a band-pass, and a band-stop filter, all set to 1 kHz.

Source
<Figure size 1200x360 with 4 Axes>

Figure: Frequency responses of the four basic filter types, low-pass (with and without resonance), high-pass, band-pass and band-stop, all set to 1 kHz; the dashed line marks −3 dB.

An envelope then shapes how the level of each note unfolds over time. The standard version is the ADSR envelope, with four stages. Attack sets how quickly the sound reaches full level, decay how quickly it falls back, sustain the level held while the key stays down, and release how long the sound lingers after the key is lifted. A fast attack and short decay give a plucked, percussive note, while a slow attack and long release give a soft pad that swells and lingers. Envelopes can also steer the filter cutoff, so that each note opens brightly and then mellows. The figure below shows four typical envelope shapes and the tones they produce.

Source

Figure: Four ADSR envelopes (blue) and the tones they shape (grey), with the key-down and key-up moments marked and the attack, decay, sustain and release values given above each panel.

Additive and FM synthesis

Additive synthesis works in the opposite direction: instead of carving away at a rich waveform, it builds timbre by adding sine-wave partials one by one. This is exactly the idea behind the harmonics demo in the acoustics chapter, where sine waves summed into a complex tone. The drawbars of a Hammond organ are an early mechanical version, with each drawbar adding one harmonic to the mix. Below, a 220 Hz tone is built from one, two, four, and eight harmonic partials, each with amplitude 1/n, so that the sum approaches a sawtooth. Listen to how every added partial brightens the sound.

Source
<Figure size 1200x450 with 8 Axes>

Figure: Additive synthesis of a 220 Hz tone from one, two, four and eight harmonic partials with amplitudes 1/n: waveforms above, spectra below. The sum approaches a sawtooth.

Source
1 partial at 220 Hz:
Loading...
2 partials at 220 Hz:
Loading...
4 partials at 220 Hz:
Loading...
8 partials at 220 Hz:
Loading...
16 partials at 220 Hz:
Loading...

Frequency modulation (FM) synthesis instead uses one oscillator to wobble the frequency of another at audio rate, which spreads energy into dense clusters of partials at very little computational cost. The method powered the Yamaha DX7, whose glassy electric pianos and bell-like tones define countless 1980s pop ballads. Bells and metallic sounds suit FM particularly well because their partials do not follow the neat harmonic series of strings and pipes. The figure and sounds below keep both the carrier and the modulator at 220 Hz and raise the modulation index, the depth of the wobble; the spectrum stays harmonic but gains more partials as the index grows. The last sound detunes the modulator to a ratio of 1:1.4 and lets the index decay with the note, which gives an inharmonic, bell-like tone.

Source
<Figure size 1200x450 with 8 Axes>

Figure: FM synthesis with a 220 Hz carrier and a 220 Hz modulator at four modulation indices: waveforms above, spectra below. A higher index spreads energy into more partials.

Source
Carrier 220 Hz, modulator 220 Hz (ratio 1:1), index I = 0:
Loading...
Carrier 220 Hz, modulator 220 Hz (ratio 1:1), index I = 1:
Loading...
Carrier 220 Hz, modulator 220 Hz (ratio 1:1), index I = 3:
Loading...
Carrier 220 Hz, modulator 220 Hz (ratio 1:1), index I = 6:
Loading...
Bell: carrier 220 Hz, modulator 308 Hz (ratio 1:1.4), index decaying from 5:
Loading...

Sampling and granular synthesis

A sampler generates no waveforms at all. It plays back stored recordings, pitched up and down across the keyboard. Sampling grew out of the French school around Pierre Schaeffer (see listening) and was later taken up in popular music. In hip-hop, sampled drum breaks are a core part of the expression, and many film and TV scores lean on sampled orchestras with thousands of recorded notes per instrument. Sampling blurs the border between recording and instrument: any captured sound can become playable material.

Granular synthesis takes the idea further. It chops a recording into grains of a few tens of milliseconds and scatters them in new patterns. Since the grains can be repeated and overlapped freely, a sound can be stretched in time without changing pitch, or frozen into a shimmering, sustained cloud. Ambient and electronic producers use granular tools to turn a single vocal syllable into an evolving texture.

Digital audio

Digital audio extends the electroacoustic signal chain into storage, editing, transmission, and reproduction on computers and digital devices.

Digitisation

Digitisation is the process of converting physical sound into a digital audio signal using an analogue-to-digital converter (ADC). It happens in two steps: sampling and quantisation.

First, the continuous sound wave is measured at regular intervals, producing a stream of samples. The number of measurements per second is the sampling rate. Next, each sampled value is rounded to the nearest value that can be represented by a fixed number of bits, the bit depth. The result is a stream of numbers that digital systems can store, process, and transmit.

The figure below shows both ideas at once. Each row lowers the sampling rate, so the samples (blue dots) get sparser in time; each column lowers the bit depth, so the samples snap to fewer amplitude levels. The grey wave is the original sound, and the blue steps are what the digital system actually stores.

Source
<Figure size 1200x800 with 9 Axes>

Figure: One short sound digitised at three sampling rates (rows) and three bit depths (columns). The grey wave is the original; the blue dots are the stored samples, sparser in time down the rows and snapped to fewer levels across the columns.

Sampling rate

The sampling rate is the number of samples per second taken from a continuous signal to create a discrete signal. According to the Nyquist–Shannon sampling theorem Shannon, 1949, the sampling rate must be at least twice the highest frequency present in the signal to reconstruct it accurately. This minimum rate is the Nyquist rate; half the sampling rate, the highest frequency the system can represent, is the Nyquist frequency. Since humans can hear frequencies up to around 20,000 Hz, this means that sound needs to be sampled at more than 40,000 Hz to capture all audible sound.

Bit depth

The audio bit depth is the number of bits used for each sample. It sets the precision of the stored amplitude: more bits give less quantisation noise and a greater dynamic range. CDs use 16 bits per sample, professional recording usually 24, and modern recorders increasingly 32-bit floating point. The headroom of 32-bit float is so large that a badly set recording level can often be rescued afterwards. At normal listening levels the audible differences are small. What the extra bits buy is a safety margin while recording and processing.

Digital audio interfaces

A digital audio interface connects microphones, instruments, and other audio sources to a computer for recording, and routes the computer’s audio output to loudspeakers or headphones for playback. All laptops and mobile phones have built-in audio interfaces, but for professional use, it is common to have an external device that you connect with a USB cable.

MOTU audio interfaces

Figure: MOTU audio interfaces (photo: Wikimedia Commons).

Inside, an interface combines the pieces this chapter has introduced one by one: microphone preamplifiers, the analogue-to-digital and digital-to-analogue converters, and a headphone amplifier, connected to the computer over USB or another protocol.

The converters in an audio interface apply the principles of sampling and quantisation described above. The quality of the ADCs and DACs, together with the chosen sample rate and bit depth, affects the transparency, noise floor, and working headroom of a recording system.

Real-time audio, buffers, and latency

In a digital audio workstation (DAW), a live performance setup, or a real-time synthesis patch, audio is processed in blocks (buffers) of samples rather than as one infinite stream. The buffer size, together with the sampling rate, sets how often the computer must finish a round of processing. A smaller buffer means lower latency, the delay between input and output, but it leaves less time per block and raises CPU load. A larger buffer is more forgiving with heavy plug-ins, but it increases latency and can make timing feel sluggish when you monitor yourself or play virtual instruments.

Round-trip latency comes from several places: analogue-to-digital and digital-to-analogue conversion, buffering in the driver and the application, and the digital signal processing in the chain. Interfaces and drivers often report separate input and output figures, but what matters to a performer is the total monitoring delay. To avoid hearing themselves late, many systems offer direct monitoring, an analogue path from input to headphones that bypasses the computer.

At the University of Oslo we have researched network music performance for many years: musicians play together from different locations, which by design introduces latency. Making it work is a technical challenge, it raises psychological questions about togetherness and timing, and it can produce music of its own kind.

Video: An example of a networked music–dance performance at Popsenteret in 2024. Musicians and dancers performed live from different floors, connected through low-latency audio and multi-stream video technologies. The project explored how performers create a sense of togetherness, timing, and shared presence despite physical separation, transforming technical limitations such as latency into artistic material.

Audio compression and file formats

Digital audio also has to be stored and transmitted efficiently. Audio containers are file formats that hold digital audio data together with metadata such as track information, album art, and artist details. Common containers include WAV and AIFF, both of which typically store uncompressed, high-quality audio.

Some containers, such as MKV, can hold uncompressed or compressed audio alongside video and metadata. Others, such as MP4, often store compressed audio, frequently together with video.

The container and the compression method are two separate things. Audio file compression reduces the file size of digital audio to make storage and transmission more efficient, and it is not the same as the dynamic range compression used in mixing and mastering. There are two main types:

  • Lossless compression: preserves all original audio data, allowing perfect reconstruction, as in FLAC and ALAC.

  • Lossy compression: removes some audio data, usually components that are less perceptible to human hearing, to achieve smaller file sizes, as in MP3 and AAC.

FormatCompression TypeTypical UseQuality
WAV, AIFFNoneRecording, editingExcellent
FLACLosslessArchiving, hi-fiExcellent
AACLossyStreamingGood

To decide what to remove, a lossy codec leans directly on psychoacoustics. A perceptual codec splits the signal into frequency bands and, moment by moment, runs a psychoacoustic model of what a human ear would actually notice. The main phenomenon is masking: a strong sound makes weaker sounds close to it in frequency (simultaneous masking) or in time (temporal masking) inaudible. Components the model predicts are masked can be stored very coarsely or discarded altogether, and the saved bits are spent where hearing is most sensitive.

This is why an MP3 file at a typical streaming bitrate keeps less than a tenth of the data in the CD-quality original, yet most listeners cannot tell the difference. Push the bitrate lower and the model must start discarding components that are not fully masked, which is when the familiar artefacts appear: a swirly, underwater quality, most audible in cymbals, reverb tails, and other noise-like sounds. Lossy compression is applied psychoacoustics: it works because we do not hear everything that reaches our ears.

AAC generally gives better quality than MP3 at a similar file size, which is why it is commonly used for streaming. Open ecosystems also offer alternatives such as the Ogg container and related codecs.

Spatial audio

The ears locate a sound using three cues: the difference in arrival time between the ears, the difference in level, and the filtering the head and outer ear impose. How these cues work in perception is explained in the next chapter, psychoacoustics. Spatial audio is the engineering side of the same problem: delivering those cues convincingly over loudspeakers or headphones.

Channel-based audio

The oldest and still the most common approach stores one signal per loudspeaker. Stereo is the familiar case. A source panned between two speakers is not really located anywhere: sending the same signal to both at equal level produces a phantom image, which the listener hears as coming from a point between the speakers even though nothing is radiating from there. Adjusting the balance slides the image left or right. Surround formats such as 5.1 extend the idea with more speakers, adding rear channels for ambience and a dedicated low-frequency channel.

Channel-based audio is simple and reliable, but the mix is made for one specific loudspeaker layout, and the illusion is only reliable in the sweet spot, the small region roughly equidistant from the speakers. If you move off-centre, the phantom images collapse towards whichever speaker you are nearest.

Binaural audio

If the spatial cues are things that happen at the two eardrums, then delivering them over headphones is a matter of reproducing the right signal at each ear. That is what binaural audio does, either by recording with microphones in the ears of a dummy head, or by filtering a mono source with a head-related transfer function (HRTF) for the desired direction: the measured filtering that the head and outer ears apply to sound arriving from that direction.

Binaural audio can be convincing, but it has two well-known problems. HRTFs are individual, since they depend on the shape of your head, torso, and outer ears, so a generic HRTF localises less well for most listeners, but not all. Also, a static binaural rendering turns with your head, which the real world does not do. That is why many virtual reality (VR) systems use head trackers to rotate the auditory scene to compensate.

Scene-based audio and ambisonics

The third approach stores neither speakers nor ears but a description of the sound field itself, which is decoded to whatever playback system is at hand. Ambisonics is the main example, a full-sphere surround technique. A first-order recording has four channels, together called B-format, which capture the overall pressure at a point and the direction the sound comes from. Higher orders add channels and sharpen the spatial resolution.

Zoom audio recorder

Figure: The Zoom H3-VR, an affordable ambisonics recorder used in many projects at UiO.

The practical appeal is that recording and reproduction are decoupled. One ambisonic recording can be decoded to headphones, to a stereo pair, or to a dome of 30 speakers, and it can be rotated before decoding. That is why it is the usual carrier format for virtual reality and 360-degree video. Because such a recording stores direction as well as level, it can also be analysed to show where sound comes from and how diffuse it is.

Object-based audio

A fourth approach, common in cinema, stores each source as a mono signal plus metadata saying where it should be, and leaves the renderer in the playback room to work out which speakers to use. This is object-based audio, and it is best understood as deferring the panning decision from the mixing stage to the listening stage. Dolby Atmos is the best-known example. It began in cinemas in 2012, where a mix of up to 128 objects is rendered to whatever speaker array the theatre has, including overhead speakers for height. Since the early 2020s it has also become a delivery format for music: streaming services offer Atmos mixes of albums, and on headphones these are rendered binaurally, so most listeners meet object-based audio as a form of binaural playback.

Atmos and ambisonics are easy to confuse, since both promise independence from the playback layout, but they store different things. An ambisonic recording describes the sound field at one point, sources and room together, and the decoder derives speaker or headphone feeds from that description; it can be captured directly with a microphone and rotated as a whole. Atmos stores individual sources, each a mono signal with metadata about where it should be, and the renderer places them on whatever speakers exist. That makes it a production format rather than a recording format: objects are authored in a mix, and a room cannot be recorded into Atmos the way it can with an ambisonic microphone. In practice the two often meet, as when a game or VR engine carries the ambience as ambisonics and the characters as objects, and both end up rendered binaurally on headphones.

Electroacoustic systems in practice

The devices above rarely work alone. Three settings show how they are combined: the recording studio, the concert stage, and the measurement of rooms and equipment.

Studio recording

A professional recording studio provides a controlled acoustic environment with carefully treated rooms, high-quality microphones, preamplifiers, and monitoring loudspeakers. The most consequential decision is often simply distance. Close-miking (within about 30 cm) minimises room reflections and gives the dry, present sound of most pop and rock production, though directional microphones then add extra bass through the proximity effect. Room miking (1 to 5 m away) captures the space along with the instrument, which is part of why orchestral recordings sound like they happen somewhere. Stereo images are captured with pairs of microphones in standardised arrangements.

Live sound reinforcement

In live sound the goal is to amplify the performers so that the whole audience hears clearly, without feedback and without the system colouring the sound. The main concerns:

  • Feedback: the microphone picks up sound from the loudspeaker, which is amplified again, and a loop builds up. It is controlled through the choice of polar pattern, where microphones stand relative to the speakers, and equalisation.

  • Monitor speakers (wedges or in-ear monitors): on-stage speakers facing the performers, so that they hear themselves and the rest of the band.

  • Line arrays: the vertical columns of speakers hanging beside the stage at large concerts. Stacking elements narrows the vertical coverage, so the sound can be aimed at the audience rather than at the ceiling. That is what makes even coverage of an arena possible without drowning the stage in reflections.

Electroacoustic measurement uses measurement microphones, usually small-diaphragm condensers with a precisely flat, omnidirectional response, to characterise rooms, loudspeakers, and other systems. Room-correction software such as Dirac Live or Sonarworks records with one and builds filters that flatten the in-room response of a loudspeaker system at the listening position.

A critical look: can you hear high-resolution audio?

Streaming services sell tiers of sound quality, and hi-fi magazines have argued for decades that 24-bit audio at 96 or 192 kHz sounds audibly better than the 16-bit, 44.1 kHz standard of the CD. The chapter has explained what those numbers mean, which makes this a good claim to test against listening experiments.

  • The claim is that the extra bandwidth above 20 kHz and the finer amplitude resolution of high-resolution formats produce an improvement that listeners can hear.

  • The evidence cuts both ways. In one widely cited study, a CD-quality analogue-to-digital-to-analogue loop was inserted into the playback of high-resolution recordings on high-end systems, and over more than 500 blind trials the listeners, many of them audiophiles and audio professionals, picked the right one about half the time, which is chance Meyer & Moran, 2007. A later meta-analysis pooled 18 studies with over 12,000 trials and found a small but statistically reliable ability to tell the formats apart, a few percentage points above chance overall and clearer for listeners who had been trained on the task Reiss, 2016.

  • The method in both cases is blind discrimination: the listener hears two versions and must say whether they differ, without knowing which is which. The disagreement is partly about material. Critics of the first study argued that many of its recordings had been mastered from 44.1 or 48 kHz sources and so contained nothing to hear; critics of the meta-analysis note that it pools studies with very different designs.

  • The limits are the important part. Where a difference is found, it is tiny, it needs training to detect, and detecting a difference is not the same as preferring it. Mastering choices, loudspeakers, and the room change the sound far more than the format does.

The chapter’s account of sampling explains why. A 44.1 kHz rate already captures the audible range, and 16 bits with dither put the quantisation noise below the noise of any listening room. The value of higher rates and depths lies in production, where headroom and processing margin matter. Recording at 24 bits is sound engineering; paying to stream at 192 kHz is mostly buying a number.

References
  1. Katz, M. (2022). Music and Technology: A Very Short Introduction. Oxford University Press. 10.1093/actrade/9780199946983.001.0001
  2. Jensenius, A. R. (2022). Sound Actions: Conceptualizing Musical Instruments. The MIT Press. 10.7551/mitpress/14220.001.0001
  3. Collins, N. (2009). Handmade Electronic Music: The Art of Hardware Hacking (2nd ed.). Routledge.
  4. Russ, M. (2009). Sound Synthesis and Sampling (3rd ed.). Focal Press. 10.4324/9780080926957
  5. Shannon, C. E. (1949). Communication in the Presence of Noise. Proceedings of the IRE, 37(1), 10–21. 10.1109/jrproc.1949.232969
  6. Meyer, E. B., & Moran, D. R. (2007). Audibility of a CD-Standard A/D/A Loop Inserted into High-Resolution Audio Playback. Journal of the Audio Engineering Society, 55(9), 775–779. https://aes2.org/publications/elibrary-page/?id=15249
  7. Reiss, J. D. (2016). A Meta-Analysis of High Resolution Audio Perceptual Evaluation. Journal of the Audio Engineering Society, 64(6), 364–379. 10.17743/jaes.2016.0015
  8. Müller, M. (2021). Fundamentals of Music Processing: Using Python and Jupyter Notebooks. Springer International Publishing. 10.1007/978-3-030-69808-9