元編程參考文件

音色庫檔案

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
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
音色庫檔案
所屬包
音樂