Comprehensive Study Notes on Forensic Audio Analysis and Speech Acoustics

Fundamentals of Physical Sound and Psychoacoustics

  • Nature and Propagation of Sound
    • Sound is generated by mechanical vibrations that propagate as pressure waves through a transmission medium such as air.
    • At the sound source, a sound wave radiates in all directions.
    • Sound energy is transferred to the transmission medium in the form of alternating compressions and rarefactions of air particles.
    • The air medium itself does not travel; instead, individual air particles transfer kinetic motion from one particle to another, analogous to waves moving across the surface of the sea.

Compression and rarefaction of sound waves in air

  • Key Physical Parameters of Sound
    • Frequency (ff): Periodic vibration measured in cycles per second. The unit of measurement is the Hertz (Hz\text{Hz}).
    • Natural sounds span a frequency spectrum between 1Hz1\,\text{Hz} and 1000000Hz1\,000\,000\,\text{Hz}.
    • Accepted human hearing range spans from 20Hz20\,\text{Hz} to 20000Hz20\,000\,\text{Hz}.
    • Infrasound consists of all frequencies below 20Hz20\,\text{Hz}.
    • Ultrasound consists of all frequencies above 20000Hz20\,000\,\text{Hz}.
    • Amplitude: Represents the sound pressure level (SPL) and directly correlates with perceived volume.

Air pressure variation over time for a pure tone cycle

  • Wavelength (λ\lambda): Physical distance between consecutive identical points in a wave cycle.

  • Phase: Temporal relationship between two or more wave signals.

  • Harmonic Content: Presence and relative amplitudes of partial frequencies accompanying the fundamental frequency.

  • Envelope: Temporal profile describing the evolution of amplitude over time.

    • Sensory Parameters of Perception
  • Pitch (Altezza): Ordering of sounds from low to high. Pitch depends directly on frequency; higher frequency corresponds to higher perceived pitch.

  • Timbre (Timbro): Characteristic sound quality or "color" allowing differentiation between sound sources sharing the same pitch and volume. Timbre is determined by:

    • Attack transient characteristics.
    • Spectral envelope structure.
  • Dynamics (Dinamica): Perception of volume and softness.

  • Duration (Durata): Temporal length of the sound event.

    • Harmonic Content and Auditory Processing
  • Pure tones (sine waves devoid of harmonics) rarely exist in natural environments.

  • When an object vibrates, it produces multiple frequencies simultaneously. Harmonics occur at integer multiples of the fundamental frequency (f0f_0).

Harmonics: Fundamental, First Harmonic, and Second Harmonic

  • Human auditory processing identifies the fundamental frequency (f0f_0) even in complex acoustic signals.

  • When specific harmonic components are suppressed or missing, the brain reconstructs missing fundamental information provided remaining components are harmonically correlated.

    • Sound Envelope (ADSR)
  • Every sound event possesses a distinct temporal outline divided into four main phases:

    1. Attack (Attacco): Time taken for sound amplitude to rise from silence to peak maximum.
    2. Decay (Decadimento iniziale): Time required to drop from the initial peak to the sustain level.
    3. Sustain (Sustain / Dinamica interna): Steady amplitude level maintained over time.
    4. Release (Rilascio / Decadimento finale): Time required for amplitude to decay from sustain level back to complete silence once energy stops.

ADSR Envelope showing Attack, Decay, Sustain, and Release phases

  • Phase Interference and Superposition
    • In-Phase Signals: Two waves of identical frequency are in phase when positive compression semicycles and negative rarefaction semicycles align exactly in time and space, producing maximum constructive interference (increased amplitude).

Constructive interference of two waves in phase

  • Phase Opposition: Two identical frequency waves are in phase opposition (180180^\circ shift) when the positive semicycle of one aligns with the negative semicycle of the other, causing complete destructive cancellation.

Destructive interference of two waves in phase opposition

  • Phase Shift: Partial temporal misalignment between waves results in partial additions and partial cancellations, shifting the resulting phase between component boundaries.

Phase shift between two sine waves

  • Spectral Envelope and Fourier Analysis
    • A spectral envelope represents a curve plotted on a frequency-amplitude plane describing component frequencies within a specific temporal window.
    • Spectral characteristics of recordings change continuously over time.
    • Fast Fourier Transform (FFT): Algorithm used to decompose time-domain signals into constituent frequency components calculated over small temporal windows (typically 20ms20\,\text{ms} to 30ms30\,\text{ms}).
    • Fourier Principle: Any arbitrary signal can be expressed mathematically as a weighted linear combination of harmonic functions (sine and cosine) operating at varied frequencies and periods.

Fourier decomposition of a complex wave into sine components

  • Auditory Perception and Equal Loudness Contours
    • Sound intensity level in decibels (dB\text{dB}) is calculated relative to reference pressure P0P_0:

dB=10×log10(PP0)dB = 10 \times \log_{10}\left(\frac{P}{P_0}\right)

  • Reference human hearing threshold (P0P_0) is approximately 1012W/m210^{-12}\,\text{W/m}^2 (0dB0\,\text{dB}), whereas the threshold of pain is 1W/m21\,\text{W/m}^2 (120dB120\,\text{dB}), providing a dynamic range of 120dB120\,\text{dB}.
  • ISO 226:2003 Standard: International specification mapping pure-tone sound pressure levels (SPL\text{SPL}) across frequencies perceived as equally loud by human listeners.
  • Human loudness perception is non-linear across frequencies due to physical resonances of the outer ear canal that boost effective pressure in middle-frequency regions.
  • Phon / Fon Unit: Measurement unit of perceived loudness. By definition, 1phon1\,\text{phon} equals 1dB SPL1\,\text{dB SPL} at a frequency of 1000Hz1000\,\text{Hz}.

ISO 226:2003 Equal Loudness Contours

Digital Audio Processing and Signal Fundamentals

  • Digital Audio Parameters

    • Sampling Rate: Number of discrete signal samples captured per second, expressed in Hertz (Hz\text{Hz}).
    • Quantization Depth (Bit Depth): Number of binary bits allocated per sample, determining dynamic resolution and noise floor.
    • Channels: Spatial configuration, such as single channel (Mono) or dual channel (Stereo).
  • Signal-to-Noise Ratio (SNR)

    • SNR quantifies the power ratio between desired signal components and background noise.
    • When measured in decibels, SNR is defined as:

SNRdB=SNSNR_{dB} = S - N

  • Ideal SNR calculation requires separate, clean measurement of signal (ss) alone and noise (nn) alone.

  • In real-world environments, target signal exists concurrently with noise. Comparing s+nn\frac{s+n}{n} instead of sn\frac{s}{n} distorts measurements, systematically overestimating SNR when actual SNR values are low (<10dB< 10\,\text{dB}).

    • Digital Audio Life Cycle
  • Signal progression spans five distinct stages: Sound Source \rightarrow Microphone \rightarrow Transmission Channel \rightarrow Analog-to-Digital (A/D) Conversion \rightarrow Digital Storage.

  • A/D Parameters: Quality depends directly on selected sampling frequency (e.g., 8000Hz8000\,\text{Hz}, 44100Hz44100\,\text{Hz}) and bit depth (e.g., 8bit8\,\text{bit}, 24bit24\,\text{bit}).

  • Lossless Encoding: Complete mathematical preservation of original signal data without information discard (e.g., FLAC, ALAC).

  • Lossy Encoding: Perceptually irrelevant acoustic data is permanently discarded to achieve reduced data file size (e.g., MP3, AAC).

Forensic Audio Management and Legal Framework

  • Evidence Handling Procedures

    • Forensic audio procedures require strict documentation and evidence handling protocols beyond standard audio production studio workflows.
    • Ingestion Protocols: Documentation of case circumstances, device provenance, proprietary recording formats, non-standard media types, and exact operational hardware required for proper playback.
    • Physical State Documentation: Cataloging hardware damage, physical markings, serial numbers, and storage format specifications.
    • Evidence Labeling: Direct marking of physical evidence containers using permanent markers specifying receipt date and examiner initials.
  • Laboratory Technical Standards

    • Technical requirement for regular examiner hearing acuity evaluations.
    • Verification and test protocols for software processing tools to guarantee predictable operational bounds.
    • Facility Specifications: Acoustically isolated silent control room, minimal Electromagnetic Interference (EMI) ground protection, controlled climate (temperature, humidity, ventilation).
    • Hardware Requirements: Systems featuring low-noise A/D and D/A converters, flat frequency response reference monitors, and calibrated professional headphones.
  • Digital Evidence Chain of Custody

    • Digital data is highly susceptible to modification, deletion, or corruption during device boot, network connectivity, opening, saving, or transmission.
    • Lifecycle Steps: Identification & Collection \rightarrow Acquisition \rightarrow Preservation \rightarrow Processing \rightarrow Presentation.

Digital evidence acquisition and storage workflow

  • Verification and Hashing Standards

    • Bitwise verification guarantees absolute digital duplication.
    • Cryptographic Hash Properties: One-way function, collision resistance (impossible for two different files to generate identical hash values), extreme sensitivity (minimal data modification causes vast hash value divergence).
    • Reference Standards: D.P.C.M. 8 February 1999 (Italian technical rules referencing ISO/IEC 10118-3:1998):
    • Dedicated Hash-Function 1 (RIPEMD-160).
    • Dedicated Hash-Function 3 (SHA-1).
    • Storage Controls: Evidence storage directories must be flagged READ-ONLY, protected via passwords, and mirrored on isolated secondary backup computers.
  • Italian Legal Framework (Legge n. 48/2008 - Budapest Convention)

    • Art. 244 C.P.P. (Inspections): Authorizes judicial authorities to record current conditions, reconstruct pre-existing states, and execute technical operations on computer systems using non-altering preservation measures.
    • Art. 247 C.P.P. c. 1-bis (Searches): Mandates technical measures during searches of computer/telematic systems to ensure original data preservation.
    • Art. 352 C.P.P. c. 1-bis: Applies preservation requirements to searches executed during in flagrante arrests.
    • Art. 359 C.P.P. (Repeatable Technical Operations): Authorizes public prosecutors to appoint technical consultants for non-modifying analysis.
    • Art. 360 C.P.P. (Unrepeatable Technical Operations): Mandates immediate notification to defense counsel, suspect, and victim prior to non-repeatable testing where evidence state undergoes permanent modification.

Audio Authenticity vs. Integrity and Analysis Methodologies

  • Distinction Between Authenticity and Integrity

    • Integrity: Verification that digital file information remains completely unchanged and uncorrupted from the moment of collection to final destination.
    • Authenticity: Verification that the recording is a genuine, accurate acoustic representation of events captured by a specific acquisition device at a precise physical location.
    • Signal processing or lossy compression breaks file integrity without necessarily destroying underlying event authenticity.
  • Impact of Digital Operations on Authenticity and Integrity

Process / OperationAuthenticity MaintainedIntegrity Maintained
MP3 CompressionOKNO
Soundcloud / YouTube Upload & DownloadOKNO
Dropbox Upload & DownloadOKOK
Signal ProcessingNONO
File Open / SaveOKNO (?)
  • Container-Based Authenticity Analysis
    • Filesystem Metadata: OS table entries tracking file ownership, creation date, access date, and modification date.
    • Copying creates a new creation timestamp while retaining the original modification timestamp.
    • Moving alters directory location paths without updating modification timestamps.
    • Internal File Metadata: Structured information embedded inside media containers.
    • Container Formats: ISO Base Media File Format, MP4 (.mp4, .m4a, .m4p, .m4b, .m4r), 3GP (.3gp).
    • Audio File Formats/Codecs: WAV (PCM/Advanced PCM), WMA, MP3 (MPEG-2 Audio Layer III), AAC.
    • Metadata Inspection Software:
    • ExifTool (by Phil Harvey): Extracts embedded file headers, firmware parameters, low-pass filter boundaries, and encoder specifications.

ExifTool metadata output for MP3 audio file

* **MediaInfo:** Performs deep structural stream analysis of audio tracks, frame rates, bitrates, and encoding parameters.

MediaInfo detailed stream structure for audio file

  • Signal-Based Authenticity Analysis
    • Critical Listening: Identification of background noise continuity, clicks, pops, or abnormal transient artifacts in silent environments.
    • Spectrogram Visual Analysis: Reveals codec band-pass cutoffs, digital aliasing, environmental background jumps, and splice edit discontinuities.

Spectrogram showing high-frequency cutoff and editing discontinuity

  • Electric Network Frequency (ENF) Analysis
    • Electrical power grids exhibit continuous minor fluctuations around nominal frequencies (50Hz50\,\text{Hz} or 60Hz60\,\text{Hz}) due to load imbalances.
    • Mains hum couples magnetically or electrostatically into recording devices.
    • Geographic Distribution:
    • 50Hz50\,\text{Hz}: Europe, Asia (excluding Saudi Arabia), Africa (excluding Liberia), Australia, South America (Argentina, Bolivia, Chile, Uruguay, Paraguay).
    • 60Hz60\,\text{Hz}: North and Central America, South America (Ecuador, Venezuela, Peru, Colombia, Brazil).
    • Dual nominal standard: Japan utilizes both 50Hz50\,\text{Hz} and 60Hz60\,\text{Hz}.
    • Matching recorded ENF curves against power grid database logs provides precise temporal proof of recording date and continuous integrity.

