Files

Read a file's waveform: its lowest and highest samples, at 5, 50, or 500 bins a second

Made on first request, which answers with status processing; ask again with wait. Kept and deleted with the file.

get/api/v1/files/{id}/peaks

Request

  • Base URL: https://audo.ai
  • URL: https://audo.ai/api/v1/files/{id}/peaks
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Secure-audo.session_token

Path parameters

idstring required

Query parameters

waitnumber

Wait up to this many seconds (at most 40) for a change before answering

level5 | 50 | 500

Bins a second: 5, 50, 500. Without it, only the description comes back

firstinteger

The first bin to return. Default 0

countinteger

How many bins, 1 to 16384. Default 4096

Response

OK

fileIdstring required
status'processing' | 'ready' | 'none' required

processing while they're made (ask again, with wait); none when the file has no sound to draw

durationSecondsnumber nullable required

How long the decoded sound is

peaknumber nullable required

The loudest sample, 0 to 1

Changes

No recorded changes to this operation across all 1 revision of this API.