Note
12 nodes
On this page 12
Make Note
FunctionThis node carries no documentation.
Overload 1 of 2
FNote -> F Note
pitches: F Note Pitch Array
baseStep: Integer
velocity: Integer
extendedDuration: IntegerFNote FNote(
FNotePitch[] pitches,
int baseStep,
int velocity,
int extendedDuration)Parameters
| name | type | default | description |
|---|---|---|---|
| pitches | F Note Pitch Array | — | A single MIDI note or a chord of notes, or a vocal |
| baseStep | Integer | — | Duration: 1, 2, 4, 8, 16, 32 |
| velocity | Integer | — | The MIDI velocity range is from 0–127, with 127 being the loudest |
| extendedDuration | Integer | — | How many additional 1/2 durations should we extend from Duration of this note |
Returns
| Note | F Note |
Overload 2 of 2
FNote -> F Note
pitches: F Note Pitch Array
relativeMeasureDuration: Number
velocity: IntegerFNote FNote(
FNotePitch[] pitches,
double relativeMeasureDuration,
int velocity)Parameters
| name | type | default | description |
|---|---|---|---|
| pitches | F Note Pitch Array | — | |
| relativeMeasureDuration | Number | — | |
| velocity | Integer | — |
Returns
| Note | F Note |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Note
- Package
- Music
Equals
FunctionThis node carries no documentation.
Overload 1 of 2
Equals(F Note: F Note, obj: Any) -> Truth
bool Equals(FNote F Note, object obj)
Parameters
| name | type | default | description |
|---|---|---|---|
| F Note | F Note | — | |
| obj | Any | — |
Returns
| result | Truth |
Overload 2 of 2
Equals(F Note: F Note, other: F Note) -> Truth
bool Equals(FNote F Note, FNote other)
Parameters
| name | type | default | description |
|---|---|---|---|
| F Note | F Note | — | |
| other | F Note | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Note
- Package
- Music
Base Step
FunctionThe step size that corresponds to one such note.
BaseStep(F Note: F Note) -> Number
double BaseStep(FNote F Note)
Parameters
| name | type | default | description |
|---|---|---|---|
| F Note | F Note | — |
Returns
| result | Number |
Remarks
Example: for FNote.MeasureFractionDuration of `0.25`, this is 4, meaning for a quarter note beat size, this note is one beat.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Note
- Package
- Music
Measure Fraction Duration
FunctionDurations of note in fractional number of (any) beat size.
I.e. "how much of a (base) beat is this note"?
I.e. "How big are we in the 4/4 scale relative to that 1 (which is 4 times 1/4)?" A.a in a 4/4 measure, each 4th note is actually a 1/4, i.e. 0.25. It's 0.25 of that entire measure.
MeasureFractionDuration(F Note: F Note) -> Number
double MeasureFractionDuration(FNote F Note)
Parameters
| name | type | default | description |
|---|---|---|---|
| F Note | F Note | — |
Returns
| result | Number |
Remarks
Not fully supported yet, e.g. Types.ScoreSheetMIDIReader may not work.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Note
- Package
- Music
Get Pitches
FunctionThis node carries no documentation.
Pitches(F Note: F Note) -> F Note Pitch Array
FNotePitch[] Pitches(FNote F Note)
Parameters
| name | type | default | description |
|---|---|---|---|
| F Note | F Note | — |
Returns
| result | F Note Pitch Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Note
- Package
- Music
Get Velocity
FunctionThis node carries no documentation.
Velocity(F Note: F Note) -> Integer
int Velocity(FNote F Note)
Parameters
| name | type | default | description |
|---|---|---|---|
| F Note | F Note | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Note
- Package
- Music
Get Duration Units
FunctionThis node carries no documentation.
GetDurationUnits(F Note: F Note, denominator: Number) -> Integer
int GetDurationUnits(FNote F Note, double denominator)
Parameters
| name | type | default | description |
|---|---|---|---|
| F Note | F Note | — | |
| denominator | Number | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Note
- Package
- Music
Get Hash Code
FunctionThis node carries no documentation.
GetHashCode(F Note: F Note) -> Integer
int GetHashCode(FNote F Note)
Parameters
| name | type | default | description |
|---|---|---|---|
| F Note | F Note | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Note
- Package
- Music
Get Relative Scale
FunctionHow many (reference) beats is this note. E.g. if reference is an 8, and we are a 4, then we are twice the reference.
GetRelativeScale -> Number
F Note: F Note
referenceStepSize: Integerdouble GetRelativeScale(FNote F Note, int referenceStepSize)
Parameters
| name | type | default | description |
|---|---|---|---|
| F Note | F Note | — | |
| referenceStepSize | Integer | — |
Returns
| result | Number |
Remarks
If reference step is equal to our own FNote.BaseStep, then it will be 1 beat.
(Remark) The math is all weird because an 8 is actually smaller than a 4 in music.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Note
- Package
- Music
To String
FunctionThis node carries no documentation.
ToString(F Note: F Note) -> Text
string ToString(FNote F Note)
Parameters
| name | type | default | description |
|---|---|---|---|
| F Note | F Note | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Note
- Package
- Music
Op Equality
FunctionThis node carries no documentation.
op_Equality(left: F Note, right: F Note) -> Truth
bool op_Equality(FNote left, FNote right)
Parameters
| name | type | default | description |
|---|---|---|---|
| left | F Note | — | |
| right | F Note | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Note
- Package
- Music
Op Inequality
FunctionThis node carries no documentation.
op_Inequality(left: F Note, right: F Note) -> Truth
bool op_Inequality(FNote left, FNote right)
Parameters
| name | type | default | description |
|---|---|---|---|
| left | F Note | — | |
| right | F Note | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Note
- Package
- Music