🎡 Binary Explorations

Systematic analysis of binary sequences in GeCo-Tool

R. Olmi & M. Bittelli β€” Generative Compositional Framework

← Back to the App

Systematic Analysis of Binary Sequences

In the following section we describe some relevant properties of binary sequences, i.e. series of notes created by cyclically applying an operator (Im, Jn) to a starting pitch, by using the web application GeCo-Tool based on the Interval Matrix.

Investigating Sequence Length

It is quite obvious that the length of a binary sequence depends on the interval (I) and leap (J) parameters. What is less obvious is what this dependency is.

Let us start with an example. The binary sequence (I3, Jβˆ’1) is that shown in Figure 1.

Figure 1: Binary sequence for I3 and J-1

Figure 1 β€” Binary sequence for I3 and Jβˆ’1.

First of all, we note that a different (complementary) interpretation of the succession of interval and leaps can be established in terms of interval between the starting note and the successive, and of jump between the same note and the third one. In other words, when we apply the binary operation (3, βˆ’1) to the note "C" we generate the sequence:

C β†’ Eβ™­ β†’ D

where we apply a minor third (3m) interval to the first note "C", followed by a descending minor second leap (βˆ’2m) to the second note "Eβ™­". Looking at the whole sequence of Figure 1 we can also interpret this as 3m intervals with tonal movements, i.e. one-tone leaps this time starting from the initial notes (C, D, E, Fβ™―, Gβ™―, Bβ™­). This picture is better explained in Figure 2.

Figure 2: A different interpretation of the I3 J-1 binary operation

Figure 2 β€” A different interpretation of the (I3, Jβˆ’1) binary operation.

The red and blue lines highlight the presence of two parallel sequences of tones β€” two hexatonal scales β€” separated by a minor third interval, or equivalently, a sequence of minor third intervals with one-tone movement. (The jump is referred to the first note, while the leap in GeCo-Tool refers to the second one.) It should also be clear that the "jump" consists in the algebraic sum of the interval I and the leap J. Indeed, in the example 3 + (βˆ’1) = 2. We will call S this sum:

S = m + n    for a (Im, Jn) operation

Notable Properties of Binary Sequences

We are interested in investigating the dependence of the sequence length from the interval/leap parameters. It is rather simple to verify, by means of GeCo-Tool, that all sequences sharing the same S have the same length. Therefore, a sequence obtained applying a major second interval (m = 2) followed by a fourth leap (n = 5), i.e. having S = 7, consists of major second intervals with fifth movements, as Figure 3 shows.

Figure 3: Binary sequence for I2 and J5

Figure 3 β€” Binary sequence for I2 and J5.

We can count the notes: they are 25, or 24 plus the final one coinciding with the first by the well-known "closure" property. In fact, the length of the (I2, J5) sequence is the same as that of (I7, J0), which consists of perfect fifth intervals (7 semitones) with perfect fifth jumps, i.e. with "repeated notes", as Figure 4 clearly shows.

Figure 4: Binary sequence for I7 and J0

Figure 4 β€” Binary sequence for I7 and J0.

It is clear that we are going through the circle of fifths, which consists of 12 notes; therefore (as every note is played two times) the total length is 2 Γ— 12 + 1 = 25.

Ultimately, to determine the length of all possible binary sequences, it suffices to calculate the length of the "constant-sum" sequences with repeated terms: (I2, J0), (I3, J0), … (I11, J0). Table 1 shows all those lengths as a function of S = m + n (coinciding with m, as n = 0). As S measures the jump width β€” the intensity of the "movement" β€” the length is a non-linear function of S.

Binary operatorSSequence length
I2 J0213
I3 J039
I4 J047
I5 J0525
I6 J065
I7 J0725
I8 J087
I9 J099
I10 J01013
I11 J01125

Table 1 β€” Length of binary sequences as a function of the jump width S.

Some of the results in Table 1 are quite obvious upon closer inspection. For example, whenever S is a submultiple of 12, as in cases I4J0 and I3J0. In the former we have only 3 different notes, each played twice, plus the last note: 3 Γ— 2 + 1 = 7. In the latter, we have 4 different notes, each played twice, plus the last note: 4 Γ— 2 + 1 = 9. The two cases are compared in Figure 5.

Figure 5: Binary sequences for I4J0 and I3J0

Figure 5 β€” Binary sequences for I4J0 and I3J0.

Movements

Of course binary sequences having a zero leap are not so interesting. The meaningfulness of sequences suddenly increases if we replicate the results of the above table with a descending semi-tonal leap Jβˆ’1. Table 2 shows what happens in that case, in terms of intervals and jumps (algebraic sums of intervals and constant leap = βˆ’1).

