A Technical Overview of Web Audio API Synthesis, Auditory Neuroscience, and Psychophysiology Stimulus Generation.
Rumbling utilizes the standard W3C Web Audio API to generate high-fidelity audio frequencies directly inside your web browser. Rather than playing recorded sample buffers, audio waveforms are synthesized continuously in real-time using mathematical oscillator functions operating at high floating-point sample rates (44.1 kHz / 48 kHz).
In cognitive neuroscience and electrophysiology, auditory stimuli are employed to evoke measurable electroencephalographic (EEG) responses in the auditory cortex:
ASSR utilizes 40 Hz amplitude-modulated continuous tones to measure gamma-band neural phase locking in the primary auditory cortex. It is widely used in clinical audiometry, cognitive aging studies, and schizophrenia biomarkers research.
The Oddball paradigm presents repetitive standard tones (e.g. 1000 Hz at 80% probability) interspersed with pseudo-random target deviant tones (e.g. 1200 Hz at 20% probability) to evoke P300 waves and Mismatch Negativity (MMN) cognitive potentials.
Binaural beats occur when two pure sine tones of slightly differing frequencies are presented separately to each ear via stereo headphones. The superior olivary complex in the brainstem integrates the signals, creating a central beat perception equal to the frequency difference \(\Delta f = |f_{left} - f_{right}|\).
Rumbling incorporates an OfflineAudioContext pipeline to render audio signals faster than real-time without hardware DAC distortion. Audio buffers are formatted into standard 16-bit uncompressed PCM stereo WAV files compliant with RIFF specification standards. These high-precision files can be imported directly into acoustic analysis software (e.g., Praat, MATLAB, LabVIEW, PsychoPy) or DAW workstations.