Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Math Music Software The Internet Technology

Musician Creates a Million-Hour Song Based On the Number Pi (vice.com) 65

An anonymous reader quotes a report from Motherboard: Now, for Pi Day (March 14), music software programmer Canton Becker has crafted a million-hour song based on Pi that unfolds generatively on a virtual tape deck. Titled "Shepard's Pi," the song combines two of Becker's favorite infinities: Pi, and an auditory illusion called a Shepard tone, which he describes as an "unsettling sonic illusion of a pitch that climbs or descends forever, never reaching a top or a bottom." Found at PiSongs.com, users can tune into "Shepard's Pi" in real time with a custom virtual tape deck. The track itself evolves moment to moment, but the synthesized and sampled tones will be familiar to anyone who has ever listened to the electronic music of Kraftwerk, Tangerine Dream, Aphex Twin, and Global Communication. Far from being a mere gimmick, it is a highly evocative and transporting piece of electronic music, alternately ambient, glitchy, and interestingly rhythmic. The 58,999 GB MP3 file needed to be distributed via a webpage or app, so Becker "started hacking away at the basic algorithm in the programming languages PHP and Javascript," reports Motherboard. "In between coding marathons, Becker composed and recorded the loops and samples that would form the basis of the song. He experimented with sounds that would work well together regardless of being stacked one upon the other."

"When users hit 'play' on the virtual tape deck, the algorithm actually 'performs' the piece," the report says. "This way, the 114-year song can fit in just one gigabyte of space, which is mostly comprised of the digits of Pi. The virtual tape deck was also a solution to a built-in quirk of browsers such as Chrome, Safari, and Firefox -- users must click on a webpage to trigger a sound." From start to finish, the song lasts 999,999 hours, "a limitation imposed by only considering the first one billion digits of Pi."
This discussion has been archived. No new comments can be posted.

Musician Creates a Million-Hour Song Based On the Number Pi

