Expand description
Explicit framing geometry: how many complete frames a signal yields, and a caller-buffered cutter that copies one frame into a supplied buffer.
Zero-heap: frame_count is pure integer arithmetic; cut_frame copies
into a caller-owned &mut [f32] with no allocation.
Functionsยง
- cut_
frame - Copy frame
indexof a signal (window positionindex * hop) intoout. - frame_
count - Number of complete frames of length
frame_sizeobtainable from a signal ofsignal_lensamples advancing byhopeach step.