Skip to content

anim-format (runtime format) / soundSegment

Function: soundSegment() ​

ts
function soundSegment(opts, duration): object;

The part of the file one loop plays, in seconds of the file.

Parameters ​

ParameterType
optsSoundOptions
durationnumber

Returns ​

object

NameType
fromnumber
lengthnumber
tonumber

HereSplash — 2D animation for the web