元編程參考文件

樂器對映

9 個節點

本頁內容 9

Drums

函數

What plays the drums; the default SoundFont's kit when null.

簽名
Drums(Instrument Map: Instrument Map) -> Instrument
Instrument Drums(InstrumentMap Instrument Map)

參數

名稱型別預設值說明
Instrument MapInstrument Map—

返回

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

Fallback

函數

What plays every program not mapped; the default SoundFont's preset for it when null.

簽名
Fallback(Instrument Map: Instrument Map) -> Instrument
Instrument Fallback(InstrumentMap Instrument Map)

參數

名稱型別預設值說明
Instrument MapInstrument Map—

返回

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

Programs

函數

The programs given an instrument of their own.

簽名
Programs(Instrument Map: Instrument Map) -> ImmutableDictionary<General Midi Instrument, Instrument>
ImmutableDictionary<GeneralMidiInstrument, Instrument> Programs(InstrumentMap Instrument Map)

參數

名稱型別預設值說明
Instrument MapInstrument Map—

返回

結果ImmutableDictionary<General Midi Instrument, Instrument>
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
樂器對映
所屬包
音樂

Resolve

函數

The instrument for a program, or for the drums.

簽名
Resolve -> Instrument
    Instrument Map: Instrument Map
    program: General Midi Instrument
    percussion: 真否
    soundFont: Sound Font Bank
Instrument Resolve(
    InstrumentMap Instrument Map,
    GeneralMidiInstrument program,
    bool percussion,
    SoundFontBank soundFont)

參數

名稱型別預設值說明
Instrument MapInstrument Map—
programGeneral Midi Instrument—
percussion真否—
soundFontSound Font Bank—

返回

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

To String

函數

此節點沒有文件說明。

簽名
ToString(Instrument Map: Instrument Map) -> 文字
string ToString(InstrumentMap Instrument Map)

參數

名稱型別預設值說明
Instrument MapInstrument Map—

返回

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

With

函數

This map with one more program given an instrument.

簽名
With -> Instrument Map
    Instrument Map: Instrument Map
    program: General Midi Instrument
    instrument: Instrument
InstrumentMap With(
    InstrumentMap Instrument Map,
    GeneralMidiInstrument program,
    Instrument instrument)

參數

名稱型別預設值說明
Instrument MapInstrument Map—
programGeneral Midi Instrument—
instrumentInstrument—

返回

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

With Drums

函數

This map with its drums on an instrument.

簽名
WithDrums -> Instrument Map
    Instrument Map: Instrument Map
    drums: Instrument
InstrumentMap WithDrums(
    InstrumentMap Instrument Map,
    Instrument drums)

參數

名稱型別預設值說明
Instrument MapInstrument Map—
drumsInstrument—

返回

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

With Fallback

函數

This map with everything unmapped on an instrument.

簽名
WithFallback -> Instrument Map
    Instrument Map: Instrument Map
    fallback: Instrument
InstrumentMap WithFallback(
    InstrumentMap Instrument Map,
    Instrument fallback)

參數

名稱型別預設值說明
Instrument MapInstrument Map—
fallbackInstrument—

返回

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

Empty

函數

A map with nothing in it: every program on the default SoundFont.

簽名
Empty() -> Instrument Map
InstrumentMap Empty()

返回

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