More
See all Show me
A short piece based on the decomposition of successive numbers into their prime factors. Each prime is represented as a harmonic partial. For a number N, only those prime harmonics which are factors of N are played.

For example, the number 66 has prime factors 2, 3 and 11, which are the 1st, 2nd and 5th primes. With a fundamental (base) frequency of 60hz, this would therefore trigger sine partials of 60hz, 120hz and 300hz. The fundamental frequency cycles through a triadic sequence every 64 numbers - the only compositional decision besides the underlying structure.

Factors are visually represented as logarithmically-scaled circles, with hue determined by their value. A flash is seen upon reaching a prime number (whose sonic representation is a single partial, corresponding to its single prime index).

Visual programming done in Processing (www.processing.org), communicating with SuperCollider for synthesis (supercollider.sourceforge.net). Full source code available at: erase.net/projects/prime-composition/

Credits

16 Likes

  • Randy Jones 2 months ago
    Very nice, lots of good choices here! And inexhaustible material of course. This would make a nice installation.

    I do wish there was no blurring between frames, so that I could enjoy a number by itself.
  • Daniel Jones 1 month ago
    thanks for the kind words!

    interestingly (?), there is a vague limit to the system's sonic exhaustibility: given that each prime harmonic is a multiple of the fundamental frequency, it fairly quickly goes out of range of human hearing. assuming an audibility limit of 15khz, with a fundamental of 50hz, this would happen after the 300th prime (= 1987).

    the blurring is less severe on the original Processing sketch and .mp4. i do like the idea of being able to view each number individually, however, and so have created a frame-by-frame browser with desktop-res images of each number:

    erase.net/projects/prime-composition/frames/
  •  
  • Benjamin Porter 1 month ago
    This is great Daniel. Keep up the kickass work.
  •  
  • Ross Dalziel 1 month ago
    Love this Daniel imagine if Sesame Street had to introduce prime numbers they'd use this. Beautiful! agree would make a great installation...
  •  
This conversation is missing your voice. Take five seconds to join Vimeo or log in.

Advertisement

Statistics

  •  
    plays
    likes
    comments
  • Total
    plays 247
    likes 16
    comments 4
  • Dec 25th
    plays 1
    likes 1
    comments 0
  • Dec 24th
    plays 5
    likes 1
    comments 0
  • Dec 23rd
    plays 3
    likes 0
    comments 0
  • Dec 22nd
    plays 2
    likes 0
    comments 0
  • Dec 21st
    plays 2
    likes 0
    comments 0
  • Dec 20th
    plays 1
    likes 0
    comments 0
  • Dec 19th
    plays 2
    likes 0
    comments 0
  • Dec 18th
    plays 2
    likes 0
    comments 0
Previous Week

Downloads

Please join Vimeo or log in to download the original file. It only takes a few seconds.