# Engine sound `UDRCEngineSoundComponent` is on every `ADRCVehicle`. It plays a recorded engine, or makes the sound itself. ## A recording Set **Engine Loop** to a recorded engine in a loop: a Sound Wave with **Looping** on (or a looping cue or MetaSound). Record it, or cut it, steady at a middle rpm. The component pitches it with the rpm, from **Pitch At Idle** (0.6) at the setup's idle to **Pitch At Max RPM** (1.8) at its top, and plays it louder with the throttle, from **Volume Off Throttle** (0.6 of full) up. Pitch and volume glide at **Response**. For a truck, a lower range (0.45 to 1.2); for a bike, a higher one (0.8 to 2.2). ## Made as it plays With Engine Loop empty it makes the sound as it plays, with no recordings: the firing frequency (rpm / 60 x cylinders / 2) and five harmonics, brighter and louder under load, over a rumble of filtered noise. Pitch and load glide (**Response**), so a gear change slides instead of clicking. It follows the vehicle's gearbox (**Get Engine RPM**, **Get Gear**, **Get Engine Load**), the one the physics drives with (see [Engine and gearbox](getting-started.html#engine-and-gearbox)), between **Idle RPM** and **Max RPM**. | Setting | What it does | |---|---| | Cylinders | 4 for a car, 2 for a twin, 6 for a truck: the pitch at each rpm | | Engine Volume | Overall level | | Roughness | How much rumble under the tone at full throttle | | Response | How fast pitch and load follow the engine, s | | Hear Radius | Heard at full volume this near (5 m) | | Falloff Distance | Then fades out over this (45 m); past both the component stops making sound | The sound comes from the vehicle and fades with distance; an engine further than Hear Radius + Falloff Distance from every local player's camera does not run at all, so thirty traffic cars cost nothing far away. Override Attenuation in the component's details to use your own.