Divooka Reference

Pitch Point

7 nodes

On this page 7

Make Pitch Point

Function

One moment of a pitch track: when, how high, and how sure.

Signature
PitchPoint -> Pitch Point
    Time: Number
    Frequency: Number
    Note: Text
    Cents: Number
    Confidence: Number
PitchPoint PitchPoint(
    double Time,
    double Frequency,
    string Note,
    double Cents,
    double Confidence)

Parameters

nametypedefaultdescription
TimeNumber—Seconds from the start of the clip, at the centre of the analysis window.
FrequencyNumber—The fundamental in Hz.
NoteText—The nearest equal-tempered note, such as A4.
CentsNumber—How far from that note, -50 to 50 cents.
ConfidenceNumber—How periodic the window was, 0 to 1.

Returns

resultPitch Point

Remarks

A sealed class rather than a record, as the toolbox's other results are: a record's compiler-made members, its hidden clone among them, would be offered as nodes, and the NRI binding and the editor's index do not agree on hiding them.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pitch Point
Package
Audio Processing

Cents

Function

How far from that note, -50 to 50 cents.

Signature
Cents(Pitch Point: Pitch Point) -> Number
double Cents(PitchPoint Pitch Point)

Parameters

nametypedefaultdescription
Pitch PointPitch Point—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pitch Point
Package
Audio Processing

Confidence

Function

How periodic the window was, 0 to 1.

Signature
Confidence(Pitch Point: Pitch Point) -> Number
double Confidence(PitchPoint Pitch Point)

Parameters

nametypedefaultdescription
Pitch PointPitch Point—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pitch Point
Package
Audio Processing

Frequency

Function

The fundamental in Hz.

Signature
Frequency(Pitch Point: Pitch Point) -> Number
double Frequency(PitchPoint Pitch Point)

Parameters

nametypedefaultdescription
Pitch PointPitch Point—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pitch Point
Package
Audio Processing

Note

Function

The nearest equal-tempered note, such as A4.

Signature
Note(Pitch Point: Pitch Point) -> Text
string Note(PitchPoint Pitch Point)

Parameters

nametypedefaultdescription
Pitch PointPitch Point—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pitch Point
Package
Audio Processing

Time

Function

Seconds from the start of the clip, at the centre of the analysis window.

Signature
Time(Pitch Point: Pitch Point) -> Number
double Time(PitchPoint Pitch Point)

Parameters

nametypedefaultdescription
Pitch PointPitch Point—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pitch Point
Package
Audio Processing

To String

Function

0.52 s 440.0 Hz A4 +0¢ (0.98).

Signature
ToString(Pitch Point: Pitch Point) -> Text
string ToString(PitchPoint Pitch Point)

Parameters

nametypedefaultdescription
Pitch PointPitch Point—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pitch Point
Package
Audio Processing