What does a sorting algorithm SOUND like? « adafruit industries blog

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


3 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

RSS feed for comments on this post. TrackBack URL

Leave a comment

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