視覺化
3 個節點
本頁內容 3
繪製頻譜圖
函數A spectrogram: time runs left to right, frequency bottom to top, and brightness is level - a picture of how a sound's spectrum changes.
簽名
繪製頻譜圖 -> Pixel Image
音訊: AudioBuffer
寬度: 整數
高度: 整數
變換大小: 整數PixelImage DrawSpectrogram(
AudioBuffer audio,
int width = 800,
int height = 300,
int transformSize = 2048)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The clip to draw. |
| 寬度 | 整數 | 800 | Picture width, in pixels; each column is one moment of the clip. |
| 高度 | 整數 | 300 | Picture height, in pixels. |
| 變換大小 | 整數 | 2048 | Samples per transform: a power of two from 256 to 16384. Bigger is sharper in frequency and blurrier in time. |
返回
| 影像 | Pixel Image |
備註
A steady tone is a horizontal line, a sweep is a rising one, a drum hit a vertical stripe and noise a haze.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 視覺化
- 所屬包
- 音訊處理
繪製頻譜
函數A spectrum as a picture: level against frequency.
簽名
繪製頻譜 -> Pixel Image
頻譜: Audio Spectrum
寬度: 整數
高度: 整數PixelImage DrawSpectrum(
AudioSpectrum spectrum,
int width = 800,
int height = 300)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 頻譜 | Audio Spectrum | — | The spectrum to draw, from the Spectrum node. |
| 寬度 | 整數 | 800 | Picture width, in pixels. |
| 高度 | 整數 | 300 | Picture height, in pixels. |
返回
| 影像 | Pixel Image |
備註
Faint vertical lines mark 100 Hz, 1 kHz and 10 kHz; faint horizontal ones every 20 dB.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 視覺化
- 所屬包
- 音訊處理
繪製波形
函數A clip's waveform: its level over time, one lane per channel.
簽名
繪製波形 -> Pixel Image
音訊: AudioBuffer
寬度: 整數
高度: 整數PixelImage DrawWaveform(
AudioBuffer audio,
int width = 800,
int height = 240)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音訊 | AudioBuffer | — | The clip to draw. |
| 寬度 | 整數 | 800 | Picture width, in pixels. |
| 高度 | 整數 | 240 | Picture height, in pixels. |
返回
| 影像 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 視覺化
- 所屬包
- 音訊處理