Version

menu_open
Avertissement : certains renseignements protégés ne sont pas affichés sur cette page.
Assurez-vous d'être connecté si vous êtes un utilisateur avec une license pour des plateformes en particulier.

Creating audio Conversion Settings ShareSets

The ShareSets you create to manage the Conversion Settings are based on the needs of your project and the requirements of each active platform. Many of your choices here can have a big impact on the performance and quality of your audio project. After applying the ShareSets to the objects in your project, you can go back and tweak your conversion setting ShareSets at any time to achieve the best possible quality within the constraints of the platform and the game. When you import audio files you can also speed up the process by re-using the same ShareSets that you have defined here for language and source versions.

You can use one of your ShareSets as the default Conversion Settings for your project. For more information, refer to Specifying the default conversion settings.

The Conversion Settings Editor is divided into two main sections:

  • Settings: The area above the Audio Sources. It allows you to set the Conversion Settings for each platform, including sample rate, audio format, and number of channels.

  • Results: The area listing all your audio sources. It allows you to compare the original and converted sources, including the number of channels, sample rate, and file size.

The audio conversion process retains the same pitch and duration as the original files; however, you can define the following properties for your conversion:

You can also specify whether you want to:

  • Insert a filename marker for lip-syncing or sub-titling;

  • Remove DC offset;

    [Caution]Caution

    We recommend retaining the DC offset for looping sounds. The remove mechanism is a high-pass filter, so it might modify the first and last samples of the loop in different ways. This could create a discontinuity in the signal, audible as a click, when the first and last samples play contiguously.

  • Apply dither; or

  • Allow channel upmix, which means mono source files will be converted to stereo when channels are marked as Stereo or Stereo drop.

    [Note]Note

    If this option is not selected, mono source files will remain mono regardless of the Channels settings.

About audio channels

When converting multichannel audio sources, you must decide which channels to preserve. For more information, refer to Channel configuration.

You can choose from the following channel options, however, only ADPCM, WEM Opus, PCM, and Vorbis audio formats support all configurations of multichannel files. When the selected channel option is not supported by the audio format, Wwise downmixes the content to the next supported configuration.

Channel Option

Description

Comments

As Input

Preserves the same number of audio channels as the original media file.

Some audio formats may not be supported on some platforms, in which case multichannel files will be downmixed to stereo.

Mono

All channels are mixed into one.

The L-R Mix is only used for Stereo to Mono conversion. Other channel configurations are downmixed according to Downmixing behavior.

The LFE channel is always dropped.

Mono drop

All channels are dropped except the first one.

Depending on the channel configuration of the original file, the first channel can either be the Left or Center channel.

Stereo

All channels are mixed into front left and front right.

The L-R Mix is only used for Mono to Stereo conversion. Other channel configurations are downmixed according to Downmixing behavior.

The LFE channel is always dropped.

Stereo drop

All channels are dropped except channels that are defined as Left or Right.

In cases where no channel is defined as Left or Right, and there is a Center channel defined (mono), the following conversion occurs:

Left = 0.707C Right = 0.707C

The converted file will be twice the size of the original file.

5.1

Force convert to 5.1.

Channels defined as Left, Right, Center, LFE, Surround Right and Surround Left are preserved.

Standard height channels, if present, are mixed down into the matching channels.

If the input format did not include all required channels, the resulting output will create the 5.1 content filled with no sound for channels that were not provided content.

5.1 Drop

All channels are dropped except channels that are defined as Left, Right, Center, LFE, Surround Left and Surround Right.

7.1

Force convert to 7.1.

Channels defined as Left, Right, Center, LFE, Surround Right, Surround Left, Back Left and Back Right are preserved.

Standard height channels, if present, are mixed down into the matching channels.

If the input format did not include all required channels, the resulting output will create the 7.1 content filled with no sound for channels that were not provided content.

7.1 Drop

All channels are dropped except channels that are defined as Left, Right, Center, LFE, Surround Left, Surround Right, Back Left and Back Right.

It is important to note that Wwise does not do any multichannel encoding; it simply provides LPCM data to the console or system in either stereo, or 5.1 or 7.1 surround. Once the LPCM data is received by the console or system, it can then be output in almost any format supported by the particular console or system, including Dolby, DTS, or DPL2. Some restrictions do exist, however, including:

  • Only stereo output is supported on the Android and iOS platforms.

  • Only stereo and 5.1 surround output is supported on the Switch platform.

  • Only stereo, and 5.1 and 7.1 surround output is supported on the Mac and tvOS platforms.

  • Other platforms, such as Windows, PlayStation 4, PlayStation 5, Xbox One, and Xbox Series X, natively support up to 7.1 channels at their output. Wwise is able to carry all standard channel configurations (up to 13.1 channels), as well as anonymous configurations (up to 256 channels). Note that these configurations require the use of a special sink plug-in that can interpret them and/or pass them to dedicated hardware.

About sample rates

The sample rate determines the number of times per second a digital audio signal is sampled. When deciding on which sample rate to choose, many factors come into play and like other quality/performance issues, setting the sample rate is a balancing act. To give you as much control as possible, Wwise gives you many different sample rate conversion options:

  • As Input - Converts the file using the same sample rate as the original file. If the sample rate is not available for a particular platform or audio format, then the closest sample rate available will be used.

  • Auto (Low/Medium/High) - Converts the file using a sample rate selected by Wwise after performing an FFT analysis of the file. The difference between the low, medium, and high quality settings is the cutoff threshold value used by the algorithm. You can tweak the quality level of each setting by defining their threshold values in the Project Settings dialog. For more information on the automatic sample rate detection performed by Wwise, refer to Defining the sample rate automatic detection settings.

  • 300 to 48,000 - Converts the file using a specific sample rate. The sample rate range varies for each platform up to a maximum of 48,000 Hz.

[Note]Note

In the cases As Input and Auto, you can further restrict the sample rate via the Min Sample Rate and Max Sample Rate combo boxes.

About audio formats

Wwise supports the following audio formats to give you flexibility and control to work around the limitations of each platform:

  • ADPCM - An audio file conversion encoding method that quantizes the difference between a sound signal and a prediction that has been made of that sound signal. The ADPCM quantization step is adaptive, which differs from PCM encoding where the signals are quantized directly. Fundamentally, ADPCM offers significant gains in storage and CPU usage at the cost of sound quality. As such, it is typically used on mobile platforms.

  • WEM Opus - A low-latency audio codec, supported on all platforms and optimized for both voice and general-purpose audio. WEM Opus outperforms other codecs for compression without compromising on sound quality. The balance between data compression efficiency and perceived sound quality is controlled using the Bitrate setting; the higher the rate, the better the sound quality. This version is a standard implementation of the Opus specification, but stored in a container that is better optimized for seeking and looping when streamed from disk. The WEM Opus decoder needs a lot of pre-roll to start decoding, which can incur a significant cost in CPU and streaming resources. Therefore, it is not suited for applications that need a lot of seeking or looping, such as in complex Interactive Music, sample-accurate loops, or trigger-rate containers. However, to offset this disadvantage, decoding is hardware-accelerated on some platforms.

  • PCM - Linear pulse-code modulation encoding, which is also referred to as uncompressed digital audio. PCM offers the best quality and performance at the expense of storage size. By default Wwise converts audio to a bit depth of 16, but you can select a conversion option to preserve 24-bit material at full resolution.

  • Vorbis - A perceptual encoding method that permits encoding of audio files at fixed and variable bitrates while maintaining a very good perceived sound quality. The balance between data compression efficiency and perceived sound quality is controlled using the Quality Factor setting or by specifying the maximum, minimum, and average bitrates per channel. The Vorbis encoder may require the use of a seek table. For more information, refer to Using seek tables with the Vorbis encoder.

    Audiokinetic's special implementation of Vorbis is highly optimized for all platforms.

[Note]Note

There are several platform-specific audio formats supported by Wwise that are not discussed on this page for proprietary reasons. Licensed users who are logged in to the Audiokinetic website will have access to pages that provide details on these formats.

Each format has its advantages and disadvantages and the format you choose will depend on the CPU and memory restrictions of your particular game. For a further discussion on when to use which audio format, refer to Audio formats.

About DC offsets

It is a good idea to remove the DC offset using a DC offset filter because DC offsets can affect volume and cause artifacts in Wwise. There are some cases, however, where you should not remove the DC offset, for example, for sample accurate containers. In other cases, for example, where sounds are normalized to 0 dB, you may or may not need to remove the DC offset. During the conversion process, DC offsets are removed by default. You can, however, disable this setting if needed in the Conversion Settings dialog.

[Caution]Caution

If you are generating motion directly from your audio sources, removing the DC offset might alter the motion output for controllers.

To create a Conversion Settings ShareSet:

  1. In the Project Explorer, switch to the ShareSets tab.

  2. In the Conversion Settings section, select the Work Unit into which you want to create the new ShareSet.

  3. From the Project Explorer toolbar, click the Conversion Settings icon .

    A new Conversion Settings ShareSet is created in the selected Work Unit.

  4. Name the ShareSet appropriately and press Enter.

  5. Double-click the new ShareSet to load it in the Conversion Settings Editor.

  6. Specify the Channels for each platform by selecting one of the following:

    • As Input - To preserve the same number of audio channels as the original media file.

    • Mono - To mix all channels into one mono channel.

    • Mono drop - To drop all channels except the first one.

    • Stereo - To mix all channels into the front left and front right.

    • Stereo drop - To drop all channels except the ones defined as Left and Right.

    [Note]Note
    1. By default, the channel settings are linked across all platforms. To specify a unique channel setting for a particular platform, unlink the property first and then define the setting.

    2. If you don't want to increase the number of channels for mono files, make sure to disable the Allow channel upmix option.

  7. If you are converting a stereo source to mono or vice versa, you can use the L-R Mix settings to specify the power level of the signal assigned to the left and right channels.

    [Note]Note

    By default, the L-R Mix settings are unlinked across all platforms. To specify a common L-R Mix setting for particular platforms, link the property first and then define the setting.

  8. From the Sample Rate list, select the frequency with which the audio files will be sampled per second during conversion. Depending on the particular circumstances of your game, you can select one of the following options:

    • As Input - To convert the file using the same sample rate as the original file. If the sample rate is not available for a particular platform or audio format, then the closest sample rate available will be used.

    • Auto (Low/Medium/High) - To convert the file using a sample rate selected by Wwise after performing an FFT analysis of the file. The difference between the low, medium, and high quality settings is the cutoff threshold value that identifies the frequency used to determine the best sample rate in which to convert your files. You can tweak the quality level of each setting by defining their threshold values in the Project Settings dialog. For more information on the automatic sample rate detection performed by Wwise, refer to Defining the sample rate automatic detection settings.

    • 300 to 48,000 - To convert the file using a specific sample rate. The sample rate range varies for each platform up to a maximum of 48,000 Hz.

  9. If the Sample Rate is set to either As Input or Auto, then use the Min Sample Rate and Max Sample Rate entries to restrict the conversion sampling rate.

  10. From the Format list, select the audio format for the conversion.

    [Note]Note

    Some audio formats have encoding parameters that can be modified. When any of these formats is selected, an Edit button appears in the Adv. column. Select the Edit button to modify the encoding parameters for the selected audio format. For a complete description of the encoding parameters for each audio format, click the Help button in the corresponding dialog. For information on best practices for selecting parameters for the Vorbis audio format, refer to the Vorbis Encoder Parameters page in the reference documentation.

  11. From the Sample rate conversion quality list, select the method that will be used to convert the file's sample rate. You can select either of the following options:

    • Normal (Faster) - Produces a good quality conversion that is three to six times faster than the Best option.

    • High (Slower) - Produces the best quality conversion.

    [Note]Note

    If you expect your content to contain high frequencies and you are converting to sample rates below 24 kHz, it is recommended that you use the High option.

  12. If you want a marker to be created at the beginning of each converted file, select Yes from the Insert Filename Marker list.

    The marker will only contain the filename and not the file's path and extension. Having the name visible can be useful when you want to bind an action to a sound playing in the sound engine, for example, when lip-syncing or sub-titling.

  13. If you don't want DC offset to be removed during the conversion process, clear the Remove DC Offset check box.

    By default this option is selected. In most cases, it is preferable to remove any DC offset. There are cases, however, where the DC offset may not need to be removed, including:

    • Sounds that will be added to sample accurate containers.

    • Sounds that are normalized to 0 dB.

      For more information about how DC offsets affect audio signals in Wwise, refer to Removing DC offsets.

    [Caution]Caution

    If you are generating motion directly from your audio sources, you should be aware that the removal of the DC offset will alter the motion output.

  14. If you don't want dithering to be applied during the bit rate conversion, clear the Apply Dither check box.

    Dither is the noise added to a signal prior to quantization in order to reduce the distortion and noise modulation that results from the quantization process. Dithering is only applied when the resolution changes, for example, from 24 bits to 16.

  15. Close the Conversion Settings Editor.

    The settings that you have specified are automatically saved and the ShareSet can now be assigned to one or more objects in your project hierarchy.

  16. Repeat steps 1-14 to create as many Conversion Settings ShareSets as needed for your project.

    [Note]Note

    Before the Audio Sources table is populated, you must assign the Conversion Settings ShareSet to an object and then convert the audio files using these settings. For more information on assigning a Conversion Settings ShareSet to an object, refer to Assigning Conversion Settings ShareSets to objects.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise