Algorithm
A set of instructions - usually in the context of computer programming.
Algorithmic music refers to music generated by software.