2 - Algorithm $ AlgP$ that generate the pitch series

The algorithm that produces the pitch series also responds to the rules described in the paragraphs 1.2 e 1.3 (pitch values must be substituted to the durations values). The pitch series are therefore elaborate adding or subtracting the random value $ O$ (see the calculation of $ O$) to some or all the values of the input series, according to the illustrated rule in the paragraph regarding the definition of the subset $ I$ (to see the paragraph regarding the determination of the subset $ I$), and determining in this way the output series.