Forum Moderators: open

Message Too Old, No Replies

Background sound in MAC

         

moloco

5:49 pm on May 14, 2003 (gmt 0)

10+ Year Member



Hello everyone, first post, simple thing (?)

This code is producing some noticeable delay before playing the sound in Mac.

<!-- <embed src="audio/loop.wav" autostart="true" hidden="true" loop="true">
<noembed>
<bgsound src="audio/loop.wav" loop="-1">
</noembed> -->

(The real code is not commented)

I've had no chance to check it myself yet, the problem was noticed by a friend, anyway, could anyone suggest a possible reason for the problem please?

Thanks in advance!

moloco

Macguru

6:01 pm on May 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Some people get surprised when they try sites they made for the first time with a regular modem...

How big is the sound file,
how wide is the mac's bandwith,
how old is the Mac?

moloco

6:21 pm on May 14, 2003 (gmt 0)

10+ Year Member



The file is under 90kb.
I don't know about the specs of my friend's machine. He tried with his Mac at home in a modem connection and (as he said), IE played the file with interruptions (I can guess that's a modem's speed problem) and, when usign AOL, the browser tried to download "something". Then at his office, again in a Mac but with DSL, the loop plays with the delay at the beginning... apparently on each visit.

moloco

6:29 pm on May 14, 2003 (gmt 0)

10+ Year Member



Just wanted to add that I have a modest PC at home with a modem connection, and the loop plays ok.

Macguru

6:34 pm on May 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



But the sound file probably resides in your cached files and is read from your hard disk.

a 90 kb file typically takes 10 seconds to download (outside the rest of page) for a regular modem.

I dont see any problem with the code. It's a matter of individual memory or prefs settings.

I dont see anything you can do.

<added> OOps! I forgot to say Welcome to the board moloco! </added>

moloco

7:05 pm on May 14, 2003 (gmt 0)

10+ Year Member



Oh, you are right about the cached files. I'll have to go to my friend's office to see what's happening exactly.

Thanks for your help and welcome Macguru.

moloco

P.D.
I'm about to get a Mac, so chances are you'll see me around soon asking more help for Mac things!