Thesis Site Playground Cite

Bounded Temporal Displacement Fields

A Unified Coefficient-Driven Kernel for Deterministic Groove Synthesis
Armand Lefebvre · Lefebvre Design Solutions · February 2026
Abstract. Groove engines in digital audio workstations typically employ branching logic to switch between timing models, with each style requiring its own code path, parameter space, and test suite. This paper presents the Unified Displacement Kernel, a single additive equation that replaces all groove-type branching with coefficient-driven displacement. The kernel defines a displacement field \( \Delta : D \times \Theta \rightarrow \mathbb{R} \) over a compact product domain, where \( D \) encodes normalized step position, velocity, bar index, and tempo, decomposing timing displacement into five orthogonal basis functions: linear offset, progressive curvature, velocity-phase coupling, bar-periodic macro drift, and harmonic gravity. Style is controlled entirely by a coefficient vector \( \theta \in \mathbb{R}^6 \) rather than conditional logic. A formal boundedness theorem demonstrates global stability via the triangle inequality and the Extreme Value Theorem, guaranteeing that no admissible configuration produces unbounded timing displacement. The kernel satisfies four invariants: bounded, BPM-scaled, deterministic under IEEE-754 evaluation, and resettable at phrase boundary. Hardware quantization is applied as a final transform, preserving the PPQN fidelity of target devices.

1. Formal Definitions

Definition 1 (Coefficient Vector).
A groove profile is specified by a coefficient vector \[ \theta = (\Delta_L,\; D_{\max},\; \alpha,\; A,\; \rho,\; \Gamma_{\max}) \in \Theta \subset \mathbb{R}^6 \] where \( \Delta_L \) is the linear offset, \( D_{\max} \) is the maximum curvature displacement, \( \alpha \) is the curvature exponent, \( A \) is the macro drift amplitude, \( \rho \) is the velocity-phase coupling coefficient, and \( \Gamma_{\max} \) is the harmonic gravity scale. The admissible set \( \Theta \) is bounded, determined by implementation constraints. The reference velocity \( v_0 \), phrase period \( P \), and minimum tempo \( BPM_{\min} \) are fixed global constants.
Definition 2 (Input Domain).
The input domain is the product space \[ D = [0,1] \times [0,1] \times \{0, 1, \ldots, P{-}1\} \times [BPM_{\min},\; BPM_{\max}] \] where the four factors represent normalized step position \( n/N \), velocity \( v \), bar index \( b \) within a phrase of period \( P \), and tempo respectively. The bar index factor is finite, and all other factors are closed bounded intervals in \( \mathbb{R} \). Therefore \( D \) is compact.
Definition 3 (Displacement Field).
The displacement field is a function \( \Delta : D \times \Theta \rightarrow \mathbb{R} \), where \( \Theta \subseteq \mathbb{R}^6 \) is the bounded admissible coefficient space, defined by: \[ \Delta(x;\theta) = \beta(BPM) \cdot \bigl[\Delta_L + \Gamma(\tau) \cdot \bigl(\Delta_C(n/N;\alpha) + \Omega(v;\rho)\bigr) + \Psi(b;A)\bigr] \] where \( \beta(BPM) = 90/BPM \), \( \Delta_C(n/N;\alpha) = D_{\max} \cdot (n/N)^\alpha \), \( \Omega(v;\rho) = \rho \cdot (v - v_0) \), \( \Psi(b;A) = A \cdot \sin(2\pi \cdot b / P) \), and \( \Gamma(\tau) \) is a continuous function on \( \tau \in [0,1] \), bounded by \( |\Gamma(\tau)| \leq \Gamma_{\max} \). The harmonic gravity function \( \Gamma \) attains its extrema by the Extreme Value Theorem.
Definition 4 (Final Output).
The scheduled time is \( T_{\text{final}} = Q_{\text{PPQN}}(T_{\text{grid}} + \Delta(x;\theta)) \), where \( Q_{\text{PPQN}} \) rounds to the nearest pulse of the target hardware resolution. Quantization is applied after all displacement computation.

2. The Unified Displacement Kernel

2.1 Canonical Form

The kernel computes a signed timing displacement for each musical event:

