Automatic Music Tempo and Timbre Change Based on Pitch Detection and Image Analysis