Version
menu_open

Wwise Time Stretch

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] 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] 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

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 (such as punches, drums, and explosions) may benefit from smaller window size settings while harmonic signals with more stable frequency content (such as voices and musical instruments) 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.

Wwise Time Stretch Properties

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.

Default value: true

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.

[Note] Note

The searches do not include elements in collapsed nodes of the List View, Query Editor, MIDI Keymap Editor, and Reference View.

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.

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: 2048
Range: 256 to 4096
Units: Sample frames

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
Range: 25 to 1600
Units: % of original duration

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
Range: 0 to 200
Units: % of original duration

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
Range: -24 to 24
Units: dB


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise