版本
menu_open

对音频文件做转码

在创建转码设置 ShareSet 并将它们应用到工程中的各种对象后,就可以对音频文件做转码了。您可以决定是对层级结构中选定对象的文件还是对所有未转码的音频文件做转码。您还可以根据以下条件指定转码的范围:

  • Platform —— 工程中的当前或所有平台。

  • Language —— 当前语言或为工程创建的所有语言。这种转码只针对 sound voice(语音声)文件。

  • Sources —— Contents Editor 中正在使用的声音版本或声音(源)的所有版本。

对音频文件做转码是一个非常耗时的过程,特别是当工程中有成千上万的素材时尤其如此。为了帮助加速这一过程,Wwise 会自动使用多核机器中的所有处理核心。

[备注]备注

如果您在转换音频源时遇到问题,则可能是因为文件名的长度造成的。有关文件名限制的详细信息,请参阅“Wwise 中的文件路径长度限制”一节

为特定对象对音频文件做转码的方法是:

  1. To open the Audio File Conversion dialog, do one of the following:

    • In the Audio tab of the Project Explorer or Contents Editor, right-click the object you want to convert, and from the menu, select Convert.

    • 选择对象或音频源,然后在菜单栏中点击 Edit > Convert

    • 在 SoundBank Editor 的 Edit 选项卡中,选择并右键点击若干个对象,然后从菜单中选择 Convert

    • 在 Conversion Settings Editor 中,选择音频源表格中的若干个音频源,然后击 Convert

    The Audio File Conversion dialog opens.

  2. In the Platforms group select one or more of the listed platforms.

  3. In the Languages group, select one of the following options:

    • Current language(当前语言)

    • All languages(所有语言)

  4. In the Sources group, select one of the following options:

    • In Use version(正在使用的版本)

    • All version(所有版本)

  5. 单击 OK(确定)。

    The Conversion - In Progress dialog opens. 第一个进度条显示音频源转码过程的总体进度。若干个次要进度条显示各个文件的转码进度。次要进度条的数量将取决于设备中的处理器内核数。

    When the file conversion is complete, the dialog closes.

    [备注]备注

    If Wwise encounters any issues while converting the audio source, it will display information about them in the Conversion Log at the bottom of the dialog. 您可以随时点击“Stop”来停止转码过程,以进一步调查这些错误消息。Conversion Log(转码日志)条目会同时显示在 Logs(日志)视图的 Conversion(转码)选项卡中。

  6. 在 Conversion Settings Editor 中,您可以仔细阅读音频源表格中的信息,以确保各个转码源声道数正确,格式正确,采样率恰当,并且大小合理。

    [备注]备注

    要查看不同平台的转码结果信息,只需从 Wwise 工具栏的 Platform Selector 列表中选择对应平台即可。

对 Audio 选项卡中的所有音频文件做转码的方法是:

  1. Project 菜单中,选择 Convert All Audio Files>(清除音频文件缓存)。

    The Audio File Conversion dialog opens.

  2. In the Platforms group select one or more of the defined platforms.

  3. In the Languages group, select one of the following options:

    • Current language(当前语言)

    • All languages(所有语言)

  4. In the Sources group, select one of the following options:

    • In Use version(正在使用的版本)

    • All version(所有版本)

  5. 单击 OK(确定)。

    The Conversion - In Progress dialog opens. 第一个进度条显示音频源转码过程的总体进度。若干个次要进度条显示各个文件的转码进度。次要进度条的数量将取决于设备中的处理器内核数。

    When the file conversion is complete, the dialog closes.

    [备注]备注

    If Wwise encounters any issues while converting the audio sources, it will display information about them in the conversion log at the bottom of the dialog. 您可以随时点击 Stop 来停止转码过程,进一步调查这些错误消息。


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