8 ms·
The Ghost in the MP3 (2014)
- 8bitsrule 6y ago"I am planning a series of related compositions, constructed first from the other songs involved in the listening tests, but then probing the space of MP3 compression in different ways, attempting to highlight even more explicitly the filtering effect of this codec.... Composing with these sounds and injecting them back into contemporary listening spaces is one possible act of resistance, one available mode of cultural critique." MP3's unwitting/unintended uncovering of the possibilities of weird filtering schemes points to the hugeness of unexplored timbre space. We are so familiar with our usual collection of instrumental timbres ... we have assumed that this galaxy is the whole universe. Timbre is waiting for its Hubble.
- kleer001 6y ago> Timbre is waiting for its Hubble. Jesus fucking Christ, man. I'm going to remember that phrase for the rest of my life. Good show, good show. standing_ovation.gif
- enriquto 6y ago> We are so familiar with our usual collection of instrumental timbres ... we have assumed that this galaxy is the whole universe. Some references you may enjoy: * Music: a Mathematical Offering, Dave Benson. Explains the mathematical theory of how to compute the timbre of an instrument given its shape. Also how the timbre of the instruments determines harmony. * Tuning, timbre, spectrum, scale, William Sethares. A deep exploration of the relationship between timbre and harmony. It starts by exhibiting a (synthetic) instrument whose octaves are dissonant, and the music that you can do with it. Then it doubles down on this idea to obtain a lot of fun. * The Topos of Music, Guerino Mazzola. Really hardcore mathematical music theory, too scary for simple people like me. EDIT: regarding telescopes for seeing timbre... have you ever seen an spectrogram? You can install a spectrogram app in your phone and see the spectra of sounds around you. There's a lot of things! My favorite is opening a rusty old door.
- 8bitsrule 6y agoIt's an old, old classic but physicist Hermann von Helmholtz 1851 book (trans. to English 1875) On the Sensations of Tone as a Physiological Basis for the Theory of Music is 'a foundational work on acoustics and the perception of sound' full of basics. E.g. he used physical resonators to do spectral analysis of musical tones. Many physics details hard to find elsewhere. Copies are hard to find, but today it's a download away.[0] [0] https://archive.org/details/onsensationsofto00helmrich https://archive.org/details/onsensationsofto00helmrich Sethares sounds familiar. A key modern classic is 1985 Charles Dodge, Thomas A. Jerse: "Computer Music : synthesis, composition, and performance". A pricey book new (worth it!) it digs into everything from the basics to the advanced. You will not exhaust it! Surprised but, for a limited set of users, this puppy can be accessed online. See the link for the list of topics. [1] [1] https://archive.org/details/computermusicsyn0000dodg https://archive.org/details/computermusicsyn0000dodg An alternative to the computer is to take a little recorder with a good mike out into the wild and record, the rocks, the insects, the trees, the plants.... and water, the greatest improviser!
- p1mrx 6y agoThere is a vast array of electronic music out there, that sounds nothing like traditional musical instruments. I don't know what techniques artists are using to produce these sounds, but why would you assume that they're not exploring timbre space effectively?
- tabtab 6y agoCompressing white noise and other "hissing" kinds of sounds is not something MP3 is good at. Compression perhaps can be split into frequency vectors and noise vectors. Frequency vectors would be plotted lines of specific frequencies and intensity. White noise could be represented by a grid with frequency. Or perhaps use vectors with less frequency precision. That way the same mechanism can be used for both types, but with frequency re-scaled for noise to reduce data size. A given noise vector would represent an approximate frequency range rather than a specific frequency. A frequency vector would probably need about a quarter note step in precision for a typical compression level (but adjustable). If it allows interpolation between vector nodes[1], then it can handle frequency tremolo fairly well. A vector node can have flags saying whether to interpolate frequency and/or volume, or just do a direct step jump, which ever best fits the original. (Noise vectors can also have interpolation flags.) The noise vectors may only need a half-octave or octave range of precision. I'm guestimating only 4 to 6 bits are needed for the default precision, whereas the frequency vectors need around 11 bits. As far as how to process the sound to produce such vectors, the encoder would have to "look" at the time/frequency plot, and divide artifacts (areas) into frequency "lines" and noise lines. I'm not an expert on such algorithms, but it probably can be refined from experimentation. Maybe make a rough guess start, and use a genetic algorithm to breed a vector set that best recreates the original, given a data size constraint. If there's a lot of sound going on in one spot, then precision can perhaps be reduced for that spot. Human ears can't typically isolate details when the rock band is going all out, for example. Maybe give more precision to the loudest vectors, but slack on the lessor ones to save space. [1] I'm thinking of segmented lines. Each segment node would contain a frequency value, volume value, frequency interpolation flag, and a volume interpolation flag. The range and meaning of each value would depend on the type (voice vs. noise) and precision specified for that line. "Voice" vector may be a better term than "frequency" vector.
- KaiserPro 6y agoone interesting artifact of MP3s in pop music is that symbols are transformed from a clean Crashhhhhhhhhhh, to a sound like a dog slurping water. However like Jpeg this is a tradeoff that we are used to. in the same way that tape has frequency inbalance, records just sound shit (sorry I know you like it, but they really don't sound better. they are great for evoking a feeling, but not for fidelity. Its lomo but for sound) I don't like the distortion that 128k mp3 introduces, but I imagine that in years to come it'll become a fetish for certain types of audiophile
- seanalexander 6y ago> I don't like the distortion that 128k mp3 introduces, but I imagine that in years to come it'll become a fetish for certain types of audiophile This hasn't happened in almost 30 years of mp3s being a household format. The only feeling low resolution media evokes is frustration.
- dbatten 6y agoI think the implication was that, once mp3 is no longer a household format, there will be a certain type of person who feels a nostalgia for the "sound" of mp3s, maybe even advocating that it was "better" in some way than the sound of whatever comes next... This is basically what's happened with vinyl records at this point, right? People have a nostalgia for their sound, even though by any scientific or technical measure a vinyl record represents music/sound less faithfully than, for example, lossless CD audio...
- 1996 6y agoAs seen in the keyboard space! Try the latest XPS 15: low travel yet perfect feedback, better than mechanical keyboards! While we now have better technology, people prefer what they are familiar with.
- drzaiusapelord 6y agobut we're drawn to "analog warmth" for whatever reason. We see it in guitars obviously with tube amps and analog effects pedals preferred over their digital counterparts. Vinyl has that messy analog-ish sound that we find pleasing in a similar way. Shrill low-bitrate, lower-fidelity digital sound just doesn't evoke that feeling in us. The same way no one is asking for RealMedia videos on their home theater system, but prefer film grain on video and 3D CGI to look "messy" (another analog noise characteristic). We humans love noise apparently! I guess evolution built us for a noisy and messy world and digital sound just seems off to us. We'll make an effort to get closer to analog warmth but do out best to flee digital shrill.
- underseacables 6y agoWow this is really fascinating. I’ve seen a lot of support for FLAC but I’ve never been able to get an iPhone or iPod to read them. I wonder why flac and other high end lossless file formats are not supported.
- chungy 6y agoI'd be surprised if they don't support ALAC, Apple's lossless codec. Can't say I have any iPods or iPhones to try it out myself though. Apple generally has a very strong case of NIH.
- Malic 6y agoI was under the impression that Apple chose to develop ALAC because it was less CPU/battery intensive to decode. This is going back to iPod Rev.1 days, mind you. Processing power for simply decoding audio CODECs hasn’t been a challenge for some time now.
- LeoPanthera 6y agoALAC (and Sony's ATRAC) can be decoded using only integer math, which makes them very power efficient. It's the reason they exist in the first place. MP3, FLAC (and I assume AAC) requires floating point math to decode.
- didsomeonesay 6y agoFlac decoder does not require floating point math since 2005: https://xiph.org/flac/changelog.html https://xiph.org/flac/changelog.html Come to think of it, that still might have been one of the historic reasons for ALAC's creation. Its development started before.
- toast0 6y agomp3 doesn't require floating point to decode. In the before times, I used mpg321 on an underpowered system because it used the MAD library to decode with only integers, and was able to play my files at only 80% cpu instead of 95% with a floating point decoder. I seem to recall there being a windows player that was faster than winamp, possible because of integer decoding, might have been K-Jofol https://www.underbit.com/products/mad/ https://www.underbit.com/products/mad/
- gwbas1c 6y agoA few years ago I did a much more detailed comparison of lossy audio codecs: https://andrewrondeau.herokuapp.com/objectively_comparing_audio_codecs_the_case_for_lossless https://andrewrondeau.herokuapp.com/objectively_comparing_au... TLDR: If you need to go lossy, use Opus. At higher bitrates, it's the only lossy codec that has a flat frequency response.
- hctaw 6y agoYou cannot objectively analyze the performance of perceptual audio codecs. They exploit subjective perception of audio signals... I haven't dug into your analysis but on the surface it appears quite biased against MPEG codecs that exploit masking to determine quantization levels (one of the major advantages being that humans can't perceive quantization error in the presence of loud/noisy content, which can be exploited to use far fewer bits for the same samples!). The closest thing to an objective analysis tool is PEAQ which is also pretty terrible, but its universally terrible so that makes it useful as a benchmark.
- gwbas1c 6y agoI demonstrate the equalization differences. That's about as objective as you can get.
- nayuki 6y agoThe author posts clips like "Example 1. White, Pink, and Brown Noise - Uncompressed", but the audio files are hosted on SoundCloud. My experience on SoundCloud is that no matter what format you upload as, they always stream it down to you as a 128 kb/s MP3 or something like that. I think the author is better off self-hosting the WAV files? > Listening tests, primarily designed by and for western-european men, and using the music they liked, were used to refine the encoder. > As previously stated, the MP3 codec was refined using listening tests designed by european audio engineers and featuring the music they chose. In a sense, each of these songs acts as a resonant filter for every file encoded in the MP3 format. Through a simple accusation of racial bias, the author seeks to undermine the technical work that went into the development of the MP3 codec.
- danbolt 6y agoI didn't really get that impression that the author was seeking to do that, to be honest. I think he was interested in the context developing the codec and how that influences the media that can be produced/expressed.
- fao_ 6y ago> Through a simple accusation of racial bias, the author seeks to undermine the technical work that went into the development of the MP3 codec. I'm always surprised when pointing out that something has design limits, and often limits imposed by racial bias in testing, is seen as such an evil thing. Acknowledging the limits is the first part of making use of something properly, wouldn't you say? Understanding that MP3 is likely (Although it would have to be confirmed via testing) to have poorer encoding on non-white artforms is important to choosing a media encoding, no? I'm not sure how acknowledging the limits they created is "undermining the work that went into it", can you explain why you feel that is the case?
- bonoboTP 6y ago> non-white artforms You Americans (I'm assuming) are really strange. Dividing the world into white and non-white art forms, white and non-white "ways of knowing" etc. is exactly how the Nazis and fascists thought here in Europe. You are going right back into the same divisive state of affairs.
- tomcooks 6y agoThere's a music album, Most Beautiful Design by Bienoise (cited in the PHD of the author of the site as a great example of how to work with MP3 compression artifacts and glitches) that is made of heavily compressed mp3s so that it sounds great while still fitting in a standard 1.44mb floppy. https://forceincmilleplateaux.bandcamp.com/album/most-beautiful-design https://forceincmilleplateaux.bandcamp.com/album/most-beauti...
- rubatuga 6y agoUm, that sounds absolutely horrible.
- layoutIfNeeded 6y agoWell, it’s an acquired taste... But that’s glitch music for you ¯\_(ツ)_/¯
- vestrigi 6y agoIronically you can get the album as uncompressed FLAC files.
- magicalhippo 6y agoFun experiment, but I'd rather have a floppy full of tracker chiptunes...
- ardy42 6y ago> As previously stated, the MP3 codec was refined using listening tests designed by european audio engineers and featuring the music they chose. In a sense, each of these songs acts as a resonant filter for every file encoded in the MP3 format. Tom's Diner by Suzanne Vega, Fast Car by Tracy Chapman, a Haydn Trumpet concerto... these songs carved out the space of sounds that could be successfully encoded as MP3's. Does anyone have a full list of the recordings they used for these listening tests?
- lozf 6y agoNot sure about the full list of originals but there are more updated lists including known "killer samples" that have been discovered for different audio codecs in the intervening years in various posts at the Listening tests section of Hydrogen Audio https://hydrogenaud.io/index.php?board=40.0 https://hydrogenaud.io/index.php?board=40.0
- jim-jim-jim 6y ago> As previously stated, the MP3 codec was refined using listening tests designed by european audio engineers and featuring the music they chose. In a sense, each of these songs acts as a resonant filter for every file encoded in the MP3 format Was thinking in the shower just the other day about genre-specific compression schemes. Could you get significant improvement if you knew something like the BPM or the spectral profile of common instruments ahead of time? Or is production too inherently complex for this to be worthwhile? Obviously no two hurdy gurdy recordings will sound the same, even though your algorithm knows wtf a hurdy gurdy is.
- dang 6y agoDiscussed at the time: https://news.ycombinator.com/item?id=7955917 https://news.ycombinator.com/item?id=7955917 also https://news.ycombinator.com/item?id=9049196 https://news.ycombinator.com/item?id=9049196 and then in 2017 https://news.ycombinator.com/item?id=16034547 https://news.ycombinator.com/item?id=16034547
- peter_d_sherman 6y ago"Phase Estimation" -- is my key phrase; my key takeaway -- from this article... Using that as a starting point, I found this: https://web.stanford.edu/~yzliao/pub/master_thesis.pdf https://web.stanford.edu/~yzliao/pub/master_thesis.pdf >"The estimation of the frequency and phase of a complex exponential in additive white Gaussian noise (AWGN) is a fundamental and well-studied problem in signal processing and communications. Its numerous applications include carrier recovery in a communication system [1], determination of the object position in radar and sonar systems [2, 3], estimation of the heart rate of a fetus in biomedicine [4], and carrier synchronization in a distributed beamforming system [5]. Regardless of the application, poor estimation can lead to disastrous results. For example, in communication system, with the poor carrier frequency estimate, the down-converter may not be able to demodulate the passband signal to baseband [1]. In the smart antenna system and speech processing system, a poor phase estimator may cause the system to fail to identify the direction of arrival of the signal [6, 7]."
- jzer0cool 6y agoThese sounds are fascinating. Curious to know if these sounds mimic or has a representation of something in the real world. For example: Audio Clip 1 - this is what I might first think of as random noise. Audio Clip 2 - is this also random noise or is there some kind of pattern to this?
- coolgeek 6y agoYikes. The URL is now (10 days later) showing a domain expired page