AudioClip

interface AudioClip extends Clip, AudioContent { uuid: string index: number duration: number mute: boolean label: string hue: number launch: ClipPlayback sample: Sample playback: AudioPlayback gain: number waveformOffset: number transientPlayMode: TransientPlayMode playbackRate: number transpose: number track: AudioTrack remove(): void }

Clip playing a sample

Hierarchy


Properties

uuid: string

readonly

Inherited from uuid

Unique id

index: number

Inherited from index

Slot index in the clip launcher

duration: number

Inherited from duration

Length in PPQN (seconds for non-synced audio clips)

mute: boolean

Inherited from mute

Mute the clip

label: string

Inherited from label

Custom label

hue: number

Inherited from hue

Color hue (0 to 360)

launch: ClipPlayback

readonly

Inherited from launch

Launch settings

sample: Sample

readonly

Inherited from sample

The sample

playback: AudioPlayback

readonly

Inherited from playback

Tempo following mode (fixed at creation)

gain: number

Inherited from gain

Gain in dB (default 0)

waveformOffset: number

Inherited from waveformOffset

Waveform display offset in seconds

transientPlayMode: TransientPlayMode

Inherited from transientPlayMode

Time-stretch transient mode (only "timestretch")

playbackRate: number

Inherited from playbackRate

Playback rate (only "timestretch", default 1.0)

transpose: number

Inherited from transpose

Transpose in semitones (only "signalsmith", -24 to 24)

track: AudioTrack

readonly

The audio track this clip belongs to

Methods

remove(): void

Inherited from remove

Remove the clip

Returns

  • void