Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Wavs are playing twice! (Phantom Wavs?)
Wavs are playing twice! (Phantom Wavs?)
Oct 5 2014, 3:16 am
By: Zoan  

Oct 5 2014, 3:16 am Zoan Post #1

Math + Physics + StarCraft = Zoan

I'm trying to add in sound for attacks in a turn based RPG, and some of the wavs are playing at the right time but are also sometimes playing AGAIN a second or two later.

I added a 'display text' trigger to the trigger that is playing the wav to see if it is the trigger running twice, and it turns out that the trigger is NOT running twice, but the wav is still occasionally playing twice (a second or two after it plays once).

Also, the trigger is set for force 1, which contains 4 players. I am hearing the 'phantom wav' while playing alone, and have not tested it with multiple people to see if the problem persists yet.

I'm using 13.6% of the max strings, and am at 319/1024 for individual strings. There are also a butt-load of triggers.. there are 92872 lines in the trigedit thing.

Why is the wav playing twice, and how do I fix it?



\:rip\:ooooo\:wob\:ooooo \:angel\: ooooo\:wob\:ooooo\:rip\:

Oct 5 2014, 3:22 am Roy Post #2

An artist's depiction of an Extended Unit Death

I could be mistaken, but I recall hearing about an issue where very short wavs can play twice in SC. The solution is to add some dead space to the end of the wav to make it longer (make it at least one second long). Try giving that a go.




Oct 5 2014, 2:10 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

You should post the triggers for analysis.

Post has been edited 1 time(s), last time on Oct 5 2014, 7:57 pm by NudeRaider. Reason: overlooked a vital part




Oct 5 2014, 4:26 pm Sacrieur Post #4

Still Napping

I'm having trouble replicating your problem. How long is the wav?



None.

Oct 5 2014, 5:37 pm Zoan Post #5

Math + Physics + StarCraft = Zoan

It's just less than 0.16 seconds

Attachments:
Hit.wav
Hits: 2 Size: 13.77kb



\:rip\:ooooo\:wob\:ooooo \:angel\: ooooo\:wob\:ooooo\:rip\:

Oct 5 2014, 6:46 pm Zoan Post #6

Math + Physics + StarCraft = Zoan

At the risk of later finding out I'm wrong, I think the problem is fixed. I added some blank noise to the end of the wav, and so far haven't heard it play twice.



\:rip\:ooooo\:wob\:ooooo \:angel\: ooooo\:wob\:ooooo\:rip\:

Oct 6 2014, 4:09 pm Oh_Man Post #7

Find Me On Discord (Brood War UMS Community & Staredit Network)

Quote from Roy
I could be mistaken, but I recall hearing about an issue where very short wavs can play twice in SC. The solution is to add some dead space to the end of the wav to make it longer (make it at least one second long). Try giving that a go.
This was the exact same problem I had and that solution worked.

For whatever reason small WAVs do this, and the solution is just to fill out the length of the WAV.

http://www.staredit.net/topic/16343/




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
Please log in to shout.


Members Online: NudeRaider, DarkenedFantasies