MP3: Difference between revisions
Jump to navigation
Jump to search
Tip:These are just minimums. If you have the space to spare, you can go up to 320 kbps for higher quality audio!
SirYodaJedi (talk | contribs) (Created page with "'''MP3''' is a lossy audio file format used by all of Valve's engines, and is available in all first-party titles. While engine limitations pre...") |
SirYodaJedi (talk | contribs) (→Recommended minimum bitrates: add section) |
||
Line 2: | Line 2: | ||
{{modernWarning|Using Source 1's default implementation of MP3 in a commercial game requires paying for the Miles Sound System license. Consider implementing an alternative, such as Ogg Vorbis.}} | {{modernWarning|Using Source 1's default implementation of MP3 in a commercial game requires paying for the Miles Sound System license. Consider implementing an alternative, such as Ogg Vorbis.}} | ||
== Recommended minimum bitrates == | |||
Unlike WAV, MP3 supports arbitrary bitrates, independent of sample rate and channel count. While this improves scalability, going below certain bitrates will result in noticeable quality degradation. Below are recommended minimum bitrates for the sample rates supported by {{src|4}}. | |||
{| class="wikitable" | |||
|- | |||
! Sample rate !! Mono (1 channel) !! Stereo (2 channels) | |||
|- | |||
| 11025 Hz | |||
| rowspan="2" | 32 kbps | |||
| rowspan="2" | 64 kbps | |||
|- | |||
| 22050 Hz | |||
|- | |||
| 44100 Hz | |||
| 64 kbps | |||
| 128 kbps | |||
|} | |||
{{tip|These are just minimums. If you have the space to spare, you can go up to 320 kbps for higher quality audio!}} | |||
== External links == | == External links == | ||
* [[Wikipedia:MP3]] | * [[Wikipedia:MP3]] | ||
[[Category:File formats]] | [[Category:File formats]] |
Revision as of 19:16, 17 May 2023
MP3 is a lossy audio file format used by all of Valve's engines, and is available in all first-party titles. While engine limitations prevent it from being used for everything that WAV files can be used for, its smaller file sizes make it suitable for non-looping music or incidental ambient sounds in a soundscape.
Recommended minimum bitrates
Unlike WAV, MP3 supports arbitrary bitrates, independent of sample rate and channel count. While this improves scalability, going below certain bitrates will result in noticeable quality degradation. Below are recommended minimum bitrates for the sample rates supported by Source.
Sample rate | Mono (1 channel) | Stereo (2 channels) |
---|---|---|
11025 Hz | 32 kbps | 64 kbps |
22050 Hz | ||
44100 Hz | 64 kbps | 128 kbps |
