動態處理
6 個節點
本頁內容 6
壓縮
函數Evens out a clip's level: whatever rises above the threshold is turned down by the ratio, through a soft knee, with the attack and release a studio compressor has.
壓縮 -> AudioBuffer
音訊: AudioBuffer
閾值: 數字
比率: 數字
拐點: 數字
起音: 數字
釋音: 數字
補償增益: 數字AudioBuffer Compress(
AudioBuffer audio,
double threshold = -18,
double ratio = 4,
double knee = 6,
double attack = 10,
double release = 150,
double makeup = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The clip to compress. |
| 閾值 | 數字 | -18 | Level in dB above which compression starts. |
| 比率 | 數字 | 4 | How hard: 4 turns every 4 dB over the threshold into 1. |
| 拐點 | 數字 | 6 | Width in dB of the soft knee around the threshold. |
| 起音 | 數字 | 10 | Milliseconds to clamp down on a rise. |
| 釋音 | 數字 | 150 | Milliseconds to let go. |
| 補償增益 | 數字 | 0 | Gain in dB added afterwards to win back level. |
返回
| 音訊 | AudioBuffer |
備註
The channels are linked - one gain for all - so a stereo image does not wander. The look-ahead is compensated, so the result lines up with the input.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動態處理
- 所屬包
- 音訊處理
閃避
函數Turns one clip down while another plays - music under a voice-over, the classic radio duck.
閃避 -> AudioBuffer
音訊: AudioBuffer
控制: AudioBuffer
閾值: 數字
衰減量: 數字
起音: 數字
釋音: 數字AudioBuffer Duck(
AudioBuffer audio,
AudioBuffer control,
double threshold = -30,
double reduction = 12,
double attack = 50,
double release = 200)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The clip to turn down. |
| 控制 | AudioBuffer | — | The clip whose sound triggers it, such as the voice; heard over the first clip's length. |
| 閾值 | 數字 | -30 | How loud in dB the control must be to duck. |
| 衰減量 | 數字 | 12 | How far in dB to turn the clip down. |
| 起音 | 數字 | 50 | Milliseconds to fall. |
| 釋音 | 數字 | 200 | Milliseconds to come back. |
返回
| 音訊 | AudioBuffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動態處理
- 所屬包
- 音訊處理
限幅
函數Keeps a clip under a ceiling without audible clipping: a look-ahead limiter that turns the level down just before a peak would cross it.
限幅 -> AudioBuffer
音訊: AudioBuffer
上限: 數字
前瞻: 數字
釋音: 數字AudioBuffer Limit(
AudioBuffer audio,
double ceiling = -1,
double lookahead = 5,
double release = 50)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The clip to limit. |
| 上限 | 數字 | -1 | The highest level in dB the clip may reach; -1 leaves room for a codec's overshoot. |
| 前瞻 | 數字 | 5 | Milliseconds the limiter sees ahead. |
| 釋音 | 數字 | 50 | Milliseconds to let go after a peak. |
返回
| 音訊 | AudioBuffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動態處理
- 所屬包
- 音訊處理
響度
函數A clip's integrated loudness in LUFS, measured as ITU-R BS.1770 does: K-weighted, gated, over the whole clip.
響度(音訊: AudioBuffer) -> 數字
double Loudness(AudioBuffer audio)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The clip to measure. |
返回
| 響度 | 數字 |
備註
Streaming services aim at about -14 LUFS, broadcast at -23 (EBU R128) or -24 (ATSC A/85). A clip too short or too quiet to measure gives negative infinity.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動態處理
- 所屬包
- 音訊處理
響度歸一化
函數Brings a clip to a target integrated loudness, as a streaming service or broadcaster would.
響度歸一化 -> AudioBuffer
音訊: AudioBuffer
目標: 數字
最大增益: 數字AudioBuffer NormalizeLoudness(
AudioBuffer audio,
double target = -14,
double maximumGain = 30)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The clip to adjust. |
| 目標 | 數字 | -14 | The loudness to reach, in LUFS. |
| 最大增益 | 數字 | 30 | The most gain in dB it may add, so silence is not turned into noise. |
返回
| 音訊 | AudioBuffer |
備註
This only changes gain; follow it with Limit if the gain pushes peaks past full scale.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動態處理
- 所屬包
- 音訊處理
真峰值
函數A clip's true peak in dBTP: the highest the waveform reaches between samples as well as on them, by 4× band-limited reconstruction, which is what a converter will actually play.
真峰值(音訊: AudioBuffer) -> 數字
double TruePeak(AudioBuffer audio)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The clip to measure. |
返回
| 真峰值 | 數字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動態處理
- 所屬包
- 音訊處理