Computers as cognitive tools in musical composition