Translate

Thursday, November 19, 2026

510. THE HUMAN-INSTRUMENT INTERACTIVE CONTRAPUNCTAL ALGORITHM THAT PRODUCES ALL POSSIBLE DIATONIC CHORD-HARMONIZATIONS OF A DIATONIC MELODY.

The algorithm is half combinatorial (mechanical deterministic) on the notes and half human-preference-based (non-mechanical deterministic), with rules that their variation allows chord harmonizations that range from minimalist to maximalistic results on the number of chords. 

It is called contrapunctal, because it is highly relevant to counterpoint music: Given a melody, when applying counterpoint to create 3 voices, we have automatically also created a chord progression that accompanies the melody. Conversely, given a melody, if we harmonize it with an accompanying chord progression, we automatically have also created in a minimal way a counterpoint of 3 voices. 

The mechanically deterministic part of the algorithm, is based on the mathematical theorem that any note of a diatonic scale belongs to three (3 or 4 notes) chords of the diatonic scale. 

STEP 1: We may start with all the notes of the melody x1,x2,...xn, or start with only the notes y1,y2,...,yn  that have not very short duration and could be called the simplicial submelody of the melody. Of course this is easier if we have the melody written in a pentagram or in piano roll. 

STEP 2: At first we listen to the melody or its simplicial submelody ,  to get a musical feeling. Then we proceed as follows: we try the 3 chords that y1 belongs , and by our feeling we chose one Ch1. Some ofthe canditate chords are major and some are minor. We follow our feling. 

STEP 3 We repeat it for note y2. If we find a chord that is the Ch1, or a previously used chord for the note y2 we prefer it if we seek a minimal chord progression. But if we are seeking for a maximally different chords , in the chord progression, we chose a chord Ch2, not used before for the note y2. The difference of repeating previously used chords for the same note or using new chords or mixing both gives  all the spectrum between the minimal number (usually 3 chords) and maximal number (7 chords) for the diatonic melody. 

