Raised This Month: $ Target: $400
 0% 

Sound file is looping... why ???


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 07-08-2006 , 15:29   Sound file is looping... why ???
Reply With Quote #1

This is my code:

Code:
// Play ultimate blocked sound emit_sound( id, CHAN_STATIC, g_szSounds[SOUND_DISPELL], 1.0, ATTN_NORM, 0, PITCH_NORM );


And NO it isn't in a loop, there is a print statement above it which is never called. the sound dispell is this:

Code:
copy( g_szSounds[SOUND_SPELLSHIELD] , 63, "warcraft3/SpellShieldImpact1.wav" ); // Dispell an ultimate - played on blocker


I've attached the sound file, I was thinking maybe the sound file has some built in loop thing? I don't know, it's weird...

Basically it plays normally, but then it just starts looping (it doesn't loop entirely, it only loops like the first 0.5 seconds)
Attached Files
File Type: zip DispelMagicTarget.zip (57.2 KB, 78 views)
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 07-08-2006 , 20:23   Re: Sound file is looping... why ???
Reply With Quote #2

yours had a mark inside, do not know if it was a loop mark or something else

try this one, i removed the mark

EDIT:
attachment removed
__________________
alias White Panther

Last edited by karlos; 02-26-2008 at 18:37.
karlos is offline
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 07-08-2006 , 20:25   Re: Sound file is looping... why ???
Reply With Quote #3

It had a mark? what does that mean?

Also, ty
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 07-08-2006 , 20:40   Re: Sound file is looping... why ???
Reply With Quote #4

sounds can contain marks to force loops ( i do not know much about it )

i opened the wav with a sound editor and then saw that there is a mark called "Poof"
__________________
alias White Panther
karlos is offline
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 07-08-2006 , 21:14   Re: Sound file is looping... why ???
Reply With Quote #5

Awesome thanks Care to saw what editor you used so I can take a peak?

Thanks!!!
Josh
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 07-09-2006 , 06:41   Re: Sound file is looping... why ???
Reply With Quote #6

sound forge
__________________
alias White Panther
karlos is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode