Recreating the THX Deep Note (2009)
earslap.com
earslap.com
> play{Mix({|k|k=k+1/2;2/kMix({|i|i=i+1;Blip.ar(iXLine.kr(rand(2e2,4e2),87+LFNoise2.kr(2)k,15),2,1/(i/a=XLine.kr(0.3,1,9))/9)}!9)}!40)!2a}
> http://earslap.com/assets/thxdeepsound/soundtweet.mp3
Absolutely crazy how people can fit all these things into these short snippets of code. The demo scene impresses me equally in this.
I'm no good with music theory, but this sounds like it resolves to a diminished chord as opposed to the original major chord. It's deeply menacing instead of triumphant. I really like it.
It reminds me of Qrpff[0] a six or seven line (depending on version) Perl program that could be used to strip DSS from DVDs.
This reminded me of "A Mind Is Born"[0]
The demoscene is one of the areas of niche computing that's always interesting to me, even though I completely lack the skillset and even the interest to do things like that.
https://blog.wolfram.com/2022/10/28/winners-of-the-2022-one-...
https://blog.wolfram.com/2021/11/24/the-winners-of-the-2021-...
https://blog.wolfram.com/2020/10/20/the-winners-of-the-2020-...
Here's a neat example I just found where the original sound is just repeated and mixed at increasingly high numbers: https://www.youtube.com/watch?v=CvipzurlCK0. Pretty awesome.
This Pure Data recreation is pretty great: https://www.youtube.com/watch?v=Rz1uNLHorEs
He started off by claiming he wanted to create the sound of a hundred bees or something, then he coded these, and bit by bit he re-created the Deep Note. Since the video wasn't titled after that, it was quite a surprise.
I can't seem to find that video anymore, if anyone has a link, please share it :)
http://www.uspto.gov/go/kids/soundex/74309951.mp3
Be sure to listen the sound because we will be referring to that particular recording when we have a go at recreating the Deep Note."
Too bad the link returns a 404. No referring for you
With that in mind, the 140-char snippet at the end is an unfair comparison, since that leverages a sophisticated and mature audio stack provided by the OS and Supercollider.
A. Actually I made a mistake with that 20,000 lines of code statement – that was just off the top of my head. I need to correct that if I can figure out how, but it also depends a bit on what lines of code you count. The original 30-year-old C program is 325 lines, and the “patch” file for the synthesizer was 298 more lines. I guess it just felt like 20,000 lines when I did it.
Given that it was written and debugged in 4 days, I can’t claim the programming chops to make 20,000 lines of working code that quickly. But, to synthesize it in real time, in 1983, took 2 years to design and build a 19” rack full of digital hardware and 200,000 lines of system code to run the synthesizer. All that was already done, so I was building on a large foundation of audio processing horsepower, both hardware and software. Consequently, a mere 325 lines of C code and 298 lines of audio patching setup for the 30 voices was enough to invoke the audio horsepower to make the piece.
https://cdm.link/2015/04/thx-deep-note-creator-remade-iconic...
For a little context the deep note was released the same year as TCP/IP and the Commodore 64. Source code was mostly shared by printing it in magazines (multi-page printed publications that would be mailed to your house monthly in exchange for a yearly subscription fee).
The repo has slides with helpful links for those looking for a rabbit hole. Especially nice is a podcast interview with the original engineer James Moorer which sheds a lot of light on the implementation