ReadonlydurationSeconds: numberDuration of the sample in seconds.
ReadonlyflacUrl: stringURL to download the sample in FLAC format.
ReadonlygetWaveformUrl: (options?: WaveformUrlOptions) => stringBuild a URL to fetch waveform visualization data.
The URL returns gzipped JSON containing an array of non-negative peak
values (one per time bin). Pick a WaveformResolution and a
WaveformChannel; both default to a sensible middle ground
(1920 peaks, "both" channels).
Readonlymp3Url: stringURL to download the sample in MP3 format.
ReadonlypreviewMp3Url: stringURL to download a low-quality MP3 preview.
ReadonlywavUrl: stringURL to download the sample in WAV format.
Complete sample metadata available after server-side processing completes. Extends SamplePending with download URLs for various audio formats.
You can pass this directly to document.TransactionBuilder.insertSample, or pass a plain object with
name,durationSeconds, and optionalbpm.