What if the audio effect is:
Take an audio stream, apply STT, interpret the result as an algorithm, run the algorithm, take its output, apply TTS, then send that audio stream to the output.
Take an audio stream, apply STT, interpret the result as an algorithm, run the algorithm, take its output, apply TTS, then send that audio stream to the output.