You are not logged in.

1

Wednesday, June 1st 2011, 6:29am

How to start multiple soundclipts at different time intervals

I've got this panorama, where I would like to start some sounds at different times.
I've use the code below to start the sounds. But if the start of the next clip overlaps the playing clip, it stops this clips and starts the new clip.
I would like to have clips run it's length and have other clips start overlapping playing clips if necessary.

This is the code used:
delayedcall(33, playsound2d(s2,Sounds/21ShotSalute_30Sec.mp3,.2,0,1,1));
delayedcall(58, playsound2d(s2,Sounds/MissingMan_22Sec.mp3,.7,0,1,1));
delayedcall(79, playsound2d(s2,Sounds/Taps_58Sec.mp3,.7,0,1,1));



This is the link to the panorama:
http://www.kennethtan.nl/test/chalk/Medi…ano_Flyover.asp


Kenneth Tan

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Wednesday, June 1st 2011, 7:01am

Try making the name of the, unique. Not all s2
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Wednesday, June 1st 2011, 4:10pm

Oh ho stupid of me not to see the ID name....
So obvious.... Thanx for the kick in the ***

Similar threads