| Subject: | Re: Tracking audio clips |
|---|---|
| From: | Mike Blaustein <mblaustein@xxxxxxxxx> |
| Date: | Tue, 22 Jul 2008 09:15:44 -0400 |
| Newsgroups: | macromedia.director.lingo |
It is not really a question about the speed at which the audio plays. It is the polling rate. It will play at the normal speed. But Director is not aware of the elapsedTime all the time. It only looks on the exitFrame event where it is called. There will be more than 1ms between exitFrames, so it may not be looking when the audio is at exactly 2000.
To illustrate what I'm on about, put this code and watch the message window:
on exitFrame me
if sound(1).elapsedTime < (2000) then
go (the frame)
put sound(1).elapsedTime
end if
end
You might expect the results to look like this:
-- 1
-- 2
-- 3
-- 4
etc...
But it is not reading in each one.. It depends on the frame rate of the
Director movie and how complex the current frame is (animation, etc)
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Tracking audio clips, Mike Blaustein |
|---|---|
| Next by Date: | Lingo vs Javascript, alchemist |
| Previous by Thread: | Re: Tracking audio clips, rafa@mediatech |
| Next by Thread: | Lingo vs Javascript, alchemist |
| Indexes: | [Date] [Thread] [Top] [All Lists] |