You will have to use the callbacks property of the player to do what you want 
to do. The callbacks list would be your cues. From the dictionary:

The callbacks of a player <> is a list of callbacks, one per line. Each 
callback consists of an interval number, a comma, and a message <> name. 


Regards 
Tore Nilsen


> 12. feb. 2020 kl. 11:25 skrev Graham Samuel via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Folks, forgive my ignorance, but it’s a long time since I considered the 
> following and wondered what pitfalls there are.
> 
> I have in mind a project where a recording of someone reading a poetry text 
> (“old fashioned” poetry in metrical lines) needs to be synchronised to the 
> display text itself on the screen, ideally so that a cursor or highlight 
> would move from word to word with the speaker, although that would almost 
> certainly involve too much work for the developer (me), or at least highlight 
> lines as they are being spoken. I see that one would inevitably have to add 
> cues to the spoken text file to fire off the highlighting, which is indeed an 
> unavoidable amount of work, but can it be done at all in LC? For example, 
> what form would the cues take?
> 
> TIA
> 
> Graham
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to