This Apple patent could help turn you and your MacBook into a beat-bopping DJ