using a random process to generate a musical note, phrase, sequence or structure