Skip to main content

Sample

const sample = new Sample(startTime: number | string, layer: SampleLayer, path: string, volume: number = 100)

Storyboard sound effect.

  • startTime: time in milliseconds/timestamp to start playing the sound effect
  • layer: SampleLayer
  • path: relative path to the sound file.
  • volume: volume of the sound file. (1-100)