查看: 486|回复: 6

[引擎各个功能] 【Adding Audio | Unreal Engine】

[复制链接]

1

主题

342

帖子

7万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
75866
发表于 2016-6-25 14:01:36 | 显示全部楼层 |阅读模式



Whether your are looking to score your cinematic with a musical track or want to add sound effects such as impact sounds, voice overs, or others, you'll need to do so with an Audio Track inside Sequencer.

In this how-to, we add a music track to a sample scene and show how you can fade in/out an audio track with a Sound Cue.

Currently Audio Tracks have limited editing capabilities. Additional support will come online in future engine updates.
Steps
For this how-to, we are using the Blueprint Third Person Template with Starter Content enabled.

From the Main Tool Bar click Cinematics and Add Level Sequence.

【虚幻4翻译文档-Adding Audio   | Unreal Engine】[虚幻4中文文档]



Inside the Level Sequence, click the Add button and select the Audio Track.

【虚幻4翻译文档-Adding Audio   | Unreal Engine】[虚幻4中文文档]



Click the + Audio button then select the Starter_Music_Cue asset.

【虚幻4翻译文档-Adding Audio   | Unreal Engine】[虚幻4中文文档]



Click the + Audio button and select additional audio assets and arrange on the timeline as desired.

【虚幻4翻译文档-Adding Audio   | Unreal Engine】[虚幻4中文文档]



You can layer sounds by arranging one audio asset on top of another.

Right-click on the Starter_Music_Cue asset to reveal the Properties, then click the magnifying glass icon.

【虚幻4翻译文档-Adding Audio   | Unreal Engine】[虚幻4中文文档]



Along with the properties that you can change for the asset, you can browse to and find the asset in the Content Browser by clicking the Browse To button.

Double-click and open the Starter_Music_Cue Sound Cue asset.

In the Sound Cue Editor, drag an Enveloper into the graph.

【虚幻4翻译文档-Adding Audio   | Unreal Engine】[虚幻4中文文档]



Inside the Sound Cue Editor we can alter and mix sound assets. For this example we want to fade in the sound which we can do with the Enveloper node.

In future engine releases, the ability to edit Audio Tracks within Sequencer will come online and this guide will be updated.

Left-click and connect the nodes as shown below.

【虚幻4翻译文档-Adding Audio   | Unreal Engine】[虚幻4中文文档]



The Starter_Music01 asset will get passed through the Enveloper before outputting the final sound.

In the Details panel of the Enveloper, click the key in the Volume Curve and change the Value to 0.0.

【虚幻4翻译文档-Adding Audio   | Unreal Engine】[虚幻4中文文档]



Here we are stating that at time 0.0 (the start), the value of Volume should be 0.0 (or off).

Hold Shift and Left-click in the curve window to create a new key.

Select the key, then change the Time to 4.0 and Value to 1.0.

【虚幻4翻译文档-Adding Audio   | Unreal Engine】[虚幻4中文文档]



Here we are stating that at 4 seconds, the value of the Volume should be 1.0 (or full volume) giving us a fade in. You can also click the two buttons next to the Time and Value properties to adjust the size of the curve window to display the curve.

If you wanted to fade out for example starting at 10 seconds, you would add a key and set the Time to 10.0 with Value being 1.0. If you wanted the fade duration to last 5 seconds, you would add another key with the Time being 15.0 and the Value being 0.0.

Return to Sequencer and click the Preview Play button.
End Result
You should now hear all your sounds that you've placed in the Audio Track and the music should fade in over time.

Audio Tracks support either Sound Cue or Sound Wave assets and can be added by dragging-and-dropping from the Content Browser into a Level Sequence or by adding through the Add option of an Audio Track.



   



   


      




   


      相关页面

  




       Sequencer 概述








      Sequencer 编辑器参考




回复

使用道具 举报

0

主题

862

帖子

2798

积分

vip会员

Rank: 1

积分
2798
发表于 2016-7-2 18:55:10 来自手机 | 显示全部楼层
来看看能不能下载
回复 支持 反对

使用道具 举报

0

主题

828

帖子

2724

积分

vip会员

Rank: 1

积分
2724
发表于 2016-7-3 21:12:18 来自手机 | 显示全部楼层
这样的人是业界良心 有时在人人下个东西学比取经还难
回复 支持 反对

使用道具 举报

0

主题

875

帖子

2922

积分

vip会员

Rank: 1

积分
2922
发表于 2016-7-4 10:53:50 | 显示全部楼层
楼主好人!
回复 支持 反对

使用道具 举报

0

主题

894

帖子

2963

积分

vip会员

Rank: 1

积分
2963
发表于 2016-7-17 06:00:25 来自手机 | 显示全部楼层
秒了 秒了  秒了  这东西 秒了
回复 支持 反对

使用道具 举报

0

主题

875

帖子

2874

积分

vip会员

Rank: 1

积分
2874
发表于 2016-7-23 04:58:07 来自手机 | 显示全部楼层
恩,好资源~ 哈哈~
回复 支持 反对

使用道具 举报

0

主题

864

帖子

2821

积分

vip会员

Rank: 1

积分
2821
发表于 2016-7-25 06:24:36 来自手机 | 显示全部楼层
好东西这么多....
回复 支持 反对

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | enginedx注册

本版积分规则

 
 



邮件留言:


 
返回顶部