frames() {
    if (this.buffer) return this.buffer.length;
  }
Return the number of samples in a sound file.
Equal to sampleRate * duration.

@method frames
@for p5.SoundFile
@return {Number} [sampleCount]