Binary operatorSSequence lengthAnnotations
I1 Jβˆ’103three notes, ex. C Cβ™― C β€” of no interest
I2 Jβˆ’1125major second interval, with semi-tonal jumps
I3 Jβˆ’1213minor third interval, with one-tone jumps
I4 Jβˆ’139major third interval, with minor third jumps
I5 Jβˆ’147perfect fourth interval, with major third jumps
I6 Jβˆ’1525diminished fifth interval, with perfect fourth jumps
I7 Jβˆ’165perfect fifth interval, with diminished fifth jumps
I8 Jβˆ’1725augmented fifth interval, with perfect fifth jumps
I9 Jβˆ’187sixth interval, with augmented fifth jumps
I10 Jβˆ’199minor seventh interval, with sixth jumps
I11 Jβˆ’11013major seventh interval, with minor seventh jumps
I12 Jβˆ’11125octave interval, with major seventh jumps

Table 2 β€” Characteristics of binary sequences (InJβˆ’1).

The results of Table 2 are summarized in Table 3 below.

SOperatorScore
0I1Jβˆ’1S=0
1I2Jβˆ’1S=1
2I3Jβˆ’1S=2
3I4Jβˆ’1S=3
4I5Jβˆ’1S=4
5I6Jβˆ’1S=5
6I7Jβˆ’1S=6
7I8Jβˆ’1S=7
8I9Jβˆ’1S=8
9I10Jβˆ’1S=9
10I11Jβˆ’1S=10
11I12Jβˆ’1S=11

Table 3 β€” Binary sequences (InJβˆ’1).

Ascending and Descending Interval Pairing

It's time to delve into the realm of applications: the focus of this section is a systematic study of interval pairing.

We will show by means of examples how to use the binary system to generate interval pairs. It is a very powerful tool to practice intervals on any instrument and exploring different sounds. New ideas can be developed to be used for improvisation or compositions on both tonal or atonal music. It can also be used for ear training: a sequence is generated, the user can sing it and then play it with GeCo-Tool. By lowering the BPM, the user can sing along the sequence to improve intonation.

By using the transformations, the intervals can be played as ascending–ascending, ascending–descending, descending–ascending and descending–descending. For instance, a sequence of major seconds (interval) played by ascending fourths (leap) can also be played as descending major seconds by ascending fourths, or ascending major seconds by descending fourths, and so on.

Theoretical Rule

The present formulation is specifically constructed to preserve ascending intervallic identities within each binary unit. By applying In and Jm to a reference pitch, the interval is generated independently of the displacement mechanism that governs the progression of the sequence. This separation ensures that interval classes are consistently realized as ascending structures, while the jump defines the movement of the generative framework itself.

In Forte's pitch-class set theory, intervals are understood not according to their traditional tonal function, but through their abstract distance relationships measured in semitones. A central concept is that of the interval class (IC), which groups together intervals that are inversionally equivalent. Rather than distinguishing between, for example, a major second and a minor seventh, Forte theory considers both as manifestations of the same intervallic identity because they complement each other within the octave. Thus, intervals are reduced to the smallest possible distance within the twelve-tone chromatic system. The six interval classes are therefore defined as:

IC1, IC2, IC3, IC4, IC5, IC6
1 ↔ 11    2 ↔ 10    3 ↔ 9    4 ↔ 8    5 ↔ 7    6 ↔ 6

This abstraction allows pitch-class sets to be analyzed independently of register, ordering, or tonal hierarchy, emphasizing instead the internal intervallic structure of musical collections.

Consequently, the system maintains intervallic coherence at the local level, while enabling flexible and directional evolution at the global level. Based on this concept, for instance, to generate an interval of a major second with respect to the first note of the couple, it is possible to compute the number of semitones from the second note to descend to the target note.

Each cell of the interval matrix contains a binary operator:

InJm

where In generates the second note of the pair, while Jm connects that second note to the first note of the next pair.

If the next starting pitch is displaced by s semitones from the original pitch, then:

m = s βˆ’ n

Thus:

X β†’ X + n β†’ X + s

and the leap is:

Jm = Jsβˆ’n

For example, major sevenths moving by minor seconds are represented by:

I11Jβˆ’10

because:

C β†’ B β†’ Cβ™―

where Cβ™― is a half step above C, and: 1 βˆ’ 11 = βˆ’10. In set-class theory they both belong to IC1.

Although the present matrix is constructed to preserve ascending intervallic identities within each local binary structure, every generated sequence may also be realized in descending form through transpositional and inversional operations. In GeCo-Tool, this process is implemented through pitch-class transformations derived from serial music theory, particularly inversion I and transposition T.

