What does a sorting algorithm SOUND like?


Chuck writes

A while back I saw a post about visualizing sorting algorithms. But what do they sound like? I put together a quick Chuck script that does a bubble sort of a list of integers. Each time it compares two values it first converts the values from a MIDI note value to a frequency and then plays two tones with those frequencies.

Code and more on the site!

Filed under: random — by adafruit, posted August 12, 2009 at 11:18 pm


4 Comments

  1. Now this is the kind of stuff that the internet needs more of!

    Comment by Jeremy Brooks — August 13, 2009 @ 12:59 am

  2. Just found my new ringtone!

    Comment by rsbohn — August 13, 2009 @ 3:48 pm

  3. a very suspenseful sort!

    Comment by Stars — August 13, 2009 @ 11:10 pm

  4. Here something similar: http://www.youtube.com/watch?v=ol5ml9e2THw

    It sonifies every Java instruction triggered by different sorting algorithms. For more on CodeSounding see: http://www.codesounding.org/indexeng.html

    Comment by robermann79 — August 21, 2010 @ 2:22 am

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

www.flickr.com
adafruit's items Go to adafruit's photostream
www.flickr.com
items in Adafruits More in Adafruits pool