Sources

Get the audio waveform JSON for a source on no clip

Returns the audio waveform JSON, in BBC audiowaveform format, for a streaming upload source owned by the caller or their workspace, without a video or clip — for a source that isn't on any clip yet.

get/v1/sources/{sourceId}/waveform

Path parameters

sourceIdstring required

Streaming upload source identifier

Example:su_abc123def456

Streaming upload source identifier

Response

OK

bitsinteger required
channelsinteger required
datanumber[] required

Raw audio level data (BBC audiowaveform format)

lengthinteger required
sampleRateinteger required
samplesPerPixelinteger required
versioninteger required

Example response

{
  "bits": 8,
  "channels": 1,
  "length": 12345,
  "sampleRate": 48000,
  "samplesPerPixel": 256,
  "version": 2
}

Changes

Changed in 2 of the 19 revisions of this API.91

    • ●

      added the new edit_conflict enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new edit_conflict enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new edit_conflict enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new edit_conflict enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new edit_conflict enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new edit_conflict enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new edit_conflict enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new edit_conflict enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new edit_conflict enum value to the response property for the response status

      response-property-enum-value-added

    • ○

      endpoint added

      endpoint-added

Of the 19 revisions, 1 has no diff computed.