Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

What different sorting algorithms sound like

Loading...

Sign in or sign up now!
391,940
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 19, 2010

This particular audibilization is just one of many ways to generate sound from running sorting algorithms. Here on every comparison of two numbers (elements) I play (mixing) sin waves with frequencies modulated by values of these numbers. There are quite a few parameters that may drastically change resulting sound - I just chose parameteres that imo felt best.

After making this video I found that someone already tried to audibilize sorting algorithms:
http://www.pillowsopher.com/blog/?p=116
- he mentions other older attempt: http://www.math.ucla.edu/~rcompton/musical_sorting_algorithms/musical_sorting...
And someone in comments metions similar attempt on different aproches to Towers of Hanoi problem in 1982; there was also attempt on trying to hear minimax search in chess engine in 2009: http://www.krazydad.com/blog/2009/05/musical-chess/ .

This is my first attempt on making algorithms audible. For some time I was wondering what would it sound like if cpu made different noises for different instructions. It all started while trying to play raw files (texts, images, programs...), then I heard few "raw" tracks on Alva Noto CD... and then I did one strange audio-visual simulation http://vimeo.com/6711459 and then I tried to play out voltage potentials simulated by spiking neural network implementation - it worked out really cool so I wanted to try something with algorithms - thats how I got here. I know this work is not novel but I feel it isn't explored enough. I see future uses of similar techniques in monitoring and debuging, teaching and gaining insight of more complicated algorithms, science (as an extension to ploting tools)... and arts.

If you heard of something similar please drop me a line.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Top Comments

  • Do radix sort!

  • HOW. THE. FUCK. DID. I. GET. HERE?!

see all

All Comments (457)

Sign In or Sign Up now to post a comment!
  • My clip of the week! :)

  • And what about quick sort? I bet it'd sound 20% cooler :P

  • whats the difference between gnome and insert?

  • Do bogosort!

  • @stixxx2k

    I don't blame it for not being O(n)... I'll already be happy with an O(n!) or O(nlogn) :-p

  • @ruhtraeel Bubblesort. Y u no O(n)? ;) Short version.

  • OH GOD BUBBLE SORT YOU SUCK

    Why you gotta be O(n^2) all the time?!?!

  • Merge sort + transcribe audio = ...

  • select sort is awesome

View all Comments »
Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more