Skip to main content

Sample Experimental

An interface representing an audio sample that can be displayed by the Waveform component.

export interface Sample {
num_channels: Int { get }
num_frames: Int { get }
}
import { Sample } from audio_components

This interface was introduced as experimental feature in Kontakt 8.10.

Constructor

None. This interface cannot be instantiated directly. Use kontakt.Sample as a concrete implementation, obtained via functions such as load_sample.

Properties

num_channels: Int (get)

The number of channels in the audio sample.

num_frames: Int (get)

The number of frames (samples per channel) in the audio sample.