Divooka Reference

Live Latency

10 nodes

On this page 10

Make Live Latency

Function

What a measurement found.

Signature
LiveLatency -> Live Latency
    delays: IReadOnlyList<Number>
    clicks: Integer
    blockFrames: Integer
    inputWait: TimeSpan
    sampleRate: Integer
LiveLatency LiveLatency(
    IReadOnlyList<double> delays,
    int clicks,
    int blockFrames,
    TimeSpan inputWait,
    int sampleRate)

Parameters

nametypedefaultdescription
delaysIReadOnlyList<Number>—Each heard click's round trip, in seconds.
clicksInteger—How many were played.
blockFramesInteger—The output's block.
inputWaitTimeSpan—How long the input's samples waited in its ring, on average.
sampleRateInteger—The rate it ran at.

Returns

resultLive Latency
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Live Latency
Package
Audio Processing

Block Frames

Function

The output's block.

Signature
BlockFrames(Live Latency: Live Latency) -> Integer
int BlockFrames(LiveLatency Live Latency)

Parameters

nametypedefaultdescription
Live LatencyLive Latency—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Live Latency
Package
Audio Processing

Clicks

Function

How many were played.

Signature
Clicks(Live Latency: Live Latency) -> Integer
int Clicks(LiveLatency Live Latency)

Parameters

nametypedefaultdescription
Live LatencyLive Latency—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Live Latency
Package
Audio Processing

Delays

Function

Each heard click's round trip, in seconds.

Signature
Delays(Live Latency: Live Latency) -> IReadOnlyList<Number>
IReadOnlyList<double> Delays(LiveLatency Live Latency)

Parameters

nametypedefaultdescription
Live LatencyLive Latency—

Returns

resultIReadOnlyList<Number>
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Live Latency
Package
Audio Processing

Input Wait

Function

How long the input's samples waited in its ring, on average.

Signature
InputWait(Live Latency: Live Latency) -> TimeSpan
TimeSpan InputWait(LiveLatency Live Latency)

Parameters

nametypedefaultdescription
Live LatencyLive Latency—

Returns

resultTimeSpan
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Live Latency
Package
Audio Processing

Longest

Function

The longest round trip in seconds; NaN when no click was heard.

Signature
Longest(Live Latency: Live Latency) -> Number
double Longest(LiveLatency Live Latency)

Parameters

nametypedefaultdescription
Live LatencyLive Latency—

Returns

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

Median

Function

The median round trip in seconds; NaN when no click was heard.

Signature
Median(Live Latency: Live Latency) -> Number
double Median(LiveLatency Live Latency)

Parameters

nametypedefaultdescription
Live LatencyLive Latency—

Returns

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

Sample Rate

Function

The rate it ran at.

Signature
SampleRate(Live Latency: Live Latency) -> Integer
int SampleRate(LiveLatency Live Latency)

Parameters

nametypedefaultdescription
Live LatencyLive Latency—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Live Latency
Package
Audio Processing

Shortest

Function

The shortest round trip in seconds; NaN when no click was heard.

Signature
Shortest(Live Latency: Live Latency) -> Number
double Shortest(LiveLatency Live Latency)

Parameters

nametypedefaultdescription
Live LatencyLive Latency—

Returns

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

To String

Function

This node carries no documentation.

Signature
ToString(Live Latency: Live Latency) -> Text
string ToString(LiveLatency Live Latency)

Parameters

nametypedefaultdescription
Live LatencyLive Latency—

Returns

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