An automatic lip-synchronization algorithm for synthetic faces