The Director 8 sound control Lingo IS in need of some way of 
identifying that the sound playlist has advanced.  An generated event 
would be really nice.

Having a cue points at the beginning and end of each sound should 
facilitate this.

btw: monitoring for a change in sound().member or sound().currentTime 
can both fail if the queue contains 2 subsequent elements drawn from 
the same member.
ie sound().getPlayList = [[#member: member 1, #startTime: 100, 
#endTime: 1100],[#member: member 1, #startTime: 1200, #endTime: 2200]

-Buzz

At 10:17 AM -0400 6/14/01, Charlie Fiskeaux II wrote:
>I haven't tested to see if this is practical or not, but you might be able
>to use sound(x).currentTime.  CurrentTime gives the time in milliseconds
>from the beginning of the sound file.  (unlike elapsedTime, which measures
>the time since the play() command was given, including skips and loops,
>currentTime measures the absolute time of the file).  You could continually
>test for a low currentTime, indicating that a new file just started playing.
>(Assuming you don't need to differentiate between files.)
>
>Charlie Fiskeaux II
>The Creative Group
>www.cre8tivegroup.com
>859/858-9054 x29
>cell: 859/312-3883
>
>
>----- Original Message -----
>From: "Michael Nadel" <[EMAIL PROTECTED]>
>To: "Buzz Kettles" <[EMAIL PROTECTED]>
>Cc: "HandyMan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Thursday, June 14, 2001 5:03 AM
>Subject: Re: <lingo-l> queued sounds
>
>
>When a queued list of sounds is playing, I did notice that you can monitor
>this: "sound(n).member.membernum"
>
>The question though is, does anyone have any ideas how I could monitor it as
>it plays, and get Director to execute a handler each time
>"sound(n).member.membernum" changes?
>
>Thanks for any ideas!
>
>Michael Nadel
>[EMAIL PROTECTED]
>Mediart - Multimedia as an Art Form
>
>
>
>
>
>
>
>
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>
>
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to