Staredit Network > Forums > Modding Assistance > Topic: WAV replacement (unit soundset) is silent in-game
WAV replacement (unit soundset) is silent in-game
Jul 13 2020, 9:20 am
By: Netbek  

Jul 13 2020, 9:20 am Netbek Post #1



Hello,

I replaced the Zergling's "what" sounds using PyMPQ. Image: https://www.coh2.org/file/19030/sc-wav-replace1.png
In-game, it resulted in no sound. I replaced 3 of 4 "what" sounds, the 4th, unreplaced one, still played.
The custom sounds are .wav, so what do I need to change about them? Comparison: https://www.coh2.org/file/19031/sc-wav-replace2.png

I attached one of the custom .wav sounds: https://www.hiveworkshop.com/pastebin/691a9a28b87a0b5e4f794c193098a56221561/

Post has been edited 1 time(s), last time on Jul 13 2020, 9:26 am by Netbek.




Jul 13 2020, 10:43 am IlyaSnopchenko Post #2

The Curious

The default sample rate in SC classic is 22KHz. Maybe the too-high sample rates are not playing due to the engine limitation of some kind.



Trial and error... mostly error.

Jul 13 2020, 11:30 am Netbek Post #3



Quote from IlyaSnopchenko
The default sample rate in SC classic is 22KHz. Maybe the too-high sample rates are not playing due to the engine limitation of some kind.

Thank you, it has worked! :D
Settings: 22050KHz, 1 channel: https://www.coh2.org/file/19032/sc-wav-replace3.png
I used this site to convert it: https://online-audio-converter.com/de/




Jul 13 2020, 5:34 pm DarkenedFantasies Post #4

Roy's Secret Service

The game can play sample rates higher than 22,050Hz, I think the issue with your original custom sound was the audio format. It uses IMA ADPCM compression, but SC should only be able to read PCM (uncompressed). Presumably, converting the wav using that site generated a sound file without the compression scheme.




Jul 13 2020, 7:19 pm IlyaSnopchenko Post #5

The Curious

Ah. That was the second idea I had, but I thought the sample rate was the culprit (as it was so way out of what SC usually had; I know that 44100 KHz files played alright).



Trial and error... mostly error.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Ultraviolet