Sound:getFrameCount

Edit

Returns the number of frames in the Sound. A frame stores one sample for each channel.

frames = Sound:getFrameCount()

Arguments

None

Returns

NameTypeDescription
framesnumber The number of frames in the Sound.

See also