Hi Leah...

> Good to know you're alive and kicking in Director-land!
Yes, likewise!  Alive, kicking, debugging and genuinely enjoying the work.


----------


I did some various tweaks that have seemingly minimized sound skipping on my
project.  As I think the sound performance and skipping may be tied to
processing power, I tried to optimize other sprites on the stage and
minimize things going on for slower machines.  

At startMovie, I have a parent script that controls things, and now, I
passed a new parameter to the parent script "fast" or "slow" depending on
the processor speed using Buddy API's baCpuInfo("speed").

  theSpeed = baCpuInfo("speed")
  if theSpeed < 500 then
    mySpeed = "slow"
  else
    mySpeed = "fast"
    if theSpeed > 750 then
      cursor (member("blueArrow"))
    end if
  end if

Then, I tried your suggestion of preloadMember, for all my sound files, but
I found that with 45MB, it took a long time for the sounds to load on an old
clunker we have here.  So, I scratched that idea (but I appreciate the
suggestion anyway).

Then, using the "fast" or "slow" from the parent script, I determine whether
or not to have a background music loop play or not.  If it's slow, it won't
play.  There are two sound files going: a narrator, and a music loop.  The
music loop only plays on the "fast" systems.  Also, I found in Director in a
Nutshell that if you mix sounds, it's better to have them all the same
bitrate.

Essesntially, this piece is 2 swf's being controlled by Director, so I made
them both copy ink instead of one being background transparent, and that
helped a bit too.  Originally, I had the background transparent swf over a
bitmap texture background, but that background is now in the swf.  I found
that complex animations simultaneously going with 2 sound channels can
sometimes cause the sound to skip. 

So, all in all, the sound skipping seemed to be caused not just by sound
"busyness" but by lots going on on the stage.  I'd say that the sound
skipping is pretty much gone at this point, but I'm sure that if I test it
out on a really really old computer, maybe skips will be there.

Hope what I did might be of use to you (or anyone else reading this).

Thanks for writing back to me!!
- Michael M.
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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