Transposing keyboard question

Is there a potential way to write a patch that allows you to transpose the keyboard after recording a sequence that doesn’t then change the pitch of the loop as well? In the simple sequencers I’d like the option to record some lower chords or maybe a bass line and then dub on top of that a higher octave lead, let’s say. Transposing the keyboard while dubbing also transposes the original recording, I’d like to just leave it as is.

I’m just starting to learn PD so I wasn’t sure if this was a tall order or something most people just don’t bother to put into the patches because you can easily plug in a midi controller with more keys. The Organelle M is just so wonderfully portable and having to hook up a midi keyboard would take away some of that portability. Either way I’d appreciate the feedback. Thanks.