The algorithm can then compare between our musical phrases and that beautiful melody, and select only the phrases that are most similar to it.
Algoritma kemudian membandingkan frase musik kita dengan melodi indah tersebut, dan memilih hanya frase yang paling mirip.