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

Musical insertion sort (drums)

Loading...

Sign in or sign up now!
6,034
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 7, 2009

Suppose you drop a set of drums and they land randomly ordered in a row on the floor. You want to put the drums back in order but can only pick up and swap two at a time. A not so good strategy to minimize the number of swaps you must make is to follow the insertion sort algorithm http://en.wikipedia.org/wiki/Insertion_sort

If you order the drums by their general MIDI number and simultaneously strike any two which you swap then you will produce a sound similar to this.

Note that may of the drums have the same MIDI number and thus appear at the same height in the graph. When you swap drums at the same MIDI number the graph will look the same but sound is still produced.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

All Comments (0)

Sign In or Sign Up now to post a comment!
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