Forensic Audio Enhancement

  • Objectives and Processing Limits
    • Primary objective is enhancing speech intelligibility or subtle background acoustic events without distorting vocal nuances or introducing artificial artifacts that invalidate evidence in court.

Audio Enhancement Flowchart: Cause -> Effect -> Restore -> Enhance

  • Time-Domain Processing
    • Gain Control & Peak Normalization: Boosts overall signal amplitude to maximum level before digital clipping.
    • Automatic Gain Control (AGC): Dynamically attenuates loud passages, amplifies quiet passages, and mutes noise-only regions.
    • Dynamic Compressor: Automatically reduces dynamic range when input levels exceed a designated threshold.

Waveform comparison between Original Signal and Compressed Signal

* **Compressor Parameters:** Threshold, Attack time, Release time (overly fast settings cause audible volume modulation known as "breathing"), Ratio (N:1N:1), Knee (curve transition softness), Make-Up Gain (boosts signal back to target listening volume).
* **Limiter:** Extreme compression setting with ratios exceeding 10:110:1 and instant attack times.
  • Noise Gate: Mutes signal when input drops below a target threshold, allowing audio through only when speech is active. Multiband noise gates process frequency ranges independently.

    • Frequency-Domain Processing
  • Equalizer (EQ) Filter Types:

    • Shelving (LowShelf, HighShelf).
    • Bell.
    • Band-Pass (LowPass, HighPass).
    • Notch.
  • Equalizer Parameters: Center Frequency, Gain (dB\text{dB} cut/boost), QQ Factor (bandwidth quality factor; lower QQ corresponds to wider frequency bandwidth).

  • Speech Isolation Range: Target speech frequencies typically concentrate between 200Hz200\,\text{Hz} and 5000Hz5000\,\text{Hz}.

  • Spectral Subtraction: Subtracts stationary background noise spectra (estimated during conversational speech pauses) from noisy signal frames.

  • Declipping: Reconstructs clipped peak waveforms caused by A/D converter overload via polynomial interpolation. Introduces synthetic mathematical samples not present in original recordings.

Forensic Transcriptions and Phonetic Fundamentals

  • Transcription Constraints

    • Transcriptions cannot record non-verbal communication, emotional tone, pitch inflections, feelings, or unknown dialectal codes.
    • Quality is degraded by background noise, speech distortion, overlap, and regional accents.
    • Pre-Transcription Signal Analysis: Examiner checks peak sample levels, min/max RMS levels, total RMS levels, and clipped sample counts.
  • Phonetic Categorization

    • Consonants: Produced by partial or total airflow obstruction in the vocal tract. Defined by Place of Articulation (obstruction location) and Manner of Articulation (obstruction structure).
    • Vowels: Produced by vocal tract shape modification without radical airflow obstruction (tongue placement, lip rounding). Defined phonetically by Height, Backness, Rounding, Nasalization, Length, and Dynamicity (Monophthongs, Diphthongs, Triphthongs).

Forensic Speaker Identification and Voice Comparison

  • Voice as a Biometric Trait

    • Properties: Uniqueness (limited by anatomical similarities), Universality, Generality, Stability (evolves over lifespan), Robustness (sensitive to channel, microphone, and compression degradations).
  • Likelihood Ratio (LR) Evaluative Framework

    • Evaluates evidence (EE) under two competing hypotheses: Prosecution Hypothesis (H1H_1: samples originate from the same speaker) versus Defense Hypothesis (H0H_0: samples originate from different speakers).

LR=P(EH1)P(EH0)=SimilarityTypicalityLR = \frac{P(E|H_1)}{P(E|H_0)} = \frac{\text{Similarity}}{\text{Typicality}}

LLR=log10(LR)LLR = \log_{10}(LR)

  • Verbal Scale and LR Values
