扬声器物体

Speaker objects are used to play sound within the 3D Viewport. They allow for spatial audio playback, making them useful for animations and interactive scenes. Once added, a speaker's properties can be adjusted in the Properties editor.

../../../_images/render_output_audio_speaker_objects.png

扬声器物体。

播放时间

Unlike other objects, speaker playback timing is not set directly in the properties. Instead, the NLA editor is used to manage when a speaker plays using 声音片段:

  • Sound strips in the NLA editor define when playback starts.

  • Newly added speaker objects automatically receive a sound strip at the current frame.

  • Multiple sound strips can be used to replay the same speaker at different times.

  • Playback continues the length of audio file and does not take into account the length of the sound strip.

数据属性

参考

面板:

属性编辑器 ‣ 数据

../../../_images/render_output_audio_speaker_properties.png

扬声器属性。

声音

打开

用于加载音频文件的 数据块菜单。加载声音时可以检查两个属性:

缓存

Decodes the sound and stores it in memory for faster playback. Best suited for short, frequently played sound effects but not for long audio tracks.

单声道

Forces the sound to be single-channel. Required for 3D audio and panning effects since multi-channel files assume pre-mixed spatialization.

屏蔽

禁用扬声器的音频输出。

体积/音量

调整扬声器的整体响度。

音调

Alters the playback speed, raising or lowering the pitch. Higher values speed up playback, while lower values slow it down.

距离

Distance-based volume attenuation controls how the loudness of a speaker object decreases as the listener moves away. This effect simulates real-world sound behavior, making spatial audio more immersive by ensuring that closer sounds are louder and distant sounds are quieter.

The following settings allow fine-tuning of how sound fades with distance:

体积 最小,最大

Defines the minimum and maximum volume based on distance. The speaker's volume will not go below or above these values, regardless of distance.

衰减量

Controls how strongly volume decreases with distance. The effect depends on the scene's Distance Model.

最大距离

The maximum distance at which volume attenuation calculations apply. Beyond this distance, the volume remains constant.

距离参照

The reference distance at which the volume is considered full (1.0). This should match the distance at which the sound was recorded for accurate playback.

锥形

Settings that define the speaker's directional sound behavior.

Imagine a cone with the top at the origin of the speaker object and the main axis of it facing in the same direction as the speaker. The speaker emits sound directionally using an inner and an outer cone. The angles represent their opening angles, so 360° mean the cone is fully open and there is no directionality anymore.

  • Inside the inner cone: Full volume is maintained.

  • Between the inner and outer cone: Volume is interpolated linearly.

  • Outside the outer cone: Volume is reduced according to the Outer Cone Volume setting.

角度 外侧

The outer cone angle in degrees. Outside this cone, the volume is determined by Outer Cone Volume.

内侧角度

The inner cone angle in degrees. Inside this cone, full volume is maintained.

锥体外侧音量

The volume level outside the outer cone. A lower value makes the sound more directional.

动画

控制场景级属性的动画数据,包括活动的动作及其分配的

请参阅手动指定动作和槽获取更多信息。

自定义属性

创建和管理您自己的属性,以将数据存储在操作的数据块中。有关详细信息,请参阅 自定义属性 页面。