As we know, the four essential parameters to the definition of a musical note are:
- Duration
- Pitch
- Timbre
- Intensity
For each of these four parameters, a series of twelve values is introduced. Every series will include, therefore, twelve values of intensity or twelve values of duration, or of pitch, or of timbr. We will have therefore:
one duration serie
one pitch serie
one timbr serie
one intensity serie
These series are the module on which the program act, with different algorithms for each param.
We define now the input of program that is constituted by a triple of integer positive numbers
by the four series
, and by the four algorithms
, and that return in output a sequence of serie
. in general, as it regards the series of durations and of pitch, the program functioning can be represent like follow:
We describe now, the succession of steps necessary to the production of a complete sequence (or rather of the whole all the algorithms, that will return in output the musical "piece")
- The length of the sequence is calculated
it
corresponds therefore, to the number of
is calulated,
,
and, subsequently
,
are calculated, through the calculation of a triple
of
integer positive numbers, where
and
- Is calculated The complete sequence. We now see
in detail how a single series of musical values is
produced, separately for each params.