
How many bits do we need to perfectly copy a song?
Image: Robert Delaunay, Public domain, via Wikimedia Commons
How many bits do we need to perfectly copy a song?
Imagine you want to send a song to a friend, but you have limited data storage. How can you send it without losing too much quality?
It's like trying to copy a painting. You want to keep the colors and shapes as true to the original as possible, but you can't use the exact same amount of paint. The goal is to use just enough paint to get close to the original painting.
Example
If the original song is 5 MB and you can only send 2 MB, you need to find the best way to reduce the size while keeping the song sounding good.
Remember this
The key insight is finding the balance between how much data you use (rate) and how much quality you lose (distortion).
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
Shannon's source coding theorem: you can't compress below entropy
Can you squeeze endless text into fewer bits without losing anything?
the mel scale is: a nonlinear frequency scale that models human pitch perception
Ever wondered why some songs sound the same even if they're in different keys?
AI content watermarking
AI content watermarking embeds imperceptible signals
word error rate (WER) measures: edit distance between predicted and reference transcriptions
Ever wondered how machines understand speech as we do?
B-trees optimize: disk-based sorted data with O(log n) reads per query
How can we quickly find your favorite song in a massive music library?
Matrix (mathematics)
Ever wondered how computers can predict your favorite songs?
Swipe through 100 ML concepts daily
Open Pocket Polymath