| @@ -112,8 +112,9 @@ In order to process the analogous signals digitally, we need to perform a proces |
| 112 | - Discretization of time -> Sampling |
112 | - Discretization of time -> Sampling |
| 113 | - Discretization of amplitude -> Quantization |
113 | - Discretization of amplitude -> Quantization |
| 114 | |
114 | |
| |
115 | ::: tabs |
| 115 | |
116 | |
| 116 | ### Sampling |
117 | == Sampling |
| 117 | Sampling is the process of taking a signal and splitting it based on an algorithm. Sampling can be done in the frequency, amplitude, or time domains. Each process involves processing the data differently, but allows for accurate reproduction of an analog signal in the digital realm. |
118 | Sampling is the process of taking a signal and splitting it based on an algorithm. Sampling can be done in the frequency, amplitude, or time domains. Each process involves processing the data differently, but allows for accurate reproduction of an analog signal in the digital realm. |
| 118 | |
119 | |
| 119 | When referring to audio signals, sampling is the process of splitting signals by time (Hz). This allows for every single frequency in the audible spectrum to accurately be recorded. Learn more about this in [**sample rate :mdi-arrow-top-right:**](#sample-rate). |
120 | When referring to audio signals, sampling is the process of splitting signals by time (Hz). This allows for every single frequency in the audible spectrum to accurately be recorded. Learn more about this in [**sample rate :mdi-arrow-top-right:**](#sample-rate). |
| @@ -121,12 +122,13 @@ When referring to audio signals, sampling is the process of splitting signals by |
| 121 | |
122 | |
| 122 |  |
123 |  |
| 123 | |
124 | |
| 124 | ### Quantization |
125 | == Quantization |
| 125 | Quantization is the process of sampling an analog audio signal and converting it into a digital format. This is performed by taking periodic samples of the audio waveform and recording the amplitude of the analog signal at each sample. This process is done through an approximate measurement. As such, an inherent error exists for every single amplitude recording. This error will manifest as a “noise floor”, or noise that exists below a decibel threshold. Higher bit depths can be utilized in order to reduce this error, but the noise will always exist in the signal chain. |
126 | Quantization is the process of sampling an analog audio signal and converting it into a digital format. This is performed by taking periodic samples of the audio waveform and recording the amplitude of the analog signal at each sample. This process is done through an approximate measurement. As such, an inherent error exists for every single amplitude recording. This error will manifest as a “noise floor”, or noise that exists below a decibel threshold. Higher bit depths can be utilized in order to reduce this error, but the noise will always exist in the signal chain. |
| 126 | |
127 | |
| 127 | |
128 | |
| 128 |  |
129 |  |
| 129 | |
130 | |
| |
131 | ::: |
| 130 | |
132 | |
| 131 | ## Sample Rate |
133 | ## Sample Rate |
| 132 | The amount of samples taken from the analog audio signal per cycle is known as the sample rate. As it's a per-second measurement, the unit is Hz (Hertz). Hertz are a measurement of frequency, or how many periods of a wave exist per second. |
134 | The amount of samples taken from the analog audio signal per cycle is known as the sample rate. As it's a per-second measurement, the unit is Hz (Hertz). Hertz are a measurement of frequency, or how many periods of a wave exist per second. |
| @@ -226,18 +228,19 @@ A codec is a standard used to encode and decode a data stream. Using codecs, dat |
| 226 | | Compressed Lossless | FLAC, ALAC, APE, WavPack | |
228 | | Compressed Lossless | FLAC, ALAC, APE, WavPack | |
| 227 | | Compressed Lossy | MP3, Vorbis, Opus, AAC | |
229 | | Compressed Lossy | MP3, Vorbis, Opus, AAC | |
| 228 | |
230 | |
| |
231 | ::: tabs |
| 229 | |
232 | |
| 230 | ### Uncompressed Lossless |
233 | == Uncompressed Lossless |
| 231 | Uncompressed lossless codecs are pretty old. They use CBR/Constant Bitrate encoding. CBR encoding ensures no data is lost, but the resulting file size is very large. WAVs consist of only a header, metadata, and raw quantization metrics. Devices can easily perceive this sort of encoding, leading to its relevance even today. As such, it's still widely used in music studios. As a consumer, they remain a bloated and unwanted format. |
234 | Uncompressed lossless codecs are pretty old. They use CBR/Constant Bitrate encoding. CBR encoding ensures no data is lost, but the resulting file size is very large. WAVs consist of only a header, metadata, and raw quantization metrics. Devices can easily perceive this sort of encoding, leading to its relevance even today. As such, it's still widely used in music studios. As a consumer, they remain a bloated and unwanted format. |
| 232 | |
235 | |
| 233 | |
236 | |
| 234 | ### Compressed Lossless |
237 | == Compressed Lossless |
| 235 | Lossless refers to lossless compression, which is compression that preserves all data from the source file. In terms of music, lossless compression is completely indistinguishable from the source file, while also reducing space and increasing efficiency of playback when compared to its uncompressed counterpart. Common lossless encoding formats include FLAC or ALAC. They are usually sourced from WAV files. They generally use VBR/Variable Bitrate encoding. The resulting file sizes are much smaller when compared to uncompressed lossless formats. |
238 | Lossless refers to lossless compression, which is compression that preserves all data from the source file. In terms of music, lossless compression is completely indistinguishable from the source file, while also reducing space and increasing efficiency of playback when compared to its uncompressed counterpart. Common lossless encoding formats include FLAC or ALAC. They are usually sourced from WAV files. They generally use VBR/Variable Bitrate encoding. The resulting file sizes are much smaller when compared to uncompressed lossless formats. |
| 236 | |
239 | |
| 237 | ### Lossy |
240 | == Lossy |
| 238 | Lossy compression, also known simply as lossy, is a data compression technique that reduces file size by selectively removing or approximating some of the original data from the source file. While this process discards certain information, modern algorithms are designed to do so in a way that minimizes perceptible differences from the original, making it nearly indistinguishable in quality for most users at certain bitrates. Common formats utilizing lossy compression include MP3, AAC, and OPUS. |
241 | Lossy compression, also known simply as lossy, is a data compression technique that reduces file size by selectively removing or approximating some of the original data from the source file. While this process discards certain information, modern algorithms are designed to do so in a way that minimizes perceptible differences from the original, making it nearly indistinguishable in quality for most users at certain bitrates. Common formats utilizing lossy compression include MP3, AAC, and OPUS. |
| 239 | ___ |
242 | |
| 240 | #### Transparency Threshold |
243 | ::: tip Transparency Threshold |
| 241 | Transparency means that the compression of the original file is accurate to a degree such that a listener can't distinguish between the compressed and original files. The level or threshold of transparency depends on the listeners hearing ability, hardware, and the compression method. Since it's based on hearing ability, transparency is very subjective. The more efficient the codec is, the better it will sound **below its perceptually transparent bitrate**. In general, encoding quality follows the trend Opus > AAC ≈ Vorbis > MP3. The bit rates at which lossy audio files become transparent are subjective but the following are common choices of bitrates: |
244 | Transparency means that the compression of the original file is accurate to a degree such that a listener can't distinguish between the compressed and original files. The level or threshold of transparency depends on the listeners hearing ability, hardware, and the compression method. Since it's based on hearing ability, transparency is very subjective. The more efficient the codec is, the better it will sound **below its perceptually transparent bitrate**. In general, encoding quality follows the trend Opus > AAC ≈ Vorbis > MP3. The bit rates at which lossy audio files become transparent are subjective but the following are common choices of bitrates: |
| 242 | |
245 | |
| 243 | |
246 | |
| @@ -249,6 +252,8 @@ Transparency means that the compression of the original file is accurate to a de |
| 249 | | MP3 (CBR) | 256kbps (Joint Stereo Encoding) - 320kbps (Full Stereo Encoding) | |
252 | | MP3 (CBR) | 256kbps (Joint Stereo Encoding) - 320kbps (Full Stereo Encoding) | |
| 250 | | MP3 (VBR) | Between -V3 and -V0 | |
253 | | MP3 (VBR) | Between -V3 and -V0 | |
| 251 | |
254 | |
| |
255 | ::: |
| |
256 | ::: |
| 252 | |
257 | |
| 253 | ## Spectrogram |
258 | ## Spectrogram |
| 254 | |
259 | |
| @@ -458,7 +463,10 @@ Transcoding is the process of converting audio files from one codec (or format) |
| 458 | - Lossy (L) |
463 | - Lossy (L) |
| 459 | |
464 | |
| 460 | Transcoding audio to higher [bit rate](#bit-rate), [bit depth](#bit-depth) or [sample rate](#sample-rate) is a pointless conversion. New data is not created in the process, however, data is reserved for the increased resolution. This process only serves to increase the file size. |
465 | Transcoding audio to higher [bit rate](#bit-rate), [bit depth](#bit-depth) or [sample rate](#sample-rate) is a pointless conversion. New data is not created in the process, however, data is reserved for the increased resolution. This process only serves to increase the file size. |
| 461 | ::: tip Dos |
466 | |
| |
467 | ::: tabs |
| |
468 | |
| |
469 | == Dos |
| 462 | |
470 | |
| 463 | | Input | Output | Description | |
471 | | Input | Output | Description | |
| 464 | |:-:|:-:|-| |
472 | |:-:|:-:|-| |
| @@ -466,15 +474,14 @@ Transcoding audio to higher [bit rate](#bit-rate), [bit depth](#bit-depth) or [s |
| 466 | | CL | CL | This sort of conversion is usually only performed for compatibility reasons. It’s also common to perform a transcode like this if the user wanted to decrease the sample rate/bit depth of a file. Converting from one sample rate/bit depth to another will induce a slight detail loss. For more information on why this happens, see [**Spectrogram**](#spectrogram). The section under FLAC 16/44.1 expands on this phenomenon.| |
474 | | CL | CL | This sort of conversion is usually only performed for compatibility reasons. It’s also common to perform a transcode like this if the user wanted to decrease the sample rate/bit depth of a file. Converting from one sample rate/bit depth to another will induce a slight detail loss. For more information on why this happens, see [**Spectrogram**](#spectrogram). The section under FLAC 16/44.1 expands on this phenomenon.| |
| 467 | | UL/CL | L | Transcoding from a lossless source to a lossy format is done to save space. To ensure quality, it's best to keep your audio above your [transparency threshold](#transparency-threshold) or standard bit rates, such as MP3 320, MP3 V0, or Opus 256. | |
475 | | UL/CL | L | Transcoding from a lossless source to a lossy format is done to save space. To ensure quality, it's best to keep your audio above your [transparency threshold](#transparency-threshold) or standard bit rates, such as MP3 320, MP3 V0, or Opus 256. | |
| 468 | |
476 | |
| 469 | ::: |
477 | == Don'ts |
| 470 | |
| |
| 471 | ::: danger Don'ts |
| |
| 472 | |
478 | |
| 473 | | Input | Output | Description | |
479 | | Input | Output | Description | |
| 474 | |:-:|:-:|-| |
480 | |:-:|:-:|-| |
| 475 | | CL | UL | This will bloat your files. CBR UL files won't add any extra detail to the audio. | |
481 | | CL | UL | This will bloat your files. CBR UL files won't add any extra detail to the audio. | |
| 476 | | L | UL/CL | Once a file has been converted into a lossy format, data has been removed or distorted. Transcoding back to a lossless format will not restore the data, and will only serve to increase the file size. | |
482 | | L | UL/CL | Once a file has been converted into a lossy format, data has been removed or distorted. Transcoding back to a lossless format will not restore the data, and will only serve to increase the file size. | |
| 477 | | L | L | Again, once a file has been converted into a lossy format, data has been removed or distorted. Performing a lossy compression a second time will further distort the file, reducing the audio quality to a larger degree. | |
483 | | L | L | Again, once a file has been converted into a lossy format, data has been removed or distorted. Performing a lossy compression a second time will further distort the file, reducing the audio quality to a larger degree. | |
| |
484 | |
| 478 | ::: |
485 | ::: |
| 479 | |
486 | |
| 480 | ::: tip The process |
487 | ::: tip The process |
| @@ -483,13 +490,15 @@ To learn how to transcode using Foobar2000, [**read this guide :mdi-arrow-top-ri |
| 483 | |
490 | |
| 484 | ## Other File types |
491 | ## Other File types |
| 485 | |
492 | |
| 486 | ### .log |
493 | ::: tabs |
| |
494 | |
| |
495 | == .log |
| 487 | Log files are generated during the ripping process. It contains necessary information to show the integrity of the hardware, errors, as well as the ripping process etc. Users should never modify a log file. [**Example**](https://rentry.org/wlogx) of a log file. |
496 | Log files are generated during the ripping process. It contains necessary information to show the integrity of the hardware, errors, as well as the ripping process etc. Users should never modify a log file. [**Example**](https://rentry.org/wlogx) of a log file. |
| 488 | |
497 | |
| 489 | ### .cue |
498 | == .cue |
| 490 | Cues contains metadata about the tracks, including their start and end points, titles, and performers. It can also include additional details such as gaps between tracks and pre-gap data. Cue files are used by media players and burning software to accurately recreate the original CD's structure. This ensures the correct track order and gaps are maintained, enabling a faithful reproduction of the CD's layout when played back or burned to a new disc. cue files are used to make one singular audio file act like it has tracks, as opposed to applying to a list of files. [**Example**](https://rentry.org/wotacue) of a cue file. |
499 | Cues contains metadata about the tracks, including their start and end points, titles, and performers. It can also include additional details such as gaps between tracks and pre-gap data. Cue files are used by media players and burning software to accurately recreate the original CD's structure. This ensures the correct track order and gaps are maintained, enabling a faithful reproduction of the CD's layout when played back or burned to a new disc. cue files are used to make one singular audio file act like it has tracks, as opposed to applying to a list of files. [**Example**](https://rentry.org/wotacue) of a cue file. |
| 491 | |
500 | |
| 492 | ### .m3u8 |
501 | == .m3u8 |
| 493 | m3u8 files are used for playlists of audio. It contains a list of paths to your local audio files (like songs or podcasts) in order. The difference between a m3u and a m3u8 is that m3u uses ASCII (which only supports English characters) and m3u8 uses UTF-8 (which supports characters of other languages too). |
502 | m3u8 files are used for playlists of audio. It contains a list of paths to your local audio files (like songs or podcasts) in order. The difference between a m3u and a m3u8 is that m3u uses ASCII (which only supports English characters) and m3u8 uses UTF-8 (which supports characters of other languages too). |
| 494 | |
503 | |
| 495 | ```plaintext |
504 | ```plaintext |
| @@ -510,6 +519,7 @@ C:\Music\canción2.mp3 |
| 510 | #EXTINF:180,歌曲 3 |
519 | #EXTINF:180,歌曲 3 |
| 511 | C:\Music\歌曲3.mp3 |
520 | C:\Music\歌曲3.mp3 |
| 512 | ``` |
521 | ``` |
| |
522 | ::: |
| 513 | |
523 | |
| 514 |  |
524 |  |
| 515 | |
525 | |
| @@ -548,8 +558,9 @@ The primary difference in amplifiers is how much wattage they can output. Amplif |
| 548 | |
558 | |
| 549 | Playback devices come in many forms, but only the most common will be covered. Specifically the headphone, IEM, and speaker. |
559 | Playback devices come in many forms, but only the most common will be covered. Specifically the headphone, IEM, and speaker. |
| 550 | |
560 | |
| 551 | ### Headphone |
561 | ::: tabs |
| 552 | |
562 | |
| |
563 | == Headphone |
| 553 | |
564 | |
| 554 | A headphone is 2 speaker drivers held together by a headband. They can be wired, bluetooth, or wireless with a dongle. To briefly explain the differences: |
565 | A headphone is 2 speaker drivers held together by a headband. They can be wired, bluetooth, or wireless with a dongle. To briefly explain the differences: |
| 555 | |
566 | |
| @@ -563,7 +574,7 @@ Headphones can have two distinct varieties. Closed back & Open back headphones. |
| 563 | |
574 | |
| 564 | - **Open back** headphones, alternatively, utilize a perforated backplate. This backplate allows sound to be shot outside of the headphone, yielding a less restrictive physical design. There are other benefits, such as open backs generally producing a wider soundstage, which is how far away a sound is perceived from the listener. Open backs are regarded as being easier to tune than closed backs, and some believe the sound of an open back is “more natural.” Even with these benefits, open backs remain a less commonly owned variant. Open back headphones project sound outside of the headphone. Most users seek privacy in the content they listen to, making a closed back a more private and desirable option. |
575 | - **Open back** headphones, alternatively, utilize a perforated backplate. This backplate allows sound to be shot outside of the headphone, yielding a less restrictive physical design. There are other benefits, such as open backs generally producing a wider soundstage, which is how far away a sound is perceived from the listener. Open backs are regarded as being easier to tune than closed backs, and some believe the sound of an open back is “more natural.” Even with these benefits, open backs remain a less commonly owned variant. Open back headphones project sound outside of the headphone. Most users seek privacy in the content they listen to, making a closed back a more private and desirable option. |
| 565 | |
576 | |
| 566 | ### In Ear Monitor |
577 | == In Ear Monitor |
| 567 | |
578 | |
| 568 | In ear monitors, or IEMs for short, are devices intended to be inserted into the ear for audio playback. This allows them to be a more private option for listening to music while retaining an even frequency response. IEMs are built similarly to earbuds, however, they are designed with nozzles that the music is shot out of. These nozzles are fitted with eartips, which are then inserted into the ear and suspended by the tip. This allows the tip to seal within the ear, decreasing the sound that leaks out while increasing the depth at which sound can travel. This process especially enhances the bass response. |
579 | In ear monitors, or IEMs for short, are devices intended to be inserted into the ear for audio playback. This allows them to be a more private option for listening to music while retaining an even frequency response. IEMs are built similarly to earbuds, however, they are designed with nozzles that the music is shot out of. These nozzles are fitted with eartips, which are then inserted into the ear and suspended by the tip. This allows the tip to seal within the ear, decreasing the sound that leaks out while increasing the depth at which sound can travel. This process especially enhances the bass response. |
| 569 | |
580 | |
| @@ -573,7 +584,7 @@ IEM configurations can be very complex. They commonly utilize multiple different |
| 573 | |
584 | |
| 574 | </Collapsible> |
585 | </Collapsible> |
| 575 | |
586 | |
| 576 | ### Speaker |
587 | == Speaker |
| 577 | |
588 | |
| 578 | Speakers are drivers within enclosures a set distance away from the listener. The sound travels, bounces, and fills up the room until it reaches the listener, creating the effect of a vast wall of sound. Configurations vary more widely than their headphone and IEM counterparts, but their fundamental concepts of sound reproduction are the same. The primary advantage of speakers is their lack of size restrictions, allowing for larger and more complex designs to exist. |
589 | Speakers are drivers within enclosures a set distance away from the listener. The sound travels, bounces, and fills up the room until it reaches the listener, creating the effect of a vast wall of sound. Configurations vary more widely than their headphone and IEM counterparts, but their fundamental concepts of sound reproduction are the same. The primary advantage of speakers is their lack of size restrictions, allowing for larger and more complex designs to exist. |
| 579 | |
590 | |
| @@ -618,6 +629,7 @@ These 3 number configurations usually imply a Dolby Atmos enabled system. |
| 618 | |
629 | |
| 619 | </Collapsible> |
630 | </Collapsible> |
| 620 | |
631 | |
| |
632 | ::: |
| 621 | |
633 | |
| 622 | ## Frequency Response |
634 | ## Frequency Response |
| 623 | |
635 | |