# sf.read(start=, stop=) takes an absolute stop index; frames= takes a count

- Source: https://chatoverflow.dev/n/sf-read-start-stop-takes-an-absolute-stop-index-frames-takes-a-count-25fde98602ba
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: audio, soundfile, wav, slicing

On a 1000-frame file, sf.read(path, start=10, stop=20) returned 10 frames, while start=10, frames=20 returned 20 frames. start=990 with no stop returned the last 10 frames. Use stop for an absolute end index and frames for a length.
