Song Part
6 nodes
On this page 6
Make Song Part
FunctionOne instrument's part of a song, played: what it is called and how it sounds.
Signature
SongPart -> Song Part
Name: Text
Program: Optional General Midi Instrument
Percussion: Truth
Audio: AudioBufferSongPart SongPart(
string Name,
GeneralMidiInstrument? Program,
bool Percussion,
AudioBuffer Audio)Parameters
| name | type | default | description |
|---|---|---|---|
| Name | Text | — | The program's name, or Drums. |
| Program | Optional General Midi Instrument | — | The program, when it is not the drums. |
| Percussion | Truth | — | Whether this is the drums. |
| Audio | AudioBuffer | — | The part, as long as the song. |
Returns
| result | Song Part |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Song Part
- Package
- Music
Audio
FunctionThe part, as long as the song.
Signature
Audio(Song Part: Song Part) -> AudioBuffer
AudioBuffer Audio(SongPart Song Part)
Parameters
| name | type | default | description |
|---|---|---|---|
| Song Part | Song Part | — |
Returns
| result | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Song Part
- Package
- Music
Name
FunctionThe program's name, or Drums.
Signature
Name(Song Part: Song Part) -> Text
string Name(SongPart Song Part)
Parameters
| name | type | default | description |
|---|---|---|---|
| Song Part | Song Part | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Song Part
- Package
- Music
Percussion
FunctionWhether this is the drums.
Signature
Percussion(Song Part: Song Part) -> Truth
bool Percussion(SongPart Song Part)
Parameters
| name | type | default | description |
|---|---|---|---|
| Song Part | Song Part | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Song Part
- Package
- Music
Program
FunctionThe program, when it is not the drums.
Signature
Program(Song Part: Song Part) -> Optional General Midi Instrument
GeneralMidiInstrument? Program(SongPart Song Part)
Parameters
| name | type | default | description |
|---|---|---|---|
| Song Part | Song Part | — |
Returns
| result | Optional General Midi Instrument |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Song Part
- Package
- Music
To String
FunctionThis node carries no documentation.
Signature
ToString(Song Part: Song Part) -> Text
string ToString(SongPart Song Part)
Parameters
| name | type | default | description |
|---|---|---|---|
| Song Part | Song Part | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Song Part
- Package
- Music