Example 2 : Defining Temporal Relations Between TemporalBoxes
Applying the Values of a TemporalBox to Other TemporalBoxes
The values of the Self Input Box can be used for defining
with other TemporalBoxes, via connections between functional inputs and outputs.
Building a Sequence of TemporalBoxes
The chord of TemporalBox #1 is a reservoir for isolated notes that will occur successively in the maquette.
We have programmed the TemporalBoxes so that the initial chord provides one random note to each of TemporalBoxes #2; 3; and 4.
of each TemporalBox is determined by the
, so that boxes follow each other.
Inside TemporalBox #1
The internal program of the first TemporalBox determines some characteristics of the other TemporalBox.
Inside TemporalBox #1 : using the "pattern-chord"'s data.
The initial chord lasts 3 seconds. It is connected to the Tempout of TemporalBox #1, and represents its musical value.
Permut-random performs a random permutation of the chord's pitches. The
three first pitches
of this permutation are returned by nth-first to the
of TemporalBox #1.
On the other hand, the
of the TemporalBox returned by the Self Input Box, is added with the chord's
The result is returned to the
of the TemporalBox.
The random pitches – output #1 – are returned to all the other TemporalBoxes. The ending time of the box – output #2 – is returned to the next TemporalBox.
Inside TemporalBox #2
The three random pitches are returned by the first input of TemporalBox #2 to the first function.
First picks the first note and returns it to the note box. This note is also given a duration.
The note is connected to the Tempout and becomes the musical value of the TemporalBox.
The temporal position of TemporalBox #1, is returned to the "offset" input of slots, which defines the offset of TemporalBox #2.
The offset of TemporalBox #2 is added to the duration of the note, and the result is returned to the output of TemporalBox #2.
The value of the output ending of the box – is returned to the next TemporalBox, which contains the same program.
About Last TemporalBox
Note that the last TemporalBox has nor output, neither om+ function, but a sequence function. The box has nothing to return to another box. The sequence function allows to evaluate slots before evaluating the TemporalBox, so that its offset is correct.