What different sorting algorithms sound like

September 1, 2010  |  Misc. Visualization

What sorting algorithms sound like

Last month we saw sorting algorithms visualized in rainbow technicolor. Now, by Rudy Andrut, here they are auralized.

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.

It sounds like someone is playing on old Atari game. Warning: may cause seizures. Watch it in action in the video below.

[via]

Copyright © 2007-2014 FlowingData. All rights reserved. Hosted by Linode.
7ads6x98y