length

The length property of the OfflineAudioContext interface returns an integer representing the size of the buffer in sample-frames.

MDN Reference