元編程參考文件

音高點

7 個節點

本頁內容 7

音高點

函數

One moment of a pitch track: when, how high, and how sure.

簽名
音高點 -> Pitch Point
    Time: 數字
    Frequency: 數字
    Note: 文字
    Cents: 數字
    Confidence: 數字
PitchPoint PitchPoint(
    double Time,
    double Frequency,
    string Note,
    double Cents,
    double Confidence)

參數

名稱型別預設值說明
Time數字—Seconds from the start of the clip, at the centre of the analysis window.
Frequency數字—The fundamental in Hz.
Note文字—The nearest equal-tempered note, such as A4.
Cents數字—How far from that note, -50 to 50 cents.
Confidence數字—How periodic the window was, 0 to 1.

返回

音高點Pitch Point

備註

A sealed class rather than a record, as the toolbox's other results are: a record's compiler-made members, its hidden clone among them, would be offered as nodes, and the NRI binding and the editor's index do not agree on hiding them.

所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
音高點
所屬包
音訊處理

Cents

函數

How far from that note, -50 to 50 cents.

簽名
Cents(Pitch Point: Pitch Point) -> 數字
double Cents(PitchPoint Pitch Point)

參數

名稱型別預設值說明
Pitch PointPitch Point—

返回

結果數字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
音高點
所屬包
音訊處理

Confidence

函數

How periodic the window was, 0 to 1.

簽名
Confidence(Pitch Point: Pitch Point) -> 數字
double Confidence(PitchPoint Pitch Point)

參數

名稱型別預設值說明
Pitch PointPitch Point—

返回

結果數字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
音高點
所屬包
音訊處理

Frequency

函數

The fundamental in Hz.

簽名
Frequency(Pitch Point: Pitch Point) -> 數字
double Frequency(PitchPoint Pitch Point)

參數

名稱型別預設值說明
Pitch PointPitch Point—

返回

結果數字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
音高點
所屬包
音訊處理

Note

函數

The nearest equal-tempered note, such as A4.

簽名
Note(Pitch Point: Pitch Point) -> 文字
string Note(PitchPoint Pitch Point)

參數

名稱型別預設值說明
Pitch PointPitch Point—

返回

結果文字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
音高點
所屬包
音訊處理

Time

函數

Seconds from the start of the clip, at the centre of the analysis window.

簽名
Time(Pitch Point: Pitch Point) -> 數字
double Time(PitchPoint Pitch Point)

參數

名稱型別預設值說明
Pitch PointPitch Point—

返回

結果數字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
音高點
所屬包
音訊處理

To String

函數

0.52 s 440.0 Hz A4 +0¢ (0.98).

簽名
ToString(Pitch Point: Pitch Point) -> 文字
string ToString(PitchPoint Pitch Point)

參數

名稱型別預設值說明
Pitch PointPitch Point—

返回

結果文字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
音高點
所屬包
音訊處理