One cable, the end first
Put what you play into IN L and IN R (one cable does both), and OUT L and OUT R to your mixer. It listens all the time, keeping the last eight pieces, a photo each. Press PLAY and it tells them back, the newest first. Each piece plays forwards, as you played it; only their order is backwards, so a tune comes back as its ending, then its middle, then its opening.