Example 7. The melody is the same as in Example 6, but now the probability of each note is calculated as the average of its scale-degree probability, SDP (calculated as before), and its interval probability, IntP, where P(step) = .2 and P(leap or repetition) = .025. Calculations are shown in the table above the graph