OptionalbpmBeats per minute. Set to 0 or omit for samples without a tempo.
OptionaldescriptionOptional description of the sample.
Human-readable name displayed in the UI. This is the only required field.
The audio file to upload. Accepts:
File - from file input or drag-and-dropBlob - raw binary data with MIME typeArrayBuffer - raw bytes (will be sent as application/octet-stream)Supported formats: MP3, WAV, FLAC, OGG
OptionalkindWhether this is a one-shot sound or a looping pattern.
OptionalpreventIf true, prompts the user with a confirmation dialog when they try to close the tab while the upload is in progress. Only works in browsers.
OptionaltagsTags for categorization and search. Must have at least one tag.
OptionalvisibilityVisibility setting for the sample.
Options for uploading a sample.