Converts sample count to frame count.
Accounts for the model's internal striding and padding.
int sample2frame(int x) => (x - 721) ~/ 270;