Get WAV file

Get WAV file

Get a sample as a WAV file. This only applies to samples with an audio axis.

get

/api/{projectId}/raw-data/{sampleId}/wav

Authorizations
Path parameters
projectIdintegerrequired

Project ID

sampleIdintegerrequired

Sample ID

Query parameters
axisIxintegerrequired

Axis index

sliceStartinteger

Begin index of the slice. If not given, the whole sample is used.

sliceEndinteger

End index of the slice. If not given, the whole sample is used.

cacheKeystring

If set, then a long cache header is sent. If this is omitted then a no-cache header is sent. You can use this if you f.e. know the last modified date of a sample. Stick the last modified date in the cache key, so the sample can be stored in browser cache (and will automatically be invalidated if the modified date changes).

Responses
curl -L \
  --url 'https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/wav?axisIx=1' \
  --header 'x-api-key: YOUR_API_KEY'
text

Last updated

Was this helpful?