What different 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]

Favorites

Interactive: When Do Americans Leave For Work?

We don’t all start our work days at the same time, despite what morning rush hour might have you think.

Jobs Charted by State and Salary

Jobs and pay can vary a lot depending on where you live, based on 2013 data from the Bureau of Labor Statistics. Here’s an interactive to look.

Years You Have Left to Live, Probably

The individual data points of life are much less predictable than the average. Here’s a simulation that shows you how much time is left on the clock.

How We Spend Our Money, a Breakdown

We know spending changes when you have more money. Here’s by how much.