元编程参考文档

音色库文件

10 个节点

本页内容 10

Name

函数

The font's name.

签名
Name(Sound Font Bank: Sound Font Bank) -> 文本
string Name(SoundFontBank Sound Font Bank)

参数

名称类型默认值说明
Sound Font BankSound Font Bank—

返回

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

Path

函数

The file it came from, or null for a font made in memory.

签名
Path(Sound Font Bank: Sound Font Bank) -> 文本
string Path(SoundFontBank Sound Font Bank)

参数

名称类型默认值说明
Sound Font BankSound Font Bank—

返回

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

Player

函数

The font as MeltySynth reads it, for rendering.

签名
Player(Sound Font Bank: Sound Font Bank) -> SoundFont
SoundFont Player(SoundFontBank Sound Font Bank)

参数

名称类型默认值说明
Sound Font BankSound Font Bank—

返回

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

Presets

函数

Every preset, by bank then program.

签名
Presets(Sound Font Bank: Sound Font Bank) -> Sound Font Preset 数组
SoundFontPreset[] Presets(SoundFontBank Sound Font Bank)

参数

名称类型默认值说明
Sound Font BankSound Font Bank—

返回

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

Records

函数

The font as the format stores it, for listing and editing.

签名
Records(Sound Font Bank: Sound Font Bank) -> SoundFontFile
SoundFontFile Records(SoundFontBank Sound Font Bank)

参数

名称类型默认值说明
Sound Font BankSound Font Bank—

返回

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

Size In Bytes

函数

The size of the .sf2 file.

签名
SizeInBytes(Sound Font Bank: Sound Font Bank) -> 大整数
long SizeInBytes(SoundFontBank Sound Font Bank)

参数

名称类型默认值说明
Sound Font BankSound Font Bank—

返回

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

To Bytes

函数

A copy of the .sf2 file's bytes.

签名
ToBytes(Sound Font Bank: Sound Font Bank) -> 字节数组
byte[] ToBytes(SoundFontBank Sound Font Bank)

参数

名称类型默认值说明
Sound Font BankSound Font Bank—

返回

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

To String

函数

GeneralUser GS v2.0.3 · 287 presets · 30.8 MB.

签名
ToString(Sound Font Bank: Sound Font Bank) -> 文本
string ToString(SoundFontBank Sound Font Bank)

参数

名称类型默认值说明
Sound Font BankSound Font Bank—

返回

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

From Bytes

函数

A bank over the bytes of an .sf2 file, checked to be one.

签名
FromBytes(bytes: 字节数组, name: 文本) -> Sound Font Bank
SoundFontBank FromBytes(byte[] bytes, string name)

参数

名称类型默认值说明
bytes字节数组—The whole file.
name文本—What to call it; the file's own name (its INAM record) when empty.

返回

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

Load

函数

The bank for a file on disk, read once and shared while the file is unchanged.

签名
Load(path: 文本) -> Sound Font Bank
SoundFontBank Load(string path)

参数

名称类型默认值说明
path文本—

返回

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