元编程参考文档

音色预设

11 个节点

本页内容 11

音色预设

函数

One preset of a SoundFont: where it sits and what it is called.

签名
音色预设 -> Sound Font Preset
    Bank: 整数
    Program: 整数
    Name: 文本
SoundFontPreset SoundFontPreset(
    int Bank,
    int Program,
    string Name)

参数

名称类型默认值说明
Bank整数—0 to 127 for melodic sounds, 128 for drum kits.
Program整数—The program number within the bank, 0 to 127; for General MIDI fonts, the General MIDI instrument.
Name文本—The name the font gives it.

返回

音色预设Sound Font Preset
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
音色预设
所属包
音乐

Deconstruct

函数

此节点没有文档说明。

签名
Deconstruct(Sound Font Preset: Sound Font Preset) -> (Bank: 整数, Program: 整数, Name: 文本)
void Deconstruct(
    SoundFontPreset Sound Font Preset,
    out int Bank,
    out int Program,
    out string Name)

参数

名称类型默认值说明
Sound Font PresetSound Font Preset—

返回

Bank整数
Program整数
Name文本
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
音色预设
所属包
音乐

Equals

函数

此节点没有文档说明。

重载 1/2

签名
Equals(Sound Font Preset: Sound Font Preset, obj: 任意) -> 真否
bool Equals(SoundFontPreset Sound Font Preset, object obj)

参数

名称类型默认值说明
Sound Font PresetSound Font Preset—
obj任意—

返回

结果真否

重载 2/2

签名
Equals -> 真否
    Sound Font Preset: Sound Font Preset
    other: Sound Font Preset
bool Equals(
    SoundFontPreset Sound Font Preset,
    SoundFontPreset other)

参数

名称类型默认值说明
Sound Font PresetSound Font Preset—
otherSound Font Preset—

返回

结果真否
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
音色预设
所属包
音乐

Bank

函数

0 to 127 for melodic sounds, 128 for drum kits.

签名
Bank(Sound Font Preset: Sound Font Preset) -> 整数
int Bank(SoundFontPreset Sound Font Preset)

参数

名称类型默认值说明
Sound Font PresetSound Font Preset—

返回

结果整数
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
音色预设
所属包
音乐

Is Drum Kit

函数

Whether this is a drum kit, played by key rather than by pitch.

签名
IsDrumKit(Sound Font Preset: Sound Font Preset) -> 真否
bool IsDrumKit(SoundFontPreset Sound Font Preset)

参数

名称类型默认值说明
Sound Font PresetSound Font Preset—

返回

结果真否
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
音色预设
所属包
音乐

Name

函数

The name the font gives it.

签名
Name(Sound Font Preset: Sound Font Preset) -> 文本
string Name(SoundFontPreset Sound Font Preset)

参数

名称类型默认值说明
Sound Font PresetSound Font Preset—

返回

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

Program

函数

The program number within the bank, 0 to 127; for General MIDI fonts, the General MIDI instrument.

签名
Program(Sound Font Preset: Sound Font Preset) -> 整数
int Program(SoundFontPreset Sound Font Preset)

参数

名称类型默认值说明
Sound Font PresetSound Font Preset—

返回

结果整数
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
音色预设
所属包
音乐

Get Hash Code

函数

此节点没有文档说明。

签名
GetHashCode(Sound Font Preset: Sound Font Preset) -> 整数
int GetHashCode(SoundFontPreset Sound Font Preset)

参数

名称类型默认值说明
Sound Font PresetSound Font Preset—

返回

结果整数
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
音色预设
所属包
音乐

To String

函数

0:0 Grand Piano.

签名
ToString(Sound Font Preset: Sound Font Preset) -> 文本
string ToString(SoundFontPreset Sound Font Preset)

参数

名称类型默认值说明
Sound Font PresetSound Font Preset—

返回

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

Op Equality

函数

此节点没有文档说明。

签名
op_Equality -> 真否
    left: Sound Font Preset
    right: Sound Font Preset
bool op_Equality(SoundFontPreset left, SoundFontPreset right)

参数

名称类型默认值说明
leftSound Font Preset—
rightSound Font Preset—

返回

结果真否
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
音色预设
所属包
音乐

Op Inequality

函数

此节点没有文档说明。

签名
op_Inequality -> 真否
    left: Sound Font Preset
    right: Sound Font Preset
bool op_Inequality(SoundFontPreset left, SoundFontPreset right)

参数

名称类型默认值说明
leftSound Font Preset—
rightSound Font Preset—

返回

结果真否
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
音色预设
所属包
音乐