元编程参考文档

乐器映射

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
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
乐器映射
所属包
音乐