Reading the paper is highly recommended to understand the parameters
Features
General
Variable engine parameters
Mono WAV recording
RON SerDe of engine parameters
Pseudorealistic acoustic pipe/chamber simulation (speed of sound, pipe end reflection) based on the above paper
Advanced clap-rs powered CLI
Intake, Exhaust and Engine vibrations mixing
Resonance dampening (can save your audio equipment and ears)
GUI specific
Compilation of the GUI is enabled by default ("gui" feature, use --no-default-features to disable)
GUI made with conrod/glium
Real-time preview of parameters with cpal audio streaming
Real-time interactive parameter sliders with small descriptions
Record/Stop button
Dropping a config into the window loads the config
Save button to save the current parameters into a timestamped file in the current working directory
Reset sampler button to kill resonances in all acoustic chambers
CLI specific
Headless mode which does not start audio streaming or a GUI
Config argument to specify the file containing RON-serialized parameters
Volume/rpm/length arguments to control master volume/engine rpm/recording length
Crossfade argument which cuts the recording in half, swaps the halves and crossfades the middle x seconds (reduces output length by x/2 seconds), used to make seamless loops
Warmup time argument to wait for the resonances in the acoustic chambers to be established before recording
Preview
CLI
…
GUI
Sound
Generated using the config shown above while adjusting the RPM manually: Audio file
On Ubuntu, these dependencies must be installed for the crate to compile (thanks, leosh64):
sudo apt-get install libasound2-dev libxcb-shape0-dev libxcb-xfixes0-dev