Class HitSample

An object describing the name of a sound file, which has the following format:

-hit.wav

Constructors

Properties

customIndex: number = 0

Custom index of hit sample.

filename: string = ''

The filename of this hit sample.

hitSound: string = ...

Hit sound data.

isLayered: boolean = false

Whether this hit sample is layered.

sampleSet: string = ...

The bank to load the sample from.

suffix: string = ''

An optional suffix to provide priority lookup. Falls back to non-suffixed name.

volume: number = 100

The sample volume.

Methods