版本
menu_open

Car Engine Using Blend Containers

To create this simulation of a Porsche 911 car engine, two main operations were performed. First, a pitch curve was created for each Sound SFX to link pitch to RPM. Next, these Sound SFXs were placed in a Blend Container to define which would play within defined RPM ranges.

To listen to the car engine example:

  1. Load the “Porsche 911” Blend Container or the “Play_Porsche_911” Event in the Transport Control.

  2. Click RTPCs to modify the Engine_Load and RPM game parameters.

  3. Begin with the Engine_Load at “1” and the RPM at “1000”, then move the RPM value slowly.

Car Engine Details: Matching Pitch to RPM Using RTPCs

Each of the engine Sound SFXs (except idle) has a pitch curve attached to an RPM game parameter. To speed up the process, Wwise allows you to automatically draw a pitch curve based on the actual RPM at which a file was recorded. To use it, right-click any graph segment and select Build Smart Pitch Curve. For more information on this or any other feature, refer to the Wwise Help.

You might have noticed that while certain engine Sound SFXs will not play at certain RPM values, each Sound SFX's pitch curve still extends for the full range of possible RPM values. In this case, because the curves extend past values that will be used, points have been removed to save runtime memory.

Car Engine Details: Using Blend Containers

The car engine simulation consists of six looping Sound SFXs revolving at different RPM on-load values (on-load meaning that the gas pedal is pressed) and six other Sound SFXs matching the same RPM off-load (off-load meaning the gas pedal is released). These Sound SFXs were inserted into the Blend Container on two blend tracks named On-Load and Off-Load. A crossfade region was defined between each of these Sound SFXs to ensure a smooth transition between them for when the RPM game parameter changes in real time.

A volume curve attached to the game parameter “Engine_Load” was created for each blend track. This curve, which is displayed in red, defines which blend track is heard based on the current Engine_Load value:

  • From -1 to ~0: the Off-Load track is heard.

  • From ~0 to 1: the On-Load track is heard.

Therefore, as the game updates the current Engine_Load game parameter, the corresponding curve is heard.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