AudioGraphMeasurement interface
A measurement emitted by an analysis tap in an NorskTransform.audioGraph() graph, delivered to AudioGraphSettings.onMeasurement.
Signature:
export interface AudioGraphMeasurement
Properties
| Property | Type | Description |
|---|---|---|
number |
(Optional) The channel this reading is for, or undefined for a whole-stream reading. |
|
Uint8Array |
(Optional) Packed binary payload for sample-feed taps (the goniometer’s interleaved i16 LE L/R pairs); undefined for scalar measurements. |
|
The media PTS the reading was taken at, as a rational (seconds). Lets a consumer correlate a reading with a point in the stream / compute rates. |
||
string |
The metric family, e.g. "rms". |
|
string |
The tap’s name (as given to the op that produced it). |
|
Record<string, number> |
The named readings, e.g. |