元編程參考文件

音色預設

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—

返回

結果真否
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
音色預設
所屬包
音樂