Files
fulpstation/sound/standard.md
Rob Bailey d4f678a177 Converts almost every single sound to mono 44.1khz, recuts some sounds. (#43550)
About The Pull Request

As title, except a clarification: sounds that play with no source or direction are still stereo due to that the stereo will actually do something and not just be wasted space.

On a technical level, what I actually did was reexport (nearly) every single sound effect to mono 44.1khz sample rate Ogg at quality preset 5. This resulted in some small increases in file size in some places but other than that reduced file size across the board.

A couple of sounds that were wavs for whatever reason were also converted to ogg, this resulted in some code changes to change the referenced sound effect.

Some sounds were also recut. The grille hit and punches in particular are common sounds that had large and noticeable gaps at the beginning.

All of this has resulted in the compiled rsc file going from 102.7 mb to 83.2 mb.
Why It's Good For The Game

Free space with no (effective) drop in quality.
A standard for audio going forward. (that will be inevitably ignored)
Tighter sounds in some places.
Changelog

cl
soundadd: Downmixed every sound to mono. This shouldn't have resulted in any changes in audio, byond downmixes anyways.
soundadd: Recut some sounds. Sounds shouldn't have large silent/noise gaps at the start anymore
/cl
2019-04-16 22:13:28 +12:00

1022 B

Standard audio file format is: Ogg Vorbis on quality 5 preset, 44.1khz sample rate Audio which plays with a source and direction (via playsound()) should be downmixed to mono, otherwise byond will do it itself. Other sounds can be stereo

If you don't know what this means, here's a brief guide on how to do things right in audacity:

Project Rate (Hz) in the bottom right should be set to 44100 before exporting

If the sound is going to play to all players at the same time with no source, it can be left as stereo.

If it is going to play from a source with a direction, it should be mono. You can downmix in audacity directly, use Tracks > Mix > Mix Stereo Down to Mono If the option is greyed out, try clicking the track first. If it's still greyed out, it's likely already mono.

To export, go to File > Export > Export as OGG. Once the dialogue pops up, give the file a name, and set the Quality slider at the bottom to dead center so the bottom number displays 5.

That's it, you now have a properly exported file