STEP 4 : After finishing all the notes y1,...,yn, and the finding-composing of the chord progression Ch1,....Chn, we try it for the melody, and usually we may omit some chords, so that , finally not all notes ofthe melody x1,x2,...xn are inside the underlying chords (passing notes). The passing notes usually should not be more than 50% of the total duration. (Still in Bach's counterpoint, the passing notes that are in dissonance with teh underlying chords may be 50%-75% of the total time!) We may also alter some chords to one of the other two possible choices so that, in total, the chords are a minimal number. But this is only if we seek minimal chord progressions. If we seek maximal chord progressions, we must do the oposite. The same notes in that case are preferred to have different chords. The minimal chord progressions will usually be 1 or 2 chords, the intermediate 4-5, and the maximal chord progressions will by 7 chords. 

 

Saturday, November 7, 2026

508. THE COUNTERPOINT CONTINUOUS BASS THEOREM OF 3 CONSECUTIVE NOTES OF THE DIATONIC AND PENTATONIC SCALE.

 FOR THE DIATONIC SCALE

 Let su take for example, the C major scale.

If we use only 3 notes classical chords

C= C E G 

Dm=  D F A 

Em=  E G B 

F= F A C 

G= G B D 

Am= A C E 

Bdim= B D F 


The next triads of notes exist on all 7 chords WITH AT LEAST ONE NOTE!

C-D-E or B-C-D

D-E-F

E-F-G

G-A-B or F-G-A

A-B-C

In other words these are ALL consecutive 3-notes of the scale.

ANY OF THE 7 CHORD OF THE SCALE HAS AT LEAST ONE POINT IN SUCH A TRIAD!

AND THE TRIADS ARE THE  MINIMAL NUMBER FOR CLASSICAL CHORDS, WITH THIS PROPERTY FOR ALL 7 CHORDS (ANY CHORD PROGRESSION). 

FOR JAZZ 4-NOTES CHORDS, THE MINIMAL NUMBER IS ONLY 2 CONSECUTIVE NOTES. 

(Of course particular chord progressions may require only 2 or only 1 notes) 

Thus by choosing any of these  chromatic CONSECUTIVE TRIADS , and alternating the notes so that at the time of any chord, the drone notes exist in the underlying chord, we can drone (COUNTERPOINT MELODY) any melody of the diatonic scale.

For each song , it does not matter which triad we use, and each triad can be used for all songs. 

Of course, when we have transposition to another scale, still another pair is needed.

Or if instead of A natural minor, we transpose to A harmonic minor (g# ) or double harmonic minor (d#, g#) , then a 3rd or a forth note is needed. E.g, (G, G#, A) fo A harmonic minor

or ( D, D#, E) also. 



FOR THE PENTATONIC SCALE

 Let us take e.g. the A minor pentatonic

A-C-D-E-G-A , this is actually 2 3-notes parts in semitones 3-2 (A-C-D, and E-G-A) "divorced" or in conjunction by a whole tone D-E.

so (3-2)-2-(3-2). 

Then any melody will be harmonized by Am or C major CP, GP. (d-g-d IS AN INVERSION OF g-D-g)


The 4 chords of the pentatonic scale are shaped by the 1st 2nd and 3rd voice of any melody and are the chords

 Am, C, CP, GP, where CP =(C,G,C) and GP=(G,D,G) 


2nd voice=C,  E, G,  G,  C

1st voice = A, C,  D, E, G 

3rd voice= E,  A,  G, C,  C


If we look at any 3 consecutive notes of the pentatonic, then ANY such triad will work for isokratic continuous bass! Because at least one not of any such triad exist in the 4 chords of the pentatonic.  This verifies the counterpoint melodies theorem of the 3 consecutive notes also for the pentatonic scale.

Thus by choosing any of these  chromatic CONSECUTIVE TRIADS , and alternating the notes so that at the time of any chord, the drone notes exist in the underlying chord, we can drone (COUNTERPOINT MELODY) any melody of the PENTATONIC scale.

For each song , it does not matter which TRIAD  we use, and each TRIAD can be used for all songs. 

ANY OF THE 4 CHORD OF THE SCALE HAS AT LEAST ONE POINT IN SUCH A TRIAD!

AND THE TRIADS ARE THE  MINIMAL NUMBER FOR CLASSICAL AND POWER CHORDS, WITH THIS PROPERTY FOR ALL CHORDS. 

(Of course particular chord progressions may require only 2 or only 1 notes) 

THE BACK-FORTH DRIFTING BASS METHOD.

The previous theorem allows for a method of continuous bass counterpoint, where we drift up for some time , or down for some time by stepping either forward or backward (but mainly forward) one step of the scale at a time, after shifting the triads towards a single direction. 


If we go back to the 7-notes diatonic scale, and allow only chords without 3rds, (ancient harmony chords or power chords as Jazz sais, e.g. C-G-C) then the 3 consecutive notes become 4-consecutive notes.


The allowed chords ofthe diatonic scale are  (CP=C power)

CP= C G  C

DP=  D  A  D

EP=  E  B E 

FP= F  C  F

GP= G  D  G

A= A  E  A

BP# = B  F B  (tritone power chord)

Then it holds that 


ANY NOTE OF ANY CONSECUTIVE 4 NOTES OF THE SCALE  of notes exist on all 7 chords .

ANY OF THE 7 POWER CHORD OF THE SCALE HAS AT LEAST ONE POINT IN ANY 4 CONSECUTIVE  NOTES OF THE SCALE!

AND THE COSNECUTIVE QUATRAPLES  ARE THE  MINIMAL NUMBER FOR POWER CHORDS, WITH THIS PROPERTY FOR ALL 7 CHORDS (ANY CHORD PROGRESSION). 

Thursday, November 5, 2026

507: WHY ANY PAIR OF NOTES OF A DIATONIC SCALE AT A DISTANCE OF A WHOLE TONE CAN BE USED AS ALTERNATING DRONES FOR ANY MELODY OF THE SCALE.

 Let su take for example, the C major scale.

Then all teh 4-voices chords are the next


Cmaj7= C E G B

Dm7=  D F A C 

Em7=  E G B D

Fmaj7= F A C E

Gmaj7= G B D F

Am7= A C E G

Bdim7= B D F A


we notice that any of the 7 chromatic pairs (all pairs of distance of a 2nd) 

C-D

D-E

F-G

G-A

A-B

B-C  (semitone)

E-F  (semitone) 

exist in ALL OF THE 7 CHORDS!

Thus by choosing any of these 4 chromatic pairs, and alternating the notes so that at the time of any chord, the drone notes exist in the underlying chord, we can drone any melody of the diatonic scale.

For each song , it does not matter which pair we use, and each pair can be used for all songs. 

Of course, when we have transposition to another scale, still another pair is needed.

Or if instead of A natural minor, we transpose to A harmonic minor (g# ) or double harmonic minor (d#, g#) , then a 3rd or a forth note is needed. E.g, (G, G#, A) fo A harmonic minor

or ( D, D#, E) also. 

If we use only 3 notes classical chords

C= C E G 

Dm=  D F A 

Em=  E G B 

F= F A C 

G= G B D 

Am= A C E 

Bdim= B D F 

We notice that all the same  pairs exist in all chords except one. 

C-D

D-E

F-G

G-A

A-B

Nevertheless, the next triads of notes exist on all 7 chords

C-D-E or B-C-D

D-E-F

E-F-G

G-A-B or F-G-A

A-B-C

In other words ALL consecutive 3-notes of the scale.


That any consecutive pair of notes of a diatonic scale can be used as bass-drone 9alternating appropriatly the two notes) can be also derived from teh nexttheorem

LET ANY PAIR OF 2 CONSECUTIVE NOTES OF A DIATONIC SCALE. THEN ANY NOTE OF THE DIATONIC SCALE, EITHER IS CONTAINED IN THE PAIR OR IT SHAPES A CONSONANT INTERVAL (3RD OR 6TH , 5TH OR 4TH) WITH ONE OF THE NOTES OF THE PAIR. 

506. HOW TO CREATE DRONE HARMONY OF ONLY 2 NOTES DIFFERING BY A WHOLE TONE ONLY ON ANY MELODY IN A PENTATONIC SCALE.

 Let us take e.g. the A minor pentatonic

A-C-D-E-G-A , this is actually 2 3-notes parts in semitones 3-2 (A-C-D, and E-G-A) "divorced" or in conjunction by a whole tone D-E.

so (3-2)-2-(3-2). 

Then any melody will be harmonized by Am or C major. 

The two possibilities give drones A and G, which is exactly what we require. 

The 2nd possibility is the pair of notes C and D because they also exist in all 4 chords of the pentatonic scale.

The 4 chords of the pentatonic scale are shaped by the 1st 2nd and 3rd voice of any melody and are the chords

 Am, C, CP, GP, where CP =(C,G,C) and GP=(G,D,G) 


2nd voice=C,  E, G,  G,  C

1st voice = A, C,  D, E, G 

3rd voice= E,  A,  G, C,  C


NEVERTHELESS if we extend to 3 consecutive notes of the pentatonic, then ANY such triad will work for isokratic continuous bass!  This verifies the counterpoint melodies theorem of the 3 consecutive notes also for the pentatonic scale.

ALSO THE NEXT HOLDS

LET ANY PAIR OF 2 CONSECUTIVE NOTES OF THE PENTATONIC  SCALE. THEN ANY NOTE OF THE PENTATONIC  SCALE, EITHER IS CONTAINED IN THE PAIR OR IT SHAPES A CONSONANT INTERVAL (3RD OR 6TH , 5TH OR 4TH) WITH ONE OF THE NOTES OF THE PAIR. 

Wednesday, November 4, 2026

505. HOW TO PROJECT A CHORD PROGRESSION AND CHORD TRANSITIONS TO A DRONE COUNTER-MELODY WITH LESS NOTE CHANGES AND PAIRS OF ONE TONE DISTANCE.

Obviously, there are many methods for this. But here is one simple method of minimalistic distances among the notes and of not more notes than chords (simplicial counter melody).

We partiction the chord progressin in to pairs , so each pair will be a chromatic, melodic, or harmonic transition

1) If we have a harmonic chord transition e.g. G7->C, then we correspond to notes, the 3rd of the G, which is d, and the 1st of the C which is c. This G7->C will project to  d->c . This is a 1 tone distance of notes or a chromatic pair of notes (distance of 2nds)

2) If we have a chromatic chord transition, e.g. C->Dm, then simply we project to the roots c->d. An even more minimal pait would be e->f which is a minor 2nd or 1 semitone! 

3) If we have a melodic transition e.g. G-> Em, then we simply project to the root of the minor here E and to the 5th of the major here D  again D->e, which is a 2nd distance, thus a melodic pair of notes. 

Friday, September 25, 2026

504. HOW TO CREATE A MELODIC RIFF STRUCTURE WHICH IS MORE STABLE AND LOOPING (OSTINATO) THAN THE CHORD PROGRESSION CHANGES.

 This method usually requires , that the song be played at a single diatonic scale (tone)

The idea is to create a stable simplicity, much more stable than the chord progression of the song. It is a similar idea with the simplicity of the triangulation improvisation discussed in post 498. But here the elements of simplicity are not power chords (no 3rds) of tonal, subdominant, and dominant, but only a riff of 2-3 or 4 notes of the scale, that repeats in a monotone way as bridges between chords. It is the chords that modulate the last 4th or 5th note of the riff, so the riff gives the illusion that it changes. But it does not change. We only change it when we transpose to another diatonic scale. 


Examples by an unknown to me guitarist 

https://www.facebook.com/groups/592068997525110/permalink/28697706473201319/

https://www.facebook.com/groups/592068997525110/permalink/28697408299897803/

https://www.facebook.com/groups/592068997525110/permalink/28694027193569247/

https://www.facebook.com/groups/592068997525110/permalink/28686143641024269/