Version
The Wwise Time Stretch plug-in can be used to change the speed or duration of an audio signal without affecting its pitch. The plug-in allows for both Time Stretching and time compression with possibly time-varying time scaling ratio during playback. The plug-in is suitable for use on monophonic as well as polyphonic sounds.
Note | |
---|---|
This effect is only available within the Actor-Mixer Hierarchy. It is also possible to use it inside the Interactive Music Hierarchy, but this is not recommended as it will affect the timings in an undesirable manner in the context of interactive music. |
Warning | |
---|---|
Time compression of streamed assets is not recommended and may cause source starvation due to higher throughput required. Time Stretching on the other hand is not a problem for streaming sounds. |
Choosing the window size parameter is an important step to obtain good quality results. While the default value (2,048) should work well for most content, tuning this parameter is essential for obtaining the best time scaling effect with as little artifacts as possible. While larger window size settings give better frequency resolution, they have less accurate time-domain resolution and thus result in more smearing of transients signal. The window size parameter is thus a compromise between time resolution and frequency resolution.
The ideal window size setting is dependent on audio content where signals with lots of transients (e.g. punches, drums, explosions,etc.) may benefit from smaller window size settings while harmonic signals with more stable frequency content (e.g. voices, musical instruments, etc.) may work best with larger window size parameter values which provide more accurate frequency resolution.
When planning to make the signal much slower by applying a large Time Stretch setting, larger window size parameter values are often desirable as the frequency resolution gets very noticeable when the sound is playing back very slowly.
The Wwise Time Stretch plug-in contains a series of properties, many of which can be edited in real-time and can be mapped to specific Game Parameters using RTPCs.
Interface Element |
Description |
|||||
---|---|---|---|---|---|---|
Inclusion
|
Determines whether the element is included or excluded. When selected, the element is included. When unselected, the element is not included. By default, this applies across all platforms. Use the Link indicator (to the left of the check box) to determine or to set platform-specific customizations. When this option is unselected, the property and behavior options in the Property Editor become unavailable. |
|||||
Name |
The name of the Effect instance. Effect instances are a group of effect property settings. They can be one of two types: custom instances or ShareSets. Custom instances can be used by only one object, whereas ShareSets can be shared across several objects. |
|||||
Effect |
The type of effect. |
|||||
Shared by (Used by) |
A list of objects that currently subscribe to the selected ShareSet. This field is called “Used by” when editing a custom instance of the Effect. |
|||||
|
Opens a search field where standard alphanumeric entries filter out unmatching elements from the view. Learn more in Using Tables. Click the Close icon to the left of the search icon to close the search field and remove the filter.
|
|||||
|
Returns the Effect property settings to their default values. This option is only available when editing a custom instance of the Effect. |
|||||
Notes |
Additional information about the Effect. |
|||||
Effect Settings | ||||||
Window Size |
Larger window size gives better frequency resolution but more smearing of transients. This parameter is thus a compromise between time resolution and frequency resolution. See section above for a more detailed discussion on how to choose the value for this parameter. Default Value: 2,048 |
|||||
Time Stretch |
Percentage of original sound duration. 100% corresponds to no Time Stretch while 200% is twice as long. Similarly time compression is possible using 50% to get the sound at half the duration. This value supports RTPC and may be smoothly changed during playback without additional artifacts. Default Value: 100 |
|||||
Time Stretch Random |
Offsets the Time Stretch factor specified by a random amount up to plus or minus the Time Stretch random value. This will be effective for the whole duration of the voice on which the Time Stretch will be applied. RTPC received during the playback will be considered only on the next playback. Default Value: 0 |
|||||
Output gain |
The amount of gain applied to the output signal after the dynamic compression that makes up for potential gain losses. Default Value: 0 |
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise