Sample

interface Sample { uuid: string name: string duration: number bpm: number sample_rate: number }

A sample known to the studio. Obtain one via Api.addSample or Api.listSamples.


Properties

uuid: string

readonly

Unique id of the sample (uuid string)

name: string

readonly

Display name

duration: number

readonly

Length in seconds

bpm: number

readonly

Detected or assigned tempo (0 = unknown, plays in seconds when placed on the timeline)

sample_rate: number

readonly

Sample rate in Hz