Comments Filter:
  • by nwaack ( 3482871 ) on Thursday March 14, 2019 @06:19PM (#58274952)
    So, roughly half the songs performed by Tool then?
    • Ouch! Cue the inevitable flame war between Tool and Muse fans. =P

      • Ouch! Cue the inevitable flame war between Tool and Muse fans. =P

        Don't you talk shit about Muse. I watched Bohemian Rhapsody not long ago, and while it was kind of a mediocre music biopic, it also reminded me that hysterical, operatic British hard rock is in desperately short supply these days. Say what you will about Muse, but at least they're stepping up to the plate to take a swing. Yes, their music is derivative, and yes their lyrics are sophomoric, but they're at least trying for the mantle left emp

        • Plus, their music is terrific for playing video games.
          Tool, on the other hand, is kind of meh. I hope that brings some clarity to this discussion.

          Tool, specifically Aenima, was great music for ye olde Quake. Music to gib by.

          • Tool, specifically Aenima, was great music for ye olde Quake. Music to gib by.

            One of my top two Quake albums. The other was the soundtrack to Spawn.

    • Re: (Score:3, Funny)

      by PopeRatzo ( 965947 )

      So, roughly half the songs performed by Tool then?

      Tool songs aren't actually a million hours long. They just seem that way.

  • by Anonymous Coward

    Auto-generated song sounds as expected. Ambience at best. Stupid. Pointless.

    • by Anonymous Coward

      Is this idiot millennial even a musician? No, he is an idiot millennial who set up a sound generator and called himself a musician.

  • by dgatwood ( 11270 ) on Thursday March 14, 2019 @06:27PM (#58274980) Homepage Journal

    I'm guessing his significant other at some point said, "If you don't give up that silly music hobby, you'll never hear the end of it," and he decided to prove the point.

  • So, if you combined this with the 31.4 trillion digits of Pi computed recently (setting a new record), you'd end up with 31,399,968,600 hours of music. That's 1,308,332,025 days, if you divide that by 365.24 days in a year, you get 3,582,116 years of music.

    That's compared to the 41,667 days (114 years) that you'll get with the current web applet....

    • by Cederic ( 9623 )

      Surely the answer is to keep calculating additional digits of pi while playing the generated music thus far. 114 years should be enough time to hit that 31.4 trillion, and the next three million years probably offers enough time to calculate enough digits to keep going until the heat death of the universe.

      Bloody musicians, never think things through.

      • Indeed. I think we can stipulate it's a long fracking time.

        Let's do a plane metaphor for clarity:

        It's like the amount of time it takes for your mother-in-law to get tired of talking about the boy your wife should've married, on a flight from New York to Singapore, while you endure a category 6 hangover during a category 5 hurricane, with a paper cut on your left pinkie.

    • Now rise for our hymn, In the Garden of Eden, by I. Ron Butterfly.

    • So, if you combined this with the 31.4 trillion digits of Pi computed recently (setting a new record), you'd end up with 31,399,968,600 hours of music. That's 1,308,332,025 days, if you divide that by 365.24 days in a year, you get 3,582,116 years of music.

      That's compared to the 41,667 days (114 years) that you'll get with the current web applet....

      Hope this doesn't give the RIAA any ideas; they couldn't possibly want Copyright to be shorter than a song!

  • by Anonymous Coward on Thursday March 14, 2019 @06:29PM (#58274988)

    "NOTE: Audio is a little glitchy on Firefox. Please consider using Chrome"

    I can't tell you how much I hate people who actively promote that malware cancer.

  • by dddux ( 3656447 )
    As fascinating as a rotting banana watching itself rot. At the Hyde Park, of course. It would be more fascinating if he just made music, and not the $popcharts type. I would be eager to listen to that.
    • If something is boring after two minutes, try it for four. If still boring, then eight. Then sixteen. Then thirty-two. Eventually one discovers that it is not boring at all. -- John Cage

  • by Anonymous Coward

    Where's the undergound pi?

  • In all serious, it gets interesting in a creepy way at 3 hrs, 14 minutes, 15 seconds mark. Not sure if I care for the "speaking". :-/

    Still waiting to fast forward to the 314159:26:53 mark ... =P

  • So he's essentially created a music generator that turns semi random numbers into semi listenable music.
  • What is it about pi that makes some people think it is fascinating?

    Purely serendipitous, but recently I was actually doing some thinking about pi. Actually I was just using pi because the digits were conveniently available. My first line of analysis led to https://oeis.org/A036903 [oeis.org], which begins 32, 606, 8555, 99849, 1369564, 14118312, 166100506, 1816743912, 22445207406, 241641121048, 2512258603207... It's hard to follow their explanation, but the 32 is where the first 0 appears, which is the last 1-digit se

    • by Torodung ( 31985 )

      There's a 1998 movie [youtube.com] about this...

      • by shanen ( 462549 )

        Thanks for the link, though I expected to be RickRolled. IMDb says it got 7.4 stars out of 10, but it doesn't sound interesting enough to read the quotes. (And why doesn't the trailer use upper case to make the URL more memorable?)

        However now I think you're actually accusing me of some sort of irrationality. Either that or you're projecting from the human tendency to see patterns where none exist.

        In contrast, as I understand the situation, I believe there are different degrees and even kinds of randomness.

        • by shanen ( 462549 )

          For (2), I should have continued the 2-digit sequences past "12" to show the next deletion... That part's obvious, but I'm still wondering about how to order the digits for maximum shortening with full coverage at each n.

  • Can't get it to load, but the comments it makes while it is loading are pretty funny.
  • Is it, really? (Score:4, Informative)

    by argStyopa ( 232550 ) on Thursday March 14, 2019 @08:16PM (#58275434) Journal

    I mean, is it a "song"?
    Using the sequential digits of pi as seeds for triggering what is more or less a cascade of music isn't, in my view, a "song" any more than a wind-chime randomly dinging some noise all in the right key because those are the only notes available.

    That's what this is, really: electronica wind chimes.
    I like electronica (for example, I often listen to http://youarelistening.to/minn... [youarelistening.to]) but while pleasant, soothing, and all those things - still not really a SONG.

    • If a tree falls in the forest, and nobody hears it, the phenomena of sound still happened.

      But if a bunch of switches on a computer are placed in a pattern, and it is never run through a DAC connected to a speaker, the phenomena of sound never happened.

      If nobody has listened to it, and nobody has played it on an instrument, and nobody even imagined the sound of the notes while writing it, it seems hard to call the whole thing a "song." That's separately from the apparent lack of musically creative artistic e

  • This is pretty neat and all, but the people talking over the music makes it totally uninteresting. I can't find a way to turn them off.
  • by Guppy ( 12314 ) on Thursday March 14, 2019 @10:51PM (#58275960)

    I'd rather listen to Daniwell's version of Miku Hatsune singing 10,000 digits of Pi:

    https://www.nicovideo.jp/watch... [nicovideo.jp]

  • I moused all over the screen looking for a hidden tool tip for volume but couldn't find it. I guess I'm just not up to speed on the modern UX. Can anyone give me a clue?
  • by bradley13 ( 1118935 ) on Friday March 15, 2019 @03:40AM (#58276748) Homepage

    I've just started listening. As a fan of Tangerine Dream, I have to say, this is pretty good stuff. I think it will be great as background music for things like programming.

  • It sounds like trance music written by monkeys. Actually, monkeys might do better than an irrational number.

  • Why not just keep computing digits of pi as the song plays rather than stopping at a billion digits?

Make sure your code does nothing gracefully.

Working...