A ventriloquist is able to convince you that words are coming from his dummy’s mouth because the dummy’s mouth movements match the timing of the words actually coming from the ventriloquist. The ventriloquist is making use of the perceptual principle of