Quick question: player object callbacks still working?
david.bovill at gmail.com
Sun Jun 28 11:22:55 EDT 2020
The message is not being sent. I set the callbacks of the payer and test it with:
set the callbacks of player 1 to "0,soundNotes"
— does not get sent
put the params
on currentTimeChanged theInterval
put the currenttime of me
As I understand it the callback timing should be in “intervals"
• The duration of player 1= 4665600
• The timescale of player 1 = 90000
Setting the callbacks to a range of values between 0 and the duration seems to have no effect with regard to messages actually being sent. I’ve tried putting the “soundNotes” handler in various positions - card, stack and player. Still debugging...
On 28 Jun 2020, 06:35 +0100, Peter Bogdanoff via use-livecode <use-livecode at lists.runrev.com>, wrote:
> Specifically what is not working? Setting the callbacks, the callbacks message not being sent or received?
> Sometimes I’ve seen that the interval between callbacks is so great, that the message is never sent before the player ends. That is highly dependent on the timeScale of the player. Put in the message box after the file is loaded into the player:
> put the timeScale of player “<player name>”
> to see if the numbers make sense. Some files will have very different timeScales (a Mac file with 600/second may have a Windows equivalent of a number in the millions).
> Peter Bogdanoff
> > On Jun 27, 2020, at 1:41 PM, David Bovill via use-livecode <use-livecode at lists.runrev.com> wrote:
> > I’ve been testing an idea for an app - and I can’t get the callbacks property sending of messages. Does it still work with 9.6 MacOS?
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode