转场:mix
插件信息
title: 混合(Mix)
media types:
Audio
description: 混合两条音轨。
version: 5
creator: Dan Dennedy
copyright: Meltytech, LLC
license: LGPLv2.1
缺陷
- 来自两者中较长一帧的样本会被丢弃。
参数
start
title: 起始
description:
应用于第二帧的混合电平。-1 表示从 0 到 1 自动进行线性交叉淡化。-2 表示从 0 到 1 自动进行等功率(constant-power)交叉淡化。
type: float
readonly: no
required: no
end
title: 结束
description:
混合电平的结束值。混合电平会在 in-out 区间内从 start 插值到 end。
type: float
readonly: no
required: no
reverse
title: 反向
description:
设为 1 可反转混合的方向。
type: boolean
readonly: no
required: no
default: 0
widget: checkbox
combine
title: 使用另一种混合算法
description:
使用低通滤波器进行混合,以免影响音频电平。不过这可能会引入轻微瑕疵。当 start < 0 时此选项不兼容。
type: boolean
readonly: no
required: no
default: 0
sum
title: 直接相加样本进行混合
description:
默认的混合算法会在相加之前把样本值减半,以绝对避免削波。但这会影响电平。此算法直接相加样本,因此可能发生削波。在许多真实场景中,被混合的信号通常在电平上留有余量(headroom)且很少相关,因此往往不会削波。此外,你可以在整数量化之前对混合输出降低增益并加上限制器(limiter)来避免削波。当 start < 0 时此模式不兼容。
type: boolean
readonly: no
required: no
default: 0
duck_threshold
title: 闪避阈值
description:
非零时启用闪避(ducking)。如果帧 A 的 RMS 电平超过此 dBFS 阈值,则在混合前先衰减帧 B。当此值非零时,sum 和 combine 混合模式将被忽略。
type: float
readonly: no
required: no
default: 0
unit: dB
widget: slider
duck_attenuation
title: 闪避衰减量
description:
闪避期间应用于帧 B 的最小衰减量(以 dBFS 计)。
type: float
readonly: no
required: no
default: -12
unit: dB
widget: slider
duck_level
title: 闪避电平
description:
报告当前应用于帧 B 的增益降低量(以 dB 计)。
type: float
readonly: yes
required: no
default: 0
unit: dB
widget: spinner
duck_fade_in
title: 闪避淡入
description:
恢复帧 B 时使用的淡入时间(以毫秒计)。
type: float
readonly: no
required: no
minimum: 0
maximum: 5000
default: 1500
unit: ms
widget: spinner
duck_fade_out
title: 闪避淡出
description:
降低帧 B 时使用的淡出时间(以毫秒计)。
type: float
readonly: no
required: no
minimum: 0
maximum: 5000
default: 250
unit: ms
widget: spinner
prefix
title: 帧属性前缀
description:
非空时,闪避电平还会写入帧 A 上一个名为 "<prefix>duck_level" 的帧属性,以便在该帧实际呈现时被读回。为空时不设置任何帧属性。
type: string
readonly: no
required: no