sound textures

Doctoral research · AGH University of Krakow · 2021–2026

A subtle sense of order emerging from seemingly unorganized elements.

Bark Asphalt Sea surface

Rain, applause, frying, a swarm of bees, a worn bearing. Countless short events, never identical, organized by chance into a stable whole. How little does it take to describe one? Two dozen numbers, fitted to a single recording, then played.

The work has three parts: a distance between textures built from descriptors in the literature, an evolutionary system that fits a model to a recording, and a stochastic engine with 23 parameters.

questions

What makes rain sound like rain: density, randomness, the shape of a single grain? Why are some textures soothing and others unbearable? Could cars, appliances or even cities sound kinder? And what could textures reveal about our perception?

Hearing seems to summarize textures rather than follow them. Sounds synthesized only from time-averaged statistics, envelope moments in auditory bands, correlations between bands, modulation power, are recognized as the originals, while matching the power spectrum alone is not enough (McDermott and Simoncelli). With longer excerpts listeners lose the timing of single events but keep their statistics, integrating them over several seconds.

Below about 30 events per second, events are heard one by one, as rhythm or flutter. Above it they merge: into a pitch if the train is regular, into a colored noise if it is not. The continuum between those two, from regular to random, is what the engine below is built to span.

Textures also act on the body. In small studies, water and birdsong came with faster recovery after induced stress and lower prefrontal activity than city sound; chronic road and air traffic noise acts as a physiological stressor, mainly through fragmented sleep. The evidence that steady broadband noise improves sleep is rated very low. Structured textures seem to ease noise annoyance beyond masking it, and complexity, the presence of a pattern and familiarity predict how restorative a sound is judged to be. Which statistics carry these effects is open; a model that changes one of them and holds the rest is a way to ask.

McDermott & Simoncelli, Neuron 2011; McDermott, Schemitsch & Simoncelli, Nature Neuroscience 2013; Alvarsson, Wiens & Nilsson, IJERPH 2010; Gould van Praag et al., Scientific Reports 2017; WHO Environmental Noise Guidelines 2018; Riedy et al., Sleep Medicine Reviews 2021; Ratcliffe, Frontiers in Psychology 2021.

plan

The goal: one explicit generative model that covers dense noise, granular and rhythmic textures, tones and trains of resonant impacts, with a few dozen parameters of definite meaning, fitted to a single recording without prior training. The signal is split into three independently parametrized layers: the carrier is the excitation, the modulation its organization in time, the resonator the system it passes through.

  1. Reference corpus. Stationary 4-second excerpts selected automatically from FSD50K and own recordings, for calibration.
  2. Texture distance. Descriptors chosen, tested for stability across realizations and invariance to gain, pruned for redundancy, scaled on the corpus.
  3. Identification. A modular analysis-by-synthesis system: gradient-free search, parallel evaluation, averaging over random realizations.
  4. Specialized model. A bearing-fault version, fitted to real vibration: can fault frequencies be recovered without shaft speed or bearing geometry? An independent check of the distance and the search.
  5. Generalized model. Resynthesis of recordings of very different character; continuity of the parameter space tested by interpolating between fits.

Hypothesis: splitting a texture into carrier, modulation and resonator yields a low-dimensional explicit model that spans quasi-periodic and granular-noise signals in one continuous parameter space; models built this way and fitted without training recover kinematic quantities of a mechanical process from its vibration.

objective

How close is one texture to another, when no two realizations share a waveform? The answer has to be a distance between statistics, not between samples.

Descriptors from the literature, each a single number computed by an explicit formula on a 4-second window, invariant to gain and needing no training. 49 were implemented; after pruning, 41 enter the distance. Four families, with the numbers that remain and what they are drawn from:

Four descriptor families, each with two contrasting signals and one descriptor value: spectral centroid 0.5 and 4.7 kHz; modulation peak none and 10 Hz; coefficient of variation of intervals 0.05 and 0.75; crest factor 4.6 and 14.
One contrast per family, on synthetic signals; values computed from the signals shown.

Redundant descriptors were pruned by rank correlation across the whole corpus. Each difference is scaled robustly (MAD over 20,228 stationary excerpts of FSD50K), passed through a Huber loss and weighted by how reliably the feature can be measured in the reference: pitch counts only if there is a pitch. Descriptors average into blocks, blocks into families, families into one cost, each with an equal vote, so ten correlated measures of spectral shape cannot outvote the modulation rate. The same breakdown later shows which aspect of a recording a model fails to reproduce.

texture distance D spectrum modulation temporal structure amplitude 21 in 3 blocks 7 8 5
Equal votes at every level. Each descriptor: robust z-score, Huber loss, confidence weight taken from the reference.

identification

Analysis by synthesis: the engine renders a candidate, the candidate is described like the recording, the distance drives the search. Engines, descriptors, distance and optimizer are interchangeable modules behind one interface. Engines chain in series, in parallel or as amplitude modulation; parameters can be fixed, narrowed or tied by linear constraints, and multiplicative ones are searched on a log scale.

CMA-ES θ engine K seeds descriptors D recording descriptors cost, also per family
The recording is described once; every candidate is rendered several times and described the same way.

The cost is stochastic and non-differentiable, so the search uses CMA-ES with restarts and a growing population: gradient-free, it adapts its covariance along the correlated valleys of the parameter space. Each candidate is averaged over several realizations with common random numbers, so differences in cost reflect parameters rather than lucky draws, and the finalists are re-evaluated on unseen seeds against the winner's curse. Independent restarts that settle on different values at equal cost mark a parameter as non-identifiable, with no ground truth needed.

