Pulse-Train-Resonator offers a unique approach to engine sound synthesis using deep learning. By modeling combustion pressure pulses and exhaust propagation directly, it significantly improves audio reconstruction. This architecture showcases generalization across various engine types through physics-informed synthesis, making it a versatile tool for audio engineers and developers.
Physics-Informed Neural Engine Sound Synthesis
The Pulse-Train-Resonator (PTR) represents an advanced deep learning architecture designed for synthetic engine sound generation. This model innovatively simulates combustion pressure pulses and exhaust propagation utilizing differentiable synthesis components. Unlike traditional methods that primarily focus on spectral characteristics, the PTR directly models the fundamental pulse structure of engine noises, providing a more accurate representation of engine sound dynamics.
Understanding that engine sounds derive from a sequence of combustion pressure pulses rather than continuous harmonic oscillations, the PTR method utilizes parameterized pressure waves aligned with engine firing patterns. These waves are propagated through differentiable Karplus-Strong resonators, effectively simulating exhaust acoustics. Trained on the Procedural Engine Sounds Dataset, PTR showcases its ability to generalize across various engine configurations, outperforming traditional harmonic-plus-noise baselines while utilizing identical network architectures.
This repository is organized as follows:
ptr-model/
├── checkpoints/ # Pre-trained model weights
│ └── 2025-08-31_models_and_weights.zip
├── configs/ # Base configuration files
├── scripts/ # Training and inference scripts
│ ├── train.py # Training pipeline with CLI
│ └── inference.py # Model inference with CLI
├── src/ # Source code
│ ├── audio/ # Audio processing utilities
│ ├── data/ # Data loading and processing
│ ├── models/ # Model implementations
│ │ ├── hpn_model.py # Harmonic-Plus-Noise baseline
│ │ ├── hpn_synth.py # HPN synthesis modules
│ │ ├── ptr_model.py # Pulse-Train-Resonator model
│ │ ├── ptr_synth.py # PTR synthesis modules
│ │ └── model.py # Base model architecture
│ ├── training/ # Training utilities
│ └── utils/ # General utilities
├── pyproject.toml # Python dependencies and metadata
├── README.md # This file
└── LICENSE # License file
Evaluation results underline the effectiveness of the PTR model against a Harmonic-Plus-Noise (HPN) baseline. Across three engine configurations, the PTR model achieved:
| Dataset | HPN Harm. | HPN STFT | HPN Total | PTR Harm. | PTR STFT | PTR Total |
|---|---|---|---|---|---|---|
| A | 0.107 | 1.781 | 0.944 | 0.090 | 1.649 | 0.872 |
| B | 0.059 | 1.824 | 0.943 | 0.055 | 1.754 | 0.907 |
| C | 0.166 | 2.093 | 1.132 | 0.117 | 2.017 | 1.069 |
| Mean | 0.111 | 1.899 | 1.006 | 0.088 | 1.807 | 0.949 |
The model utilizes the Procedural Engine Sounds Dataset, which includes:
Dataset access is available through:
For supplementary resources, including audio examples and detailed model outputs, please visit: Audio Examples.
This repository serves as a pioneering effort in integrating physics-informed models within deep learning frameworks for audio synthesis, enabling broader applications beyond automotive sound design.
No comments yet.
Sign in to be the first to comment.