I thought I saw a device a few years ago that was basically a ring buffer, but I may have been hallucinating. It recorded, I dunno, a minute or 2 and then recorded over itself unless you stopped it and saved. Seems like a handy thing for practice. There was an iPhone app called Sound Mirror(?) that more or less did that but it was pretty bad and I think they stopped supporting it.