If you don’t mind using a tool, I made TapeDeck to work around some of my frustrations with sample recording. Among other things, it can start playback and recording at the same time. It may or may not suit you depending on what kind of recording you’re doing, but I’m open to suggestions if anything’s lacking.