時間與音高
4 個節點
本頁內容 4
採集噪聲樣本
函數Learns what a clip's background noise sounds like, from a stretch of it with nothing else - room tone, hiss, hum - for Reduce Noise to take out.
簽名
採集噪聲樣本(噪聲: AudioBuffer) -> Noise Profile Data
NoiseProfileData CaptureNoiseProfile(AudioBuffer noise)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 噪聲 | AudioBuffer | — | A clip of the noise alone; half a second or more. |
返回
| 噪聲樣本 | Noise Profile Data |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 時間與音高
- 所屬包
- 音訊處理
移調
函數Raises or lowers a clip's pitch without changing its length.
簽名
移調 -> AudioBuffer
音訊: AudioBuffer
半音數: 數字
視窗大小: 整數AudioBuffer PitchShift(
AudioBuffer audio,
double semitones = 3,
int windowSize = 2048)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The clip to shift. |
| 半音數 | 數字 | 3 | How far: 12 is an octave up, -7 a fifth down; -24 to 24. |
| 視窗大小 | 整數 | 2048 | The analysis window in samples, a power of two. |
返回
| 音訊 | AudioBuffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 時間與音高
- 所屬包
- 音訊處理
降噪
函數Takes a captured noise out of a clip by spectral subtraction, the way the Audio Editor's noise reduction does.
簽名
降噪 -> AudioBuffer
音訊: AudioBuffer
噪聲樣本: Noise Profile Data
衰減量: 數字
靈敏度: 數字AudioBuffer ReduceNoise(
AudioBuffer audio,
NoiseProfileData profile,
double reduction = 12,
double sensitivity = 6)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The noisy clip. |
| 噪聲樣本 | Noise Profile Data | — | The noise, from Capture Noise Profile on a clip at the same rate and channel count. |
| 衰減量 | 數字 | 12 | How far in dB to turn the noise down. |
| 靈敏度 | 數字 | 6 | How far in dB above the noise a sound must be to be kept untouched. |
返回
| 音訊 | AudioBuffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 時間與音高
- 所屬包
- 音訊處理
時間伸縮
函數Makes a clip longer or shorter without changing its pitch.
簽名
時間伸縮 -> AudioBuffer
音訊: AudioBuffer
倍數: 數字
視窗大小: 整數AudioBuffer TimeStretch(
AudioBuffer audio,
double factor = 1.5,
int windowSize = 2048)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The clip to stretch. |
| 倍數 | 數字 | 1.5 | The new length over the old: 2 is twice as long, 0.5 half; 0.25 to 4. |
| 視窗大小 | 整數 | 2048 | The analysis window in samples, a power of two: larger keeps tones smoother, smaller keeps drums sharper. |
返回
| 音訊 | AudioBuffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 時間與音高
- 所屬包
- 音訊處理