If you are recording your own voice instead of using AI, you can simulate the effect using digital audio workstations like Audacity or Logic Pro: Exploring the Lore of Fatal Error in Sonic Series
This is the "secret sauce." Set it to a low sample rate (around 2000Hz) to get that crunchy, old-computer sound. how to make fatal error sonic voice
Now go corrupt some audio files.
To make him sound like a robot: