Sound Font Bank
10 nodes
On this page 10
Name
FunctionThe font's name.
Signature
Name(Sound Font Bank: Sound Font Bank) -> Text
string Name(SoundFontBank Sound Font Bank)
Parameters
| name | type | default | description |
|---|---|---|---|
| Sound Font Bank | Sound Font Bank | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Sound Font Bank
- Package
- Music
Path
FunctionThe file it came from, or null for a font made in memory.
Signature
Path(Sound Font Bank: Sound Font Bank) -> Text
string Path(SoundFontBank Sound Font Bank)
Parameters
| name | type | default | description |
|---|---|---|---|
| Sound Font Bank | Sound Font Bank | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Sound Font Bank
- Package
- Music
Player
FunctionThe font as MeltySynth reads it, for rendering.
Signature
Player(Sound Font Bank: Sound Font Bank) -> SoundFont
SoundFont Player(SoundFontBank Sound Font Bank)
Parameters
| name | type | default | description |
|---|---|---|---|
| Sound Font Bank | Sound Font Bank | — |
Returns
| result | SoundFont |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Sound Font Bank
- Package
- Music
Presets
FunctionEvery preset, by bank then program.
Signature
Presets(Sound Font Bank: Sound Font Bank) -> Sound Font Preset Array
SoundFontPreset[] Presets(SoundFontBank Sound Font Bank)
Parameters
| name | type | default | description |
|---|---|---|---|
| Sound Font Bank | Sound Font Bank | — |
Returns
| result | Sound Font Preset Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Sound Font Bank
- Package
- Music
Records
FunctionThe font as the format stores it, for listing and editing.
Signature
Records(Sound Font Bank: Sound Font Bank) -> SoundFontFile
SoundFontFile Records(SoundFontBank Sound Font Bank)
Parameters
| name | type | default | description |
|---|---|---|---|
| Sound Font Bank | Sound Font Bank | — |
Returns
| result | SoundFontFile |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Sound Font Bank
- Package
- Music
Size In Bytes
FunctionThe size of the .sf2 file.
Signature
SizeInBytes(Sound Font Bank: Sound Font Bank) -> Large Integer
long SizeInBytes(SoundFontBank Sound Font Bank)
Parameters
| name | type | default | description |
|---|---|---|---|
| Sound Font Bank | Sound Font Bank | — |
Returns
| result | Large Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Sound Font Bank
- Package
- Music
To Bytes
FunctionA copy of the .sf2 file's bytes.
Signature
ToBytes(Sound Font Bank: Sound Font Bank) -> Byte Array
byte[] ToBytes(SoundFontBank Sound Font Bank)
Parameters
| name | type | default | description |
|---|---|---|---|
| Sound Font Bank | Sound Font Bank | — |
Returns
| result | Byte Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Sound Font Bank
- Package
- Music
To String
FunctionGeneralUser GS v2.0.3 · 287 presets · 30.8 MB.
Signature
ToString(Sound Font Bank: Sound Font Bank) -> Text
string ToString(SoundFontBank Sound Font Bank)
Parameters
| name | type | default | description |
|---|---|---|---|
| Sound Font Bank | Sound Font Bank | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Sound Font Bank
- Package
- Music
From Bytes
FunctionA bank over the bytes of an .sf2 file, checked to be one.
Signature
FromBytes(bytes: Byte Array, name: Text) -> Sound Font Bank
SoundFontBank FromBytes(byte[] bytes, string name)
Parameters
| name | type | default | description |
|---|---|---|---|
| bytes | Byte Array | — | The whole file. |
| name | Text | — | What to call it; the file's own name (its INAM record) when empty. |
Returns
| result | Sound Font Bank |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Sound Font Bank
- Package
- Music
Load
FunctionThe bank for a file on disk, read once and shared while the file is unchanged.
Signature
Load(path: Text) -> Sound Font Bank
SoundFontBank Load(string path)
Parameters
| name | type | default | description |
|---|---|---|---|
| path | Text | — |
Returns
| result | Sound Font Bank |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Sound Font Bank
- Package
- Music