Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PuppetSound

Status
Not open for further replies.

styleBunny

Technical User
Jun 20, 2002
133
AU
Hi folks,

Looks like i have all the questions ;)
I am using this frame script to puppet/change cast members. When the cast members change, i also want to puppet a sound, the sounds play sometime, but they sound like they are getting stuck, being cut off early or looping over and over (although the loop option is unchecked). Is it because i am telling the play head to go the frame, that it keeps repeating the sound?

on exitFrame
if the timer > (55*60) then
sprite(11).member=28
sprite(11).locV=200
sprite(11).locH=306
puppetsound(2), "horn01"
sound(2).volume = 80
the timer=0
end if
go to the frame
end

I couldnt find a reference to puppet sound in the DMX2004 help either :(

cheers
Paul.
 
Your script says "play 'horn01' in the sound channel 2 every 55 seconds", therefore if the sound is longer than 55 seconds then it will be cut off at that point and start playing again from the beginning.

You are right about the help - Director 10 (DMX2004) documentation is very poor, I must say.
 
once again, kenneth to the rescue. :)

Thats true, i do want it to play every 55 seconds, though the sound is only 2 seconds long, when it plays the sound, it sounds almost 'jammed' as it loops over and over at fast speed, though i have unchecked 'loop' in the proprties of the cast member.
 
It's not your script causing your sound problem - it's something else. May be other activities happening at the same time? Is the sound file itself fine?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top