Reading task with audio delay - any suggestions where to start?

Hi all,
I’m looking to create an experiment in PsychoPy that would involve participants reading aloud and hearing their own voice at a variable (100-500ms) delay. I can probably implement this with hardware (effects pedal on a mixer), but I would love to do it all within Psychopy for greater control and portability.
Does anyone have any suggestions on how I would go about this (e.g. a python library that would do this and work well in PsychoPy)? Alternatively, if there is a reason not to attempt this in Psychopy, it would be helpful to know that now.
I’m in the very early stages of planning, so any hints or pointers would be welcome.
Thanks,
Mark