Team Spartan Cookies & Milk Forums
Audio scaling - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Feedback (https://teamscm.co.uk/forum-9.html)
+--- Forum: Suggestions and improvements (https://teamscm.co.uk/forum-11.html)
+--- Thread: Audio scaling (/thread-3650.html)



Audio scaling - 57e11a - 05-06-2021

When a player is scaled, many audio things are scaled with them, including alert sounds, which sound horrible at different pitches/speeds, can this be disabled?


RE: Audio scaling - Person8880 - 05-06-2021

If by alert sounds you mean ship core environment sounds, they should no longer have their pitch altered after the next restart.


RE: Audio scaling - 57e11a - 05-06-2021

(05-06-2021, 12:45 PM)Person8880 Wrote: If by alert sounds you mean ship core environment sounds, they should no longer have their pitch altered after the next restart.

It's not just environment sounds, pretty much every sound played when scaled down is pitched up, including sf playing sounds, handheld weapon sounds, etc


RE: Audio scaling - Person8880 - 05-06-2021

Sounds associated with a scaled player are pitched, but sounds on other entities should not change. Do you have examples of SF sounds that are having their pitch altered?


RE: Audio scaling - mariofludd - 05-06-2021

(05-06-2021, 04:14 PM)Person8880 Wrote: Sounds associated with a scaled player are pitched, but sounds on other entities should not change. Do you have examples of SF sounds that are having their pitch altered?

I've noticed that the sound browser does it too


RE: Audio scaling - 57e11a - 06-06-2021

(05-06-2021, 04:14 PM)Person8880 Wrote: Sounds associated with a scaled player are pitched, but sounds on other entities should not change. Do you have examples of SF sounds that are having their pitch altered?

sounds.emitEntity(ents.owner(), '...')
is pitched, and so is everything in the sound browser as Nova said.


RE: Audio scaling - Person8880 - 06-06-2021

Playing a sound on yourself as a scaled player is intended to have its pitch altered. Sounds emitted on the server on the player should be those associated with the player.

As for the sound browser, I've made some more changes that should stop it altering the pitch from it for the most part. Due to how it works it's not possible to truly differentiate between different sound sources so you'll find weapon sounds will still be altered.


RE: Audio scaling - 57e11a - 06-06-2021

Hmm, thanks!