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.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: Roy