Instrument Map
9 nodes
On this page 9
Drums
FunctionWhat plays the drums; the default SoundFont's kit when null.
Signature
Drums(Instrument Map: Instrument Map) -> Instrument
Instrument Drums(InstrumentMap Instrument Map)
Parameters
| name | type | default | description |
|---|---|---|---|
| Instrument Map | Instrument Map | — |
Returns
| result | Instrument |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Instrument Map
- Package
- Music
Fallback
FunctionWhat plays every program not mapped; the default SoundFont's preset for it when null.
Signature
Fallback(Instrument Map: Instrument Map) -> Instrument
Instrument Fallback(InstrumentMap Instrument Map)
Parameters
| name | type | default | description |
|---|---|---|---|
| Instrument Map | Instrument Map | — |
Returns
| result | Instrument |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Instrument Map
- Package
- Music
Programs
FunctionThe programs given an instrument of their own.
Signature
Programs(Instrument Map: Instrument Map) -> ImmutableDictionary<General Midi Instrument, Instrument>
ImmutableDictionary<GeneralMidiInstrument, Instrument> Programs(InstrumentMap Instrument Map)
Parameters
| name | type | default | description |
|---|---|---|---|
| Instrument Map | Instrument Map | — |
Returns
| result | ImmutableDictionary<General Midi Instrument, Instrument> |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Instrument Map
- Package
- Music
Resolve
FunctionThe instrument for a program, or for the drums.
Signature
Resolve -> Instrument
Instrument Map: Instrument Map
program: General Midi Instrument
percussion: Truth
soundFont: Sound Font BankInstrument Resolve(
InstrumentMap Instrument Map,
GeneralMidiInstrument program,
bool percussion,
SoundFontBank soundFont)Parameters
| name | type | default | description |
|---|---|---|---|
| Instrument Map | Instrument Map | — | |
| program | General Midi Instrument | — | |
| percussion | Truth | — | |
| soundFont | Sound Font Bank | — |
Returns
| result | Instrument |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Instrument Map
- Package
- Music
To String
FunctionThis node carries no documentation.
Signature
ToString(Instrument Map: Instrument Map) -> Text
string ToString(InstrumentMap Instrument Map)
Parameters
| name | type | default | description |
|---|---|---|---|
| Instrument Map | Instrument Map | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Instrument Map
- Package
- Music
With
FunctionThis map with one more program given an instrument.
Signature
With -> Instrument Map
Instrument Map: Instrument Map
program: General Midi Instrument
instrument: InstrumentInstrumentMap With(
InstrumentMap Instrument Map,
GeneralMidiInstrument program,
Instrument instrument)Parameters
| name | type | default | description |
|---|---|---|---|
| Instrument Map | Instrument Map | — | |
| program | General Midi Instrument | — | |
| instrument | Instrument | — |
Returns
| result | Instrument Map |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Instrument Map
- Package
- Music
With Drums
FunctionThis map with its drums on an instrument.
Signature
WithDrums -> Instrument Map
Instrument Map: Instrument Map
drums: InstrumentInstrumentMap WithDrums(
InstrumentMap Instrument Map,
Instrument drums)Parameters
| name | type | default | description |
|---|---|---|---|
| Instrument Map | Instrument Map | — | |
| drums | Instrument | — |
Returns
| result | Instrument Map |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Instrument Map
- Package
- Music
With Fallback
FunctionThis map with everything unmapped on an instrument.
Signature
WithFallback -> Instrument Map
Instrument Map: Instrument Map
fallback: InstrumentInstrumentMap WithFallback(
InstrumentMap Instrument Map,
Instrument fallback)Parameters
| name | type | default | description |
|---|---|---|---|
| Instrument Map | Instrument Map | — | |
| fallback | Instrument | — |
Returns
| result | Instrument Map |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Instrument Map
- Package
- Music
Empty
FunctionA map with nothing in it: every program on the default SoundFont.
Signature
Empty() -> Instrument Map
InstrumentMap Empty()
Returns
| result | Instrument Map |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Instrument Map
- Package
- Music