Sound distortion, crackling and other weirdness

Discussion in 'Closed bugs' started by Fooshi, Jun 27, 2014.

Thread Status:
Not open for further replies.
  1. Fooshi

    Fooshi For fuck's sake Fooshi

    Messages:
    4,736
    Likes Received:
    18
    Trophy Points:
    0
    I think this is a fairly known issue, or at least should be.

    https://www.youtube.com/watch?v=193-qoQjE8A

    It appears that feeding Empires new sounds makes it go spastic. The same thing happens with my soundpack.

    Both the new sound files and my soundpack's files sound fine outside of the game. Does Candles the Great know anything about the Source engine's way of handling audio?
     
  2. Grantrithor

    Grantrithor Member

    Messages:
    9,820
    Likes Received:
    11
    Trophy Points:
    0
    "This video is private"
    You'll have to set it to shareable I believe is what the setting is.

    As for the crackling, that's actually a normal thing that happens in plain computers, if you play a lot of sounds at once you get a crackling effect. Most video games, especially earlier ones, usually limit how many sound effects can be played at one time.

    To test this out with something else to prove to you, open this video in like 20 tabs and listen for yourself - https://www.youtube.com/watch?v=sC0cvwnG0Ik.

    I'm not sure if it has to do with all the frequencies being filled up or something, but that video is a good example because it's playing a lot of random pitches.
     
  3. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    Private vid.
    Sounds like something to do with pure or sounds from the gcf not being overwritten, I'm not sure because I haven't experimented much and the video doesn't work.

    EDIT: If the crackling is occurring with massive 20v20 tank battles in 64 slot servers that's because the amount of sounds has filled all of sources sound channels and the game simply can't play more so unexpected behaviour happens like crackly audio or audio failing altogether.
     
  4. Candles

    Candles CAPTAIN CANDLES, DUN DUN DUN, DUN DUN DUN DUN.

    Messages:
    4,251
    Likes Received:
    10
    Trophy Points:
    0
    >This video is private.

    :|

    Slightly more seriously though, you're now officially the third person to have noted that they have some sound issues, the first being myself and the second being w00kie. It's actually fairly rare from what I've gathered; the majority of players don't have any issue with the sounds.

    But that's impossible because Empires only uses loose files; none of the Empires content is stored in GCF's or VPK's. And I know none of the servers run sv_pure because it always breaks shit.
     
    Last edited: Jun 27, 2014
  5. Fooshi

    Fooshi For fuck's sake Fooshi

    Messages:
    4,736
    Likes Received:
    18
    Trophy Points:
    0
    Oops, video should be public now. Thought I already did that.
     
  6. Angry

    Angry Junior Member

    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    Candles brought this to my attention. As I told him I hate to say it, but source is so old and shit, even AUDIO the last thing that should bottleneck, is bottlenecking. The sounds are fine in ANY other medium, but only a small handful of people have issues, sometimes.

    The only thing that we could solve it with is to usurp source's own audio engine with our own and we lack the time and manpower to make that happen. :(
     
  7. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,505
    Likes Received:
    111
    Trophy Points:
    0
    I consider this a feature, with the amount of ML spam taking place during the bottleneck you shouldn't be able to hear shit anyways. The crackling is part of Empires for me.
     
  8. Z100000M

    Z100000M Vithered Weteran

    Messages:
    9,120
    Likes Received:
    70
    Trophy Points:
    0
    Oh come the hell on. you're playing the "realistic!" card? Its the most annoying fucking sound. I can live with engines sometimes not playing any sound when at full throttle, but when there is alot of sounds going at once, the sound goes absolutely haywire.
    Fooshis vid is weird in that ive never heard exactly that happen, its way worse for me.
    And unless we are talking about some new.

    Unless im mistaken about the nature of the bug, its not recent at all, its at least 2.0 old, especially since missleboats were a thing back then. It took one tank to make your ears bleed.
     
    Last edited: Jun 27, 2014
  9. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,505
    Likes Received:
    111
    Trophy Points:
    0
    It's not realistic at all bro, I just dig the effect.

    EDIT: After watching Fooshi's vid, I changed my opinion. What is on video is horrible, but the mass MLs raping the speakers is cool.
     
    Last edited: Jun 27, 2014
  10. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    I believe it's more the volume of players and tanks than anything else, we didn't have 64 player matches very often.
     
  11. complete_

    complete_ lamer

    Messages:
    6,436
    Likes Received:
    144
    Trophy Points:
    0
    just pretend is a magic spell being cast
     
  12. w00kie

    w00kie Mustachioed Mexican

    Messages:
    3,863
    Likes Received:
    13
    Trophy Points:
    0
    I have never heard sound break like in your video.

    My problem was related to the new death sounds, they played at double speed, so every death sound was like Worms2. I simply deleted the death soundfolder and did a verify integrity of game cache. After that the new death sounds played fine.

    @Angry, can you provide a list of all the sound files that have changed since you started again? I want to redownload all soundfiles that are not part of mappacks, but it's a mess.

    I recall Mootant once said that he experienced empires sounds as missing base and the game tending to make it worse over time. ¯\_(ツ)_/¯
     
  13. Angry

    Angry Junior Member

    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    Yeah, Lemmie pull up the SVN log.
     
  14. Ikalx

    Ikalx Member

    Messages:
    6,210
    Likes Received:
    9
    Trophy Points:
    0
    I don't know much about sound engineering, but...couldn't you cap the number of 'voices' played at the same time? I mean...if it's bottlenecking terribly (and yeah it's always done for me, even with a good soundcard) couldn't you just cap the number of sounds that could be played at once?

    Sure, you'd lose some sound, but some is better than none, right?
     
  15. Angry

    Angry Junior Member

    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    Here's the list
    Code:
    /sourcemod_dir/sound/vehicles/artillery/impact.wav
    /sourcemod_dir/sound/vehicles/artillery/impact2.wav
    /sourcemod_dir/sound/vehicles/artillery/impact3.wav
    /sourcemod_dir/sound/vehicles/artillery/impact4.wav
    /sourcemod_dir/sound/vehicles/artillery/impact5.wav
    /sourcemod_dir/sound/vehicles/cannon/impact.wav
    /sourcemod_dir/sound/vehicles/cannon/impact2.wav
    /sourcemod_dir/sound/vehicles/cannon/impact3.wav
    /sourcemod_dir/sound/vehicles/cannon/impact4.wav
    /sourcemod_dir/sound/vehicles/cannon/impact5.wav
    /sourcemod_dir/sound/vehicles/cannon/impact6.wav
    /sourcemod_dir/sound/vehicles/hecannon/impact.wav
    /sourcemod_dir/sound/vehicles/hecannon/impact2.wav
    /sourcemod_dir/sound/vehicles/hecannon/impact3.wav
    /sourcemod_dir/sound/vehicles/hecannon/impact4.wav
    /sourcemod_dir/sound/vehicles/cannon/round.wav
    /sourcemod_dir/sound/vehicles/heartillery/round2.wav
    /sourcemod_dir/sound/vehicles/heartillery/round3.wav
    /sourcemod_dir/sound/vehicles/hecannon/round.wav
    /sourcemod_dir/sound/vehicles/mg/mg_loop1.wav
    /sourcemod_dir/sound/vehicles/mg/mg_loop2.wav
    /sourcemod_dir/sound/vehicles/mg/mg_loop3.wav
    /sourcemod_dir/sound/vehicles/mg/mg_loop4.wav
    /sourcemod_dir/sound/vehicles/mg/mg_loop5.wav
    /sourcemod_dir/sound/vehicles/mg/mg_loop6.wav
    
     
  16. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    Perhaps we should port over firing sounds over to the fmod Ex system we currently have for loading music?
     
  17. w00kie

    w00kie Mustachioed Mexican

    Messages:
    3,863
    Likes Received:
    13
    Trophy Points:
    0
    wonderful :)

    I deleted my vehicles folder and let it redownload, will have to check later if anything has changed, just like with the death sounds before.

    OP should do the same, it can't hurt.
     
  18. Metruption

    Metruption Member

    Messages:
    804
    Likes Received:
    4
    Trophy Points:
    0
    valve added the buggy sounds manually, they are morse code
    somebody decode them

    tl;dr hl3 confirmed
     
  19. Reznov

    Reznov Member

    Messages:
    622
    Likes Received:
    1
    Trophy Points:
    0
    This seems very familiar... and I still have this problem too.

    I once replaced NF soldier sound files, then back to original. It plays random beeping noises when the custom soundfile was longer than the original one. The custom soundfiles which had a shorter playback time are not crackling.

    Basicly:

    1. Original sound: "Playback (0:03)"
    2. Replace with Custom sound: "Playback (0:05)"
    3. Back to original sound: "Playback (0:03) + Random noises (0:02) = 0:05"
     
  20. Angry

    Angry Junior Member

    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    Try deleting your sound cache.
     
Thread Status:
Not open for further replies.

Share This Page