In the attachment is a text of a recording (also in the attachment), where each word is followed by a number that represents the approximate time index in milliseconds when the word is spoken in the recording.? Thus, of the first few words of the text:
“Four?? is spoken at time index 0ms
“score?? is spoken at time index 720ms
“and?? is spoken at time index 1160ms
“seven?? is spoken at time index 1480ms, etc.
You will create a ready-to-run Windows XP/Vista/7 application that plays the recording and simultaneously displays the text in a scrolling word display (see illustration in attachment) using the text and the time index for each word, where each word scrolls smoothly from right to left, and where each word hits the center line at the instant of the word’s time index, which is approximately at the same time the word is spoken.? All words must travel at the same speed.? Thus, given the width of the scrolling word display and the width of each displayed word, you must control when a word appears, how much space there should be between a word and its preceeding word, and how much distance each word should travel per unit time, such that each word travels the same distance per unit time, and such that the spacing between a word and its preceeding word remains constant (although the spacing between different words may vary in accordance with the varying time intervals between each word and its preceeding word).? If two or more words are spoken so closely together such that no space can be placed between the words given the rate of word travel, the words may be displayed one on top of the other as follows:
The font size of the text and the width of the scrolling word display must not be hard-coded, but the program must accommodate different values for these.