Divooka Reference

Sound Font Preset

11 nodes

On this page 11

Make Sound Font Preset

Function

One preset of a SoundFont: where it sits and what it is called.

Signature
SoundFontPreset -> Sound Font Preset
    Bank: Integer
    Program: Integer
    Name: Text
SoundFontPreset SoundFontPreset(
    int Bank,
    int Program,
    string Name)

Parameters

nametypedefaultdescription
BankInteger—0 to 127 for melodic sounds, 128 for drum kits.
ProgramInteger—The program number within the bank, 0 to 127; for General MIDI fonts, the General MIDI instrument.
NameText—The name the font gives it.

Returns

resultSound Font Preset
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Sound Font Preset
Package
Music

Deconstruct

Function

This node carries no documentation.

Signature
Deconstruct(Sound Font Preset: Sound Font Preset) -> (Bank: Integer, Program: Integer, Name: Text)
void Deconstruct(
    SoundFontPreset Sound Font Preset,
    out int Bank,
    out int Program,
    out string Name)

Parameters

nametypedefaultdescription
Sound Font PresetSound Font Preset—

Returns

BankInteger
ProgramInteger
NameText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Sound Font Preset
Package
Music

Equals

Function

This node carries no documentation.

Overload 1 of 2

Signature
Equals(Sound Font Preset: Sound Font Preset, obj: Any) -> Truth
bool Equals(SoundFontPreset Sound Font Preset, object obj)

Parameters

nametypedefaultdescription
Sound Font PresetSound Font Preset—
objAny—

Returns

resultTruth

Overload 2 of 2

Signature
Equals -> Truth
    Sound Font Preset: Sound Font Preset
    other: Sound Font Preset
bool Equals(
    SoundFontPreset Sound Font Preset,
    SoundFontPreset other)

Parameters

nametypedefaultdescription
Sound Font PresetSound Font Preset—
otherSound Font Preset—

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Sound Font Preset
Package
Music

Bank

Function

0 to 127 for melodic sounds, 128 for drum kits.

Signature
Bank(Sound Font Preset: Sound Font Preset) -> Integer
int Bank(SoundFontPreset Sound Font Preset)

Parameters

nametypedefaultdescription
Sound Font PresetSound Font Preset—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Sound Font Preset
Package
Music

Is Drum Kit

Function

Whether this is a drum kit, played by key rather than by pitch.

Signature
IsDrumKit(Sound Font Preset: Sound Font Preset) -> Truth
bool IsDrumKit(SoundFontPreset Sound Font Preset)

Parameters

nametypedefaultdescription
Sound Font PresetSound Font Preset—

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Sound Font Preset
Package
Music

Name

Function

The name the font gives it.

Signature
Name(Sound Font Preset: Sound Font Preset) -> Text
string Name(SoundFontPreset Sound Font Preset)

Parameters

nametypedefaultdescription
Sound Font PresetSound Font Preset—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Sound Font Preset
Package
Music

Program

Function

The program number within the bank, 0 to 127; for General MIDI fonts, the General MIDI instrument.

Signature
Program(Sound Font Preset: Sound Font Preset) -> Integer
int Program(SoundFontPreset Sound Font Preset)

Parameters

nametypedefaultdescription
Sound Font PresetSound Font Preset—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Sound Font Preset
Package
Music

Get Hash Code

Function

This node carries no documentation.

Signature
GetHashCode(Sound Font Preset: Sound Font Preset) -> Integer
int GetHashCode(SoundFontPreset Sound Font Preset)

Parameters

nametypedefaultdescription
Sound Font PresetSound Font Preset—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Sound Font Preset
Package
Music

To String

Function

0:0 Grand Piano.

Signature
ToString(Sound Font Preset: Sound Font Preset) -> Text
string ToString(SoundFontPreset Sound Font Preset)

Parameters

nametypedefaultdescription
Sound Font PresetSound Font Preset—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Sound Font Preset
Package
Music

Op Equality

Function

This node carries no documentation.

Signature
op_Equality -> Truth
    left: Sound Font Preset
    right: Sound Font Preset
bool op_Equality(SoundFontPreset left, SoundFontPreset right)

Parameters

nametypedefaultdescription
leftSound Font Preset—
rightSound Font Preset—

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Sound Font Preset
Package
Music

Op Inequality

Function

This node carries no documentation.

Signature
op_Inequality -> Truth
    left: Sound Font Preset
    right: Sound Font Preset
bool op_Inequality(SoundFontPreset left, SoundFontPreset right)

Parameters

nametypedefaultdescription
leftSound Font Preset—
rightSound Font Preset—

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Sound Font Preset
Package
Music