arXiv:2609.03320cs.SDSep 2026

Manuscript Offprint

arXiv:2609.03320

Beyond .WAV: Design and Software Verification of VocalCap, a Traceable Browser-Based Audio Capture System for Vocal Biomarker Research

Augusto Camargo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Remote voice acquisition is often represented by a final audio file with limited evidence about how the signal was captured, transferred, processed, and accepted. This limits the investigation of blank, malformed, incomplete, altered, or incorrectly transformed recordings before they enter vocal biomarker analysis.

This paper presents VocalCap, an institution-controlled, browser-based audio capture system designed for self-guided collection of voice and related acoustic signals by participants without technical training. A versioned protocol drives the participant workflow. Each accepted recording comprises a browser-native object, a client-lossless Float32 WAV derived from the same MediaStream, and a server-canonical mono 16-bit pulse-code modulation (PCM16) WAV. These artifacts remain linked to evidence describing capture execution, technical quality, byte-level integrity, recovery, and transformation provenance. IndexedDB retains accepted browser artifacts until server confirmation, and authoritative session completion requires successful verification of every protocol task and retained artifact.

Software verification challenged the acquisition contracts with malformed or altered artifacts, exact-zero interruptions, channel-topology variants, and interrupted or repeated operations. Controlled tests verified the 40-ms continuity boundary at four sample rates and confirmed preservation of an injected transient after topology-aware canonicalization. A post hoc audit of 39 consented pilot recordings captured with version 0.1.0 and re-inspected with version 0.3.0 for technical verification of the acquisition system found 25 sample-identical stereo files and 14 files with signal confined to the left channel. Selecting the active channel in the latter group limited the canonical root-mean-square level difference to less than 0.001 dB in every file; an equal-weight stereo average would introduce approximately 6.02 dB of attenuation. Fifteen recordings contained an internal exact-zero candidate, of which eight met the active-context failure rule and seven were retained as low-level intervals. Production end-to-end (E2E) verification of version 0.3.0 completed two five-task browser profiles in Chromium and WebKit, producing 10 accepted recordings and 30 retained artifacts that passed server-side integrity and format checks. These findings establish software behavior under the tested browser-engine conditions and characterize technical properties observed in consented pilot recordings produced by project team members. Controlled acoustic agreement across the declared device-support envelope, formal usability evaluation in the target participant population, clinical validity, and biomarker performance require separate studies.

Keywords: vocal biomarkers; audio capture; voice recording; remote acquisition; provenance; data integrity; software verification; self-guided research.

1 Introduction

Voice, speech, cough, breathing, and related acoustic productions are increasingly studied as accessible sources of digital biomarkers for neurological, psychiatric, respiratory, laryngeal, and systemic conditions [2, 3, 5, 6]. These signals can be elicited repeatedly and collected using microphones already present in consumer devices, making them attractive for geographically distributed and longitudinal research. Acquisition conditions constitute an explicit methodological variable. Reviews continue to identify methodological heterogeneity throughout acquisition, data preparation, analysis, and validation [3, 5, 6].

The verification, analytical validation, and clinical validation (V3) framework distinguishes verification of a sensing technology from analytical validation of a derived measure and clinical validation within a context of use [4]. For vocal biomarkers, this distinction means that the recording path must be characterized independently of any claim that an acoustic or linguistic feature measures disease. Instrumental voice-assessment recommendations already emphasize microphone response, distance, calibration, dynamic range, ambient noise, task selection, and reporting [7]. Empirical comparisons also show that device and setting can influence voice measurements even when mobile recordings correlate with studio references [8, 9]. Correlation must be complemented by direct evaluation of agreement and interchangeability.

Remote self-guided acquisition creates an additional operational problem: the participant performs the procedure without trained staff present. The participant workflow must minimize effort and make successful completion clear. The researcher retains responsibility for the data despite losing direct view of permission handling, task interpretation, microphone state, encoding, local persistence, transfer, or recovery. Remote speech studies have documented software navigation problems, repeated failed attempts, reliance on relatives, misunderstood instructions, inconsistent acoustic settings, duplicated collections, and identity ambiguity [10, 11, 12]. These problems can affect missingness, attribution, comparability, participant burden, and signal usability.

VocalCap was informed by prior operational experience rather than designed as a de novo recording prototype. Its predecessor was deployed during the first wave of the COVID-19 pandemic to collect speech remotely for Project SPIRA. The published account documents more than 6,000 remote voice donors, each invited to produce three utterances, in addition to recordings obtained in university hospitals [1]. That deployment supported the first peer-reviewed study arising from the collection and exposed acquisition failures that were difficult to reconstruct from the received audio alone, including blank recordings and device-dependent popping and crackling. These observations directly motivated the validation, provenance, and recovery mechanisms examined in the present work.

These uncertainties persist after a final audio file is received. Waveform inspection may reveal clipping, silence, or truncation; causal localization requires evidence about whether Web Audio received frames, whether the native recorder emitted chunks, whether the microphone track ended unexpectedly, whether the server received the same bytes produced in the browser, and which transformation generated the analysis waveform. These concerns intersect with provenance and electronic-record expectations discussed in Section 2.2.

Existing systems cover overlapping portions of this lifecycle, including prompted collection, survey integration, mobile phenotyping, ecological assessment, and corpus management. Their differing purposes leave open the integration of paired browser artifacts, client-server byte verification, versioned canonicalization, durable recovery, and task-level completion as one acceptance contract for self-guided vocal-biomarker research.

VocalCap is a browser-based audio capture system for vocal-biomarker research. It combines a no-install participant interface with an operational record that links each requested task to browser capture, subsequent processing, and final acceptance. The record preserves observed failures and client-server byte integrity and establishes whether the complete protocol task set was validly accepted. VocalCap centers on this acquisition record and is independent of a single disease, fixed task battery, or downstream biomarker model. The participant-to-WAV path and its boundary with downstream biomarker analysis are summarized in Figure 1; the complementary audio files retained for one accepted recording are detailed in Figure 2.

The objective of this study was to determine whether the frozen VocalCap implementation satisfied defined software contracts at four boundaries: browser capture, cross-boundary byte identity, canonical transformation, and session recovery and completion. Deterministic challenges were supplemented by a post hoc audit of consented pilot recordings used for technical verification of the acquisition system. The audit examined two observed WAV-level failure modes: internal exact-zero interruptions and stereo topology that can alter level during mono canonicalization.

This paper contributes:

  1. a traceable browser-mediated acquisition record that links complementary audio artifacts to capture, integrity, technical-quality, recovery, and transformation-provenance evidence; and

  2. software verification of the implemented acquisition contracts through deterministic and adverse-condition tests, a retrospective technical audit of 39 consented pilot recordings produced by project team members, and production end-to-end (E2E) execution of the deployed version 0.3.0 system.

References (28)