Skip to content
Damnae edited this page Jan 7, 2017 · 1 revision

Creating Samples

Samples can be created with the following method (volume is optional):

CreateSample(path, time, volume);

Example :

var layer = GetLayer("Main");
layer.CreateSample("sound.wav", 10000, 80);