engine

One mechanism, used twice. Nodes of alternating sign, peak, trough, peak, fall at random times, and a curve of adjustable shape joins them. The intervals between the nodes and their heights are drawn from gamma distributions, so a texture is set by the statistics of its micro-events rather than by a stored sample.

The micro-event generator: nodes of alternating sign with gamma-distributed intervals and amplitudes, joined by a curve of exponent p. Below, a grid: interval regularity 1, 10 and 20000 gives noise, band noise and a tone; exponent 1/8, 2 and 32 gives impulses, a near sine and a near square.
The generator. Rows: regularity of the intervals; columns: exponent of the curve. Each cell is 30 ms of real output around 220 Hz.

The gamma shape k sets regularity alone, since the coefficient of variation is 1/√k: k = 1 is a Poisson process and sounds like noise, k ≈ 10–50 gives band noise around f₀, k → 2·10⁴ a steady tone. The exponent p takes each segment from a sharp impulse through triangle (p = 1) and near sine (p ≈ 2) to nearly square; asymmetry bends the triangle into a sawtooth, and duty acts as pulse-width modulation. An Ornstein–Uhlenbeck process adds bounded, mean-reverting pitch drift, its depth and memory set independently. Eight parameters, each with a unit or a statistical meaning.

At audio rate the generator is the carrier. Slowed into the fluctuation and roughness band, up to 300 Hz, and half-wave rectified, it becomes the envelope: rhythm, roughness, and silence between events. A resonator with one band and one peak shapes the product. 23 parameters in all.

The chain: a carrier from the generator at audio rate; an envelope from the same generator at 11 Hz, half-wave rectified, with silences; their product; the product after a resonator.
The chain, 0.3 s of real output. Numbers: parameters per stage.

what it gives

fitting to a recordingparametersscopereal timetraining
auditory statistics
McDermott–Simoncelli
automatic; the result is one sound filenone to adjust afterwardsany textureno, iterativenone
neural synthesislearned from datalatent, meaning found afterwardsclasses in the training setdepends on the modellarge dataset
granular, proceduralby handreadableas designedyesnone
physical, physically inspired
modal, PhISEM
by hand; automatic inference so far mostly for single eventsphysical: mass, stiffness, geometryone kind of source per modelyesnone
this engineautomatic, from one recording23, statistical; physical only in special casesnoise to tone in one spaceyesnone

None of the parts is new on its own. Alternating nodes come from Xenakis's dynamic stochastic synthesis (GENDYN), here with a gamma renewal process instead of a random walk and a shaped curve instead of a straight line; clouds of events from granular synthesis and PhISEM; source and filter from subtractive synthesis. The gamma renewal process is borrowed from models of neural spike trains, the Ornstein–Uhlenbeck process from mean-reverting phenomena; in speech terms kT and kA are jitter and shimmer. What is new is their combination in one low-dimensional space designed for evolutionary search, with one generator serving as the source of both timbre and rhythm.

The price is fidelity. The model reproduces statistics, not waveforms; it has one carrier, one envelope and one resonance; its stages are linear; and its parameters have a physical meaning only in special cases such as the bearing.

results

distance

Compared with the texture statistics of McDermott and Simoncelli on held-out excerpts: moderate agreement on pairwise distances (Spearman ρ = 0.37), and better agreement with the sound-source category (AUC +0.047, 95% bootstrap interval +0.008 to +0.079), with descriptors computed in one pass and no auditory filter bank.

bearing faults

A specialized 18-parameter version of the same architecture, with impulses, a load-zone modulation and four resonant modes, was fitted to vibration recordings from the CWRU bearing data, without shaft speed, bearing geometry or fault type.

textures

One structure, unchanged, and the same distance for every recording. Distance of the resynthesis from the recording, averaged over realizations, and the family that contributes most:

recordingdistancelargest share
boiling water0.24spectrum, modulation
trumpet0.28temporal structure
purring cat0.31temporal structure
aircraft0.36temporal structure
vinyl crackle0.85amplitude
camera self-timer1.09temporal structure
bird song1.97modulation

Single stationary processes come out best: a dense train of bursting bubbles matches the assumptions of the model directly. The worst are mixtures and sequences: vinyl is continuous noise plus rare clicks, two processes forced into one amplitude distribution; bird song is a sequence of separate notes. Both point to the next step, several voices.

samples

trumpet A carrier at about 344 Hz, almost strictly periodic, with a broad peak near 1.1 kHz from the resonator.

original trumpet, original: waveform and spectrogram
resynthesis trumpet, resynthesis: waveform and spectrogram

purring cat Pulses at about 25 Hz, the rhythm of the laryngeal muscles. The timbre is matched; the breathing phases are not, the model has no mechanism for them.

original purring cat, original: waveform and spectrogram
resynthesis purring cat, resynthesis: waveform and spectrogram

bird song Separate notes between 2 and 5 kHz become one tone drifting around 3.4 kHz: the limit of a single carrier.

original bird song, original: waveform and spectrogram
resynthesis bird song, resynthesis: waveform and spectrogram

Each column: 125 ms of the waveform around its strongest peak, then the spectrogram over 4 s, 0.1–20 kHz, color from −80 dB (dark blue) to 0 dB (yellow) relative to the maximum.

next

uses

publications