comScore

What Different Sorting Algorithms Sound Like

Ruby Andrut has come up with a surprisingly catchy, chiptune-like “audibilization” of several sorting algorithms. She says that “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.”

Very cool. Bubble sort sounds a bit like Pac-Man, no?

(via FlowingData)

Have a tip we should know? tips@themarysue.com

Filed Under:

Follow The Mary Sue: