The person used a keyboard to make random sounds as an experiment to see what sounds and music they could create with the keyboard. They were exploring the creative possibilities of using a keyboard to see what types of noises and tunes they could produce through experimenting with pressing different keys.