\[ T_{\text{final}} = Q_{\text{PPQN}}\!\left(T_{\text{grid}} + \beta \cdot \bigl[\Delta_L + \Gamma(\tau) \cdot \bigl(\Delta_C(n) + \Omega(v)\bigr) + \Psi(b)\bigr]\right) \]

where each basis function is defined as:

\[ \Delta_C = D_{\max}(n/N)^\alpha \qquad \Omega = \rho(v - v_0) \qquad \Psi = A\sin(2\pi b / P) \]
TermNameDefinitionLayer
\( T_{\text{grid}} \)Grid TimeQuantized step position from BPM and step indexTransport
\( \beta \)BPM Scalar\( 90 / BPM \); normalizes to reference tempoTransport
\( \Delta_L \)Linear OffsetStatic per-channel timing bias (ms)Scheduler
\( \Delta_C(n) \)Curvature\( D_{\max} \cdot (n/N)^\alpha \)Groove Field
\( \Omega(v) \)Phase Coupling\( \rho \cdot (v - v_0) \)Physics
\( \Psi(b) \)Macro Drift\( A \cdot \sin(2\pi \cdot b/P) \)Phrase
\( \Gamma(\tau) \)Harmonic GravityContinuous on \( [0,1] \); elastic components onlyHarmonic
\( Q_{\text{PPQN}} \)Hardware QuantizeRounds to nearest hardware pulse (final transform)Hardware

2.2 Architectural Constraints

First, harmonic gravity \( \Gamma(\tau) \) multiplies only the elastic components \( (\Delta_C + \Omega) \), never the linear offset \( \Delta_L \) or macro drift \( \Psi \). This ensures that harmonic context modulates the feel of displacement without altering the structural timing skeleton. Without this constraint, changing musical key would cause snare drag to shift.

Second, hardware quantization \( Q_{\text{PPQN}} \) is applied as the final transform, after all displacement computation. This preserves the timing resolution of the target device.

Third, the kernel is a pure function: it receives a precomputed context and returns a displacement value. It performs no mutation, holds no state, and makes no scheduling decisions.

3. Individual Bounds

ComponentDomainBound
\( \beta \)\( BPM \in [BPM_{\min}, BPM_{\max}] \)\( 0 < \beta \leq 90/BPM_{\min} \)
\( \Delta_L \)Per-channel constant\( |\Delta_L| \leq L_{\max} \)
\( \Delta_C(n) \)\( n/N \in [0,1] \)\( 0 \leq (n/N)^\alpha \leq 1 \), so \( |\Delta_C| \leq D_{\max} \)
\( \Omega(v) \)\( v \in [0,1] \)\( |v - v_0| \leq 1 \), so \( |\Omega| \leq |\rho| \)
\( \Psi(b) \)\( b \in \{0,...,P{-}1\} \)\( |\sin(\cdot)| \leq 1 \), so \( |\Psi| \leq A \)
\( \Gamma(\tau) \)\( \tau \in [0,1] \) (compact)Continuous; \( |\Gamma| \leq \Gamma_{\max} \) by EVT

4. Global Boundedness

Theorem 1 (Global Boundedness).
For all admissible coefficient vectors \( \theta \in \Theta \) and all admissible inputs \( x \in D \), the displacement \( \Delta(x;\theta) \) is globally bounded. Specifically, \( |\Delta(x;\theta)| \leq \Delta_{\max} \), where \( \Delta_{\max} \) is a finite constant computable from \( \theta \).

Proof. Define the interior sum \( S = \Delta_L + \Gamma(\tau)(\Delta_C + \Omega) + \Psi \). By the triangle inequality:

\[ |S| \leq |\Delta_L| + |\Gamma(\tau)| \cdot |\Delta_C + \Omega| + |\Psi| \]

Applying the individual bounds:

\[ |S| \leq L_{\max} + \Gamma_{\max} \cdot (D_{\max} + |\rho|) + A \;:=\; C \]

where \( C \) is a finite constant determined by the profile coefficients. Since \( \Delta = \beta \cdot S \) and \( |\beta| \leq 90/BPM_{\min} \):

\[ |\Delta| \leq \frac{90}{BPM_{\min}} \cdot C = \Delta_{\max} \]

The domain \( D = [0,1] \times [0,1] \times \{0,...,P{-}1\} \times [BPM_{\min}, BPM_{\max}] \) is a product of closed bounded intervals and a finite set, hence compact. Each basis function is continuous on its respective factor. The displacement field \( \Delta : D \rightarrow \mathbb{R} \) is therefore a continuous function on a compact domain. By the Extreme Value Theorem, \( \Delta \) attains its global maximum and minimum on \( D \).

5. Coefficient Profiles

Six canonical groove styles from 1990s popular music production, each produced by the identical kernel function \( \Delta(x;\theta) \) with different parameter values.

Style\(\Delta_L\)\(\alpha\)\(A\)\(\rho\)PPQNCharacter
Boom Bap101.00096Static snare drag
Neo-Soul01.2540.296Elastic pocket
Timbaland01.08096Phrase breathing
MPC6061.00096Hardware emulation
G-Funk81.03096Sub-bass lag
New Jack Swing21.000.396Velocity interaction

Interpolation between profiles is trivial: linearly blend the coefficient vectors.

6. Implementation

The kernel is implemented as a pure function suitable for execution in a Web Audio worklet. The core function accepts an event descriptor and a precomputed context object, and returns a signed displacement value in milliseconds. For identical inputs, it produces bit-identical output under IEEE-754 deterministic evaluation.

Context assembly occurs outside the kernel boundary: the context assembler constructs the coefficient context from the active groove profile and the current musical state. The scheduler applies PPQN quantization as the final transform before dispatching to the audio clock.

7. Interactive Coefficient Playground

Displacement Laboratory

Tgrid

8. Invariant Verification

Bounded: For all profiles and all BPM values in the production range (60–180), the absolute displacement does not exceed the profile-specific \( \Delta_{\max} \). This is verified by exhaustive sweep over discretized \( D \).

BPM-Scaled: Displacement at 70 BPM is exactly twice the displacement at 140 BPM, for identical coefficients. Since \( \beta = 90/BPM \), the ratio \( \beta_{70}/\beta_{140} = 2 \). Mathematically exact.

Deterministic: Ten consecutive evaluations with identical context produce bit-identical output under IEEE-754 compliant evaluation. No randomness is permitted inside the kernel boundary.

Resettable: Macro drift is periodic via bar index modulo \( P \). Phrase reset clears accumulated drift to zero.

9. Discussion

The Unified Displacement Kernel differs from prior work in three respects. First, it is additive rather than template-based, enabling continuous interpolation between styles and formal analysis of the displacement space. Second, it is deterministic rather than stochastic, essential for reproducible audio rendering and automated testing. Third, it is formally bounded by construction; the boundedness proof is not an empirical observation but a mathematical consequence of the kernel architecture.

The displacement field \( \Delta(x;\theta) \) is Lipschitz continuous in each coefficient. Since each basis function is a polynomial, sinusoidal, or linear term, the partial derivatives \( \partial\Delta/\partial\theta_i \) are bounded on \( D \). This implies that small perturbations in the coefficient vector produce proportionally small changes in displacement, guaranteeing smooth interpolation between groove profiles.

10. Temporal Sensitivity

To quantify how responsive the displacement field is to input variations, we define two orthogonal sensitivity indices evaluated at the current playground state:

Velocity Sensitivity σv
0.000
\( \sigma_v = \frac{\partial \Delta}{\partial v} = \beta \cdot \Gamma_{\max} \cdot \rho \)
Timing shift per unit velocity change.
Position Sensitivity σp
0.000
\( \sigma_p = \frac{\partial \Delta}{\partial (n/N)} = \beta \cdot \Gamma_{\max} \cdot D_{\max} \cdot \alpha \cdot (n/N)^{\alpha-1} \)
Timing slope across step duration (evaluated at n/N = 0.5).

A limitation of the current work is that the coefficient profiles have not been validated through perceptual listening tests. Future work should evaluate perceptual indistinguishability from original production styles.

11. Citation

@article{lefebvre2026bounded, title={Bounded Temporal Displacement Fields for Deterministic Groove Synthesis}, author={Lefebvre, Armand}, year={2026}, url={https://succinctdata.com/paper.html} }

12. Version History

v1.0 — Initial arXiv submission.
v1.1 — Added Lipschitz continuity discussion.
v1.2 — Interactive companion page with coefficient playground.
v1.3 — Radar identity, dual sensitivity indices, causality enforcement, JSON export.