元编程参考文档

音高点

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—

返回

结果文本
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
音高点
所属包
音频处理