Skip to main content

Sample

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

interface Sample
info

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

Properties​

num_channels​

num_channels: Int { get }

The number of channels in the audio sample.


num_frames​

num_frames: Int { get }

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