Adobe Animate.
frame.setSoundEnvelopeLimits(limits)
limits A structure that contains start and end fields that signify the limits for a custom sound envelope.
Nothing.
Method; Sets the sound envelope limits of any frame with a sound file.
The following example illustrates the use of setSoundEnvelopeLimits:
var limits;
limits.start = 2000; limits.end = 15000;
fl.getDocumentDOM().getTimeline().layers[0].frames[0].setSoundEnvelopeLimits(limits);