Likelihood Ratio (LRLR)Log Likelihood Ratio (LLRLLR)Supported PropositionVerbal Scale Equivalent
10000=10410\,000 = 10^444H1H_1 supported over H0H_0 (LR>10000LR > 10000)Molto forte (Very strong)
1000=1031\,000 = 10^333H1H_1 supported over H0H_0 (1000<LR100001000 < LR \le 10000)Supporto forte / Moderatamente forte
100=102100 = 10^222H1H_1 supported over H0H_0 (100<LR1000100 < LR \le 1000)Moderatamente forte
10=10110 = 10^111H1H_1 supported over H0H_0 (10<LR10010 < LR \le 100)Moderato
1=1001 = 10^000Neutral support (1<LR101 < LR \le 10 / LR=1LR = 1)Nessun supporto / Lieve / Limitato
0.1=1010.1 = 10^{-1}1-1H0H_0 supported over H1H_1 (0.1<LR100.1 < LR \le 10 / 0.01LR<0.10.01 \le LR < 0.1)Limitato
0.01=1020.01 = 10^{-2}2-2H0H_0 supported over H1H_1 (0.01LR<0.10.01 \le LR < 0.1)Moderato
0.001=1030.001 = 10^{-3}3-3H0H_0 supported over H1H_1 (0.001LR<0.010.001 \le LR < 0.01)Moderatamente forte
0.0001=1040.0001 = 10^{-4}4-4H0H_0 supported over H1H_1 (LR<0.0001LR < 0.0001)Molto forte
  • Italian Software Applications

    • IDEM (Identificazione Vocale): Extracts fundamental frequency (F0F_0) and vowel formants (/i, e, a, o/). Does not distinguish between close-mid and open-mid vowels ([e-ɛ], [o-ɔ]). Operates on a parametric Gaussian model.
    • SMART: Extracts acoustic features while accounting for dialectal variation, accented vocalic systems, and diaphasic variations. Operates on a non-parametric model.
  • Methodological Comparison: Auditory-Acoustic vs. Automatic Speaker Recognition

    • Auditory Phonetics + Acoustic Analysis (Au-AC): Combines expert listening (pitch, quality, prosody, dialect, disfluencies evaluated on 10-point scales) with computer-extracted formant measurements (F0F3F_0 - F_3).

Vowel formant plot F1 vs F2 for speakers John, Chris, and Scott

  • Inter-Software Measurement Variance Example:
FormantSoftware A Measurement (Hz\text{Hz})Software B Measurement (Hz\text{Hz})Delta Δ(BA)\Delta(B - A) (Hz\text{Hz})
F138539712
F21703171613
F32220226545
F43404343127
F54350444696
  • System Comparison Table:
FeatureAuditory-Acoustic Approach (Au-AC)Automatic Speaker Recognition (ASR)
Processing SpeedProportional to material lengthPotentially very fast
Result OutputExpert evaluation reportNumerical Likelihood Ratio
RepeatabilityDependent on analyst skill & conditionsFully repeatable
Error Rate EvaluationDifficult to evaluate quantitativelyKnown statistical error rate

Source-Filter Theory and Socio-Phonics

  • Praat Signal Analysis
    • Open-source software utilized for acoustic analysis, phonetic testing, and visual spectral generation.

Praat interface showing acoustic spectrum waveform and spectrogram

  • Source-Filter Acoustic Model
    • Source: Glottal or supraglottal airflow generator (vocal cord vibration driving fundamental frequency F0F_0).
    • Filter: Modifications produced by vocal tract shape (oral/nasal cavities).
    • Resonator: Cavity amplifying specific frequencies into spectral peaks called formants.
    • Nodes: Constrictions in the cavity leading to signal frequency increases.
    • Antinodes: Cavity openings leading to frequency decreases.
    • Vowel Resonance Tube Models:
    • Vowel [i]: Tongue constriction at the palatal position (pp).

Tube model and standing wave resonances for vowel i

* Vowel [a]: Tongue constriction at the pharyngeal position (phph).

Tube model and standing wave resonances for vowel a

* Vowel [u]: Tongue constriction at the velar position (vv).

Tube model and standing wave resonances for vowel u

  • Anatomical Formant Scaled Differences

    • Female supralaryngeal vocal tracts are approximately 20%20\% shorter than male tracts, yielding formant frequencies that are on average 20%20\% higher.
    • F1F_1 correlates directly with vowel height / degree of jaw opening.
    • F2F_2 correlates directly with vowel backness / degree of tongue frontness.
  • Socio-Phonetics and Cognitive Biases

    • Voices encode social markers (age, gender, social class, origin, education).
    • Cognitive Biases & Stereotypes: "Hearing what is expected" based on prior identity knowledge.
    • Linguistic Priming: Audio ordering affects speaker recognition. Lower recording quality amplifies perceptual biases.