The inversion operation reflects the intervallic profile around the first pitch of the sequence, transforming ascending motions into descending ones while preserving interval-class relationships. Subsequent transposition allows the transformed structure to be repositioned onto any pitch-class level without altering its internal organization.

Consequently, the interval matrix should not be interpreted as a collection of fixed melodic contours, but rather as a system of intervallic operators capable of generating multiple directional realizations. The ascending formulation therefore represents the canonical structural form, while descending configurations emerge as transformed equivalents preserving the same intervallic identity.

For this reason, from the major seventh, the leap must be negative. Table 4 lists all the combinations in the interval matrix.

unison2m2M3m3M45β™­55β™―67m7M
unisonI0J0I0J1I0J2I0J3I0J4I0J5I0J6I0J7I0J8I0J9I0J10I0J11
2mI1Jβˆ’1I1J0I1J1I1J2I1J3I1J4I1J5I1J6I1J7I1J8I1J9I1J10
2MI2Jβˆ’2I2Jβˆ’1I2J0I2J1I2J2I2J3I2J4I2J5I2J6I2J7I2J8I2J9
3mI3Jβˆ’3I3Jβˆ’2I3Jβˆ’1I3J0I3J1I3J2I3J3I3J4I3J5I3J6I3J7I3J8
3MI4Jβˆ’4I4Jβˆ’3I4Jβˆ’2I4Jβˆ’1I4J0I4J1I4J2I4J3I4J4I4J5I4J6I4J7
4I5Jβˆ’5I5Jβˆ’4I5Jβˆ’3I5Jβˆ’2I5Jβˆ’1I5J0I5J1I5J2I5J3I5J4I5J5I5J6
5β™­I6Jβˆ’6I6Jβˆ’5I6Jβˆ’4I6Jβˆ’3I6Jβˆ’2I6Jβˆ’1I6J0I6J1I6J2I6J3I6J4I6J5
5I7Jβˆ’7I7Jβˆ’6I7Jβˆ’5I7Jβˆ’4I7Jβˆ’3I7Jβˆ’2I7Jβˆ’1I7J0I7J1I7J2I7J3I7J4
5β™―I8Jβˆ’8I8Jβˆ’7I8Jβˆ’6I8Jβˆ’5I8Jβˆ’4I8Jβˆ’3I8Jβˆ’2I8Jβˆ’1I8J0I8J1I8J2I8J3
6I9Jβˆ’9I9Jβˆ’8I9Jβˆ’7I9Jβˆ’6I9Jβˆ’5I9Jβˆ’4I9Jβˆ’3I9Jβˆ’2I9Jβˆ’1I9J0I9J1I9J2
7mI10Jβˆ’10I10Jβˆ’9I10Jβˆ’8I10Jβˆ’7I10Jβˆ’6I10Jβˆ’5I10Jβˆ’4I10Jβˆ’3I10Jβˆ’2I10Jβˆ’1I10J0I10J1
7MI11Jβˆ’11I11Jβˆ’10I11Jβˆ’9I11Jβˆ’8I11Jβˆ’7I11Jβˆ’6I11Jβˆ’5I11Jβˆ’4I11Jβˆ’3I11Jβˆ’2I11Jβˆ’1I11J0

Table 4 β€” Interval matrix used to compute pairs of ascending intervals.

Examples

Below an example is provided where intervals of minor seconds are generated by jumps of perfect fourths:

I1J4
Score: I1J4

Minor second intervals with perfect fourth movements (I1J4).

The next example generates minor thirds at leaps of ascending major seconds. Note that the first two eighth notes are a minor third apart and the third note is a major second from the first note, and so forth:

I3Jβˆ’1
Score: I3J-1

Minor third intervals with major second movements (I3Jβˆ’1).

By inverting this binary sequence,

I(I3Jβˆ’1)

the intervals are descending minor thirds: the first two notes are a descending minor third apart, and the third note is a whole tone from the first note. In tonal music it would be a minor seventh, but in pitch-class set theory this interval belongs to the same interval class as the major second.

Score: I(I3J-1) inverted

Descending minor thirds β€” inversion of I3Jβˆ’1.

The following example depicts diminished fifths ascending by perfect fourths (IC6 followed by IC5):

I6Jβˆ’5
Score: I6J-5

Diminished fifth intervals with perfect fourth movements (I6Jβˆ’5).

The following example depicts minor sevenths ascending by perfect fifths. In pitch-class theory the minor seventh and the major second belong to the same interval class IC2. Therefore it is IC2 followed by IC5, where IC5 is the interval with respect to the first note of the binary group:

I10Jβˆ’3
Score: I10J-3

Minor seventh intervals with perfect fifth movements (I10Jβˆ’3).

← Back to the App