Autosave: 2024-12-27 14:21:56

This commit is contained in:
thomasabishop 2024-12-27 14:21:56 +00:00
parent 3339b6cbaa
commit 42238b2810
807 changed files with 225 additions and 9 deletions

View file

@ -0,0 +1,98 @@
---
tags: [sound, binary]
created: Friday, December 27, 2024
---
# Audio file formats
## CD
- CDs store audio in uncompressed PCM (Pulse Code Modulation) format
- They have a sampling rate of 44.1kHz
- In two channels for stereo
## WAV: Waveform Audio File Format
- CD-quality encoding with no compression
- Bit-for-bit identical to the CD source
- Historically developed for Windows machines but can play on all operating
systems
## FLAC: Free Lossless Audio Codec
- Basically the same as WAV but in a (losslessly) compressed format
- The difference between a novel in a text file (WAV) and as a zipped file
## MP3: MPEG-1 Audio Layer MP3
- Lossy format.
- When a WAV file (or other lossless format) is converted to MP3 a Fast Fourier
Transform analysis is performed to determine the frequency of certain sounds.
- This is used by the encoder to decide which parts of the sound are
imperceptible and thus which can be discarded to reduce the file size. This is
done through the application of psycho-acoustic models.
- The remaining data is then compressed
- Examples of the data reduction applied:
- Removing frequencies that humans cannot hear
- Removing quieter sounds that are masked by louder sounds
- Combining similar frequencies
- Reducing stero information where it is less noticable
- A conversion to MP3 from, for example, a CD source is always a one-way process
and is not reversible. Once information is discarded in the compression
process it cannot be retrieved. This is obviously in contrast to lossless
methods like FLAC where the original CD audio can always be reconstructed.
- It follows from the above that if you repeatedly encode a CD source to MP3, it
will deteriorate in quality since more data is being removed each time.
## OGG: Ogg Vorbis
- An open-source alternative to MP3
- Typically achieves better quality than MP3 at the same bit rate, especially at
very high/ low frequencies
- Also better stereo handling at low frequencies
- Uses a more modern psycho-acoustic model
## Variable and constant bit rates
For lossy formats like MP3, the amount of data that is being encoded from the
uncompressed source is expressed via the unit of "bit rate": **how many
thousands of bits are being used to represent each second of audio**.
There are two methods of encoding that impact on the bit rate.
With _variable bit rate_ encoding, the encoder dynamically adjusts the bit rate
depending on what is happening in the music. During complex passages (e.g. a
full orchestra) it uses a higher bit rate to capture the detail. During simpler
passages (like a single instrument) it uses lower bit rates since less data is
needed and during silence it can drop to very low bit rates.
_Constant bit rate encoding_ uses the same bit rate throughout, it is
consequently less efficient.
When talking about the quality of MP3s there are generally two bit rates cited:
- ~128kbps: acceptable but significantly reduced
- 320kbps: the highest quality you can get whilst still using a lossy method
like MP3
With VBR, these are sometimes expressed as an average.
Subjectively, A 128kbps MP3 might sound "underwater" or "swishy", while a
320kbps version would preserve much more detail.
Still, the bitrate of a CD is 1411kbps! A 128kbs MP3 is therefore only capturing
about 9% of CD quality and a 320kbps MP3 is capturing about 23% of CD quality.
## Streaming services
Spotify uses Ogg Vorbis throughout but uses different bit rates for its diferent
tiers. The free tier has a range from 24-160kbs at VBR with the option of 320kbs
on the premium tier.
Other services offer FLAC or FLAC-equivalent quality at their most expensive
tiers (Apple Music, Amazon Music, Tidal).
Og Vorbis is particularly well-suited to streaming. It can seamlessly switch bit
rates during the stream which is beneficial with changeable network conditions.
Plus data is organised into independent packets so if a packet is lost there is
no perceptible difference.

View file

@ -0,0 +1,9 @@
---
tags: []
created: Friday, December 27, 2024
---
# Binary_encoding_of_sound

View file

@ -1,5 +1,5 @@
---
tags: [cryptography]
tags: [cryptography, encryption]
created: Friday, December 20, 2024
---

View file

@ -1,5 +1,5 @@
---
tags: [encryption]
tags: [encryption, cryptography]
created: Friday, December 20, 2024
---

View file

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View file

@ -13,12 +13,14 @@ computer science.
![not-by-ai-badge](static/not-by-ai-alternative--light.svg)
**Build ID:** dc239556-fd21-4147-b56e-3d8b474984ad
**Build ID:** 3cd71ed3-2c64-460c-92b8-94889befa1fe
**Published:** Fri 20 Dec 2024 13:12:09
**Published:** Fri 27 Dec 2024 14:21:54
### Recent edits
- [[Audio_file_formats]]
- [[Binary_encoding_of_sound]]
- [[a4601796_trapdoor_functions]]
- [[bbdcb54f_public_key_cryptography]]
- [[Dynamic_and_static_websites]]
@ -29,11 +31,9 @@ computer science.
- [[HTTPS]]
- [[Bauman_quote]]
- [[fbbfbc32-political-accommodation-inveigelment-surveillance-capitalism]]
- [[a247fa9b_surveillance_capitalism_not_necessary]]
- [[AWS_SNS]]
### All notes (509)
### All notes (511)
- [[0716531c_rewilding_the_internet]]
- [[241fe1a3_the_Web_versus_modem_BBSs]]
@ -74,6 +74,7 @@ computer science.
- [[Assembly]]
- [[Associative_Property_of_Addition_and_Multiplication]]
- [[Atomic_and_molecular_propositions]]
- [[Audio_file_formats]]
- [[Awk]]
- [[Axioms_of_set_theory]]
- [[Bash_colour_output]]
@ -91,6 +92,7 @@ computer science.
- [[Binary_arithmetic]]
- [[Binary_colour_encoding]]
- [[Binary_encoding]]
- [[Binary_encoding_of_sound]]
- [[Binary_encoding_of_text]]
- [[Binary_number_system]]
- [[Binary_units_of_measurement]]

View file

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

View file

Before

Width:  |  Height:  |  Size: 145 KiB

After

Width:  |  Height:  |  Size: 145 KiB

View file

Before

Width:  |  Height:  |  Size: 289 KiB

After

Width:  |  Height:  |  Size: 289 KiB

View file

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View file

Before

Width:  |  Height:  |  Size: 6.9 MiB

After

Width:  |  Height:  |  Size: 6.9 MiB

View file

Before

Width:  |  Height:  |  Size: 224 KiB

After

Width:  |  Height:  |  Size: 224 KiB

View file

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View file

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View file

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View file

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View file

Before

Width:  |  Height:  |  Size: 204 KiB

After

Width:  |  Height:  |  Size: 204 KiB

View file

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View file

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View file

Before

Width:  |  Height:  |  Size: 165 KiB

After

Width:  |  Height:  |  Size: 165 KiB

View file

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View file

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 91 KiB

View file

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 133 KiB

View file

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View file

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View file

Before

Width:  |  Height:  |  Size: 4 KiB

After

Width:  |  Height:  |  Size: 4 KiB

View file

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View file

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View file

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View file

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB

View file

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View file

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View file

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 121 KiB

View file

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View file

Before

Width:  |  Height:  |  Size: 470 KiB

After

Width:  |  Height:  |  Size: 470 KiB

View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

View file

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 99 KiB

View file

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View file

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View file

Before

Width:  |  Height:  |  Size: 848 KiB

After

Width:  |  Height:  |  Size: 848 KiB

View file

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 194 KiB

View file

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View file

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View file

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 130 KiB

View file

Before

Width:  |  Height:  |  Size: 171 KiB

After

Width:  |  Height:  |  Size: 171 KiB

View file

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View file

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View file

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

View file

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View file

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 79 KiB

View file

Before

Width:  |  Height:  |  Size: 157 KiB

After

Width:  |  Height:  |  Size: 157 KiB

View file

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View file

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 153 KiB

View file

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View file

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

View file

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 118 KiB

View file

Before

Width:  |  Height:  |  Size: 414 KiB

After

Width:  |  Height:  |  Size: 414 KiB

View file

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View file

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 174 KiB

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 167 KiB

View file

Before

Width:  |  Height:  |  Size: 150 KiB

After

Width:  |  Height:  |  Size: 150 KiB

View file

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View file

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View file

Before

Width:  |  Height:  |  Size: 190 KiB

After

Width:  |  Height:  |  Size: 190 KiB

View file

Before

Width:  |  Height:  |  Size: 374 KiB

After

Width:  |  Height:  |  Size: 374 KiB

View file

Before

Width:  |  Height:  |  Size: 9 KiB

After

Width:  |  Height:  |  Size: 9 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

View file

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View file

Before

Width:  |  Height:  |  Size: 448 KiB

After

Width:  |  Height:  |  Size: 448 KiB

View file

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 122 KiB

View file

Before

Width:  |  Height:  |  Size: 668 KiB

After

Width:  |  Height:  |  Size: 668 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View file

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View file

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View file

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View file

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View file

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View file

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View file

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View file

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View file

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View file

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View file

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View file

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View file

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View file

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View file

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View file

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View file

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View file

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View file

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 146 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View file

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

View file

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

98
zk/Audio_file_formats.md Normal file
View file

@ -0,0 +1,98 @@
---
tags: [sound, binary]
created: Friday, December 27, 2024
---
# Audio file formats
## CD
- CDs store audio in uncompressed PCM (Pulse Code Modulation) format
- They have a sampling rate of 44.1kHz
- In two channels for stereo
## WAV: Waveform Audio File Format
- CD-quality encoding with no compression
- Bit-for-bit identical to the CD source
- Historically developed for Windows machines but can play on all operating
systems
## FLAC: Free Lossless Audio Codec
- Basically the same as WAV but in a (losslessly) compressed format
- The difference between a novel in a text file (WAV) and as a zipped file
## MP3: MPEG-1 Audio Layer MP3
- Lossy format.
- When a WAV file (or other lossless format) is converted to MP3 a Fast Fourier
Transform analysis is performed to determine the frequency of certain sounds.
- This is used by the encoder to decide which parts of the sound are
imperceptible and thus which can be discarded to reduce the file size. This is
done through the application of psycho-acoustic models.
- The remaining data is then compressed
- Examples of the data reduction applied:
- Removing frequencies that humans cannot hear
- Removing quieter sounds that are masked by louder sounds
- Combining similar frequencies
- Reducing stero information where it is less noticable
- A conversion to MP3 from, for example, a CD source is always a one-way process
and is not reversible. Once information is discarded in the compression
process it cannot be retrieved. This is obviously in contrast to lossless
methods like FLAC where the original CD audio can always be reconstructed.
- It follows from the above that if you repeatedly encode a CD source to MP3, it
will deteriorate in quality since more data is being removed each time.
## OGG: Ogg Vorbis
- An open-source alternative to MP3
- Typically achieves better quality than MP3 at the same bit rate, especially at
very high/ low frequencies
- Also better stereo handling at low frequencies
- Uses a more modern psycho-acoustic model
## Variable and constant bit rates
For lossy formats like MP3, the amount of data that is being encoded from the
uncompressed source is expressed via the unit of "bit rate": **how many
thousands of bits are being used to represent each second of audio**.
There are two methods of encoding that impact on the bit rate.
With _variable bit rate_ encoding, the encoder dynamically adjusts the bit rate
depending on what is happening in the music. During complex passages (e.g. a
full orchestra) it uses a higher bit rate to capture the detail. During simpler
passages (like a single instrument) it uses lower bit rates since less data is
needed and during silence it can drop to very low bit rates.
_Constant bit rate encoding_ uses the same bit rate throughout, it is
consequently less efficient.
When talking about the quality of MP3s there are generally two bit rates cited:
- ~128kbps: acceptable but significantly reduced
- 320kbps: the highest quality you can get whilst still using a lossy method
like MP3
With VBR, these are sometimes expressed as an average.
Subjectively, A 128kbps MP3 might sound "underwater" or "swishy", while a
320kbps version would preserve much more detail.
Still, the bitrate of a CD is 1411kbps! A 128kbs MP3 is therefore only capturing
about 9% of CD quality and a 320kbps MP3 is capturing about 23% of CD quality.
## Streaming services
Spotify uses Ogg Vorbis throughout but uses different bit rates for its diferent
tiers. The free tier has a range from 24-160kbs at VBR with the option of 320kbs
on the premium tier.
Other services offer FLAC or FLAC-equivalent quality at their most expensive
tiers (Apple Music, Amazon Music, Tidal).
Og Vorbis is particularly well-suited to streaming. It can seamlessly switch bit
rates during the stream which is beneficial with changeable network conditions.
Plus data is organised into independent packets so if a packet is lost there is
no perceptible difference.

View file

@ -0,0 +1,9 @@
---
tags: []
created: Friday, December 27, 2024
---
# Binary_encoding_of_sound

View file

@ -1,5 +1,5 @@
---
tags: [cryptography]
tags: [cryptography, encryption]
created: Friday, December 20, 2024
---

View file

@ -1,5 +1,5 @@
---
tags: [encryption]
tags: [encryption, cryptography]
created: Friday, December 20, 2024
---