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"
command soundNotes — does not get sent put the params end soundNotes on currentTimeChanged theInterval put theInterval end currentTimeChanged on playPaused put the currenttime of me endplayPaused 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@lists.runrev.com>, wrote: > David, > > 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@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@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 _______________________________________________ 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