The narrator Mouth
Another feature of the narrator device exploited by AMOS Professional is the MOUTH system,
which can be displayed in multitask mode only. The MOUTH functions are used to govern the
shape and movement of an animated mouth on screen, as follows:
MOUTH WIDTH
function: return the width of animated mouth
width=Mouth Width
MOUTH WIDTH reports the width of the mouth at any instant, in pixels. This function will return a negative value if the current speech has finished.
MOUTH HEIGHT
function: return the height of animated mouth
height=Mouth Height
Similarly to MOUTH WIDTH, a negative value is returned if the speech is over, otherwise the current height of the mouth is given in pixels.
MOUTH READ
function: read position of animated mouth
position=Mouth Read
This function waits for a mouth movement, and then reads the new mouth values directly into the MOUTH WIDTH and MOUTH HEIGHT functions, as demonstrated by the usual ready- made example program.