AVAS (Acoustic Vehicle Alerting System)
Controls the Acoustic Vehicle Alerting System required on electric/hybrid vehicles at low speeds. Generates artificial engine sounds to alert pedestrians when the vehicle is moving quietly below a threshold speed.
Controls the Acoustic Vehicle Alerting System required on electric/hybrid vehicles at low speeds. Generates artificial engine sounds to alert pedestrians when the vehicle is moving quietly below a threshold speed.
Hooks
| Hook | Description |
|---|---|
initSounds(jbeamData) | Initializes forward and reverse loop SFX sources and sets the speed threshold for activation (default 50 km/h). |
updateGFX(dt) | Switches between forward, reverse, and silent states based on gear selection and speed. Modulates sound volume and pitch relative to vehicle velocity. |
module.reset() | Resets the controller to its initial state. |
See Also
- Electric Motor Shift Logic — Electric motor control
Air Brake Sound Controller
Manages sound effects for pneumatic air brake operation — the characteristic hiss of air release when brakes are applied and released on heavy trucks.
Linear Movement Sound Controller
Plays sound effects synchronized with linear actuator or hydraulic cylinder movement. Maps actuator position/speed to sound playback for realistic mechanical audio feedback.