Ouroboros
Guide overviewVoice LeadingScripting
ManagerUpdate firmware
ContentsWhat is Voice Leading?
What is Voice Leading?Minimum motionMaximum motionRandom assignment and poolsRecording the rowsOctaves and reference
  1. What is Voice Leading?
  2. Minimum motion
  3. Maximum motion
  4. Random assignment and pools
  5. Recording the rows
  6. Octaves and reference

Voice Leading

Define a chord progression and let the Voice Leading algorithm find melodic lines through its notes. Try the examples to hear how each voice connects from one chord to the next.

See the module screens →

Audio examplesready
Audio settings
BPM96
Gate78%

What is Voice Leading? #

With Voice Leading, you choose the chords and Ouroboros finds melodies through their notes. Each line follows one voice across the progression. Choose how the algorithm connects the notes, then hear each line become a recorded loop.

I first started thinking about this while trying to make an album with a Korg Monotron Delay. It could play only one note at a time, so I built a looper and started layering that one voice over itself.

That immediately created another problem: what should the notes be? Playing roots, then thirds, then fifths sounded rigid. Pure random order lost the harmony. But rearranging every chord so nearby notes stayed in the same row created simple melodies, while the accumulated rows still rebuilt the chords.

That recipe became the norns script Acrostic and, eventually, Voice Leading in Ouroboros. One row plays for the whole progression, the module records it, and then the next row is captured into another retained loop. A voice-leading diagram turns into actual audio.

Minimum motion #

Minimum motion connects each new chord to the existing voices with the smallest total movement around the pitch-class circle. Common tones tend to stay put and nearby notes connect, making smooth melodies across the rows.

Keep neighboring notes together #

Read an output row from left to right to see one complete melody. Ouroboros plays and records that row for the full chord progression before moving to the next one.

Loading score engines…

Chord columns

AmFCG
AFCG
CAEB
ECGD

Voice rows

VoiceAmFCGMotion
Waiting for the voice-leading engine…
0 recorded loops10.00 s each

Maximum motion #

Maximum motion uses the same assignment idea but rewards the largest available pitch-class jumps. The harmony stays recognizable while the individual rows become much less polite.

Pull the voices apart #

Each destination note still gets exactly one voice. The voices take larger jumps between columns.

Loading score engines…

Chord columns

AmFCG
AFCG
CAEB
ECGD

Voice rows

VoiceAmFCGMotion
Waiting for the voice-leading engine…
0 recorded loops10.00 s each

Random assignment and pools #

Random assignment shuffles the available notes into rows. Enable several algorithms to let Ouroboros choose one for each new generation.

Deterministic random rows #

Reroll advances to the next seeded shuffle. The same seed produces the same rows, so you can reproduce an assignment.

Loading score engines…

Chord columns

AmFCG
AFCG
CAEB
ECGD

Voice rows

VoiceAmFCGMotion
Waiting for the voice-leading engine…
0 recorded loops10.00 s each

Let Ouroboros choose #

Minimum, maximum, and random are enabled here. Ouroboros chooses one algorithm for the whole generation. The seed makes that choice reproducible.

Loading score engines…

Chord columns

AmFCG
AFCG
CAEB
ECGD

Voice rows

VoiceAmFCGMotion
Waiting for the voice-leading engine…
0 recorded loops10.00 s each

Recording the rows #

Ouroboros plays and records the first row for the full progression. It then records the next row while the first plays back in Auto mode. The harmony builds one voice at a time. Use Manager’s Score editor to prepare your own progression, or follow the quick start to patch the module.

Build the chord one loop at a time #

Press Play layers to hear the rows accumulate. Row one plays first; another joins after each full progression, until the generation is complete.

Loading score engines…

Chord columns

AmFCG
AFCG
CAEB
ECGD

Voice rows

VoiceAmFCGMotion
Waiting for the voice-leading engine…
0 recorded loops10.00 s each

Octaves and reference #

Voice Leading connects pitch classes before choosing octaves. Spread the rows across registers to give the progression bass, middle, and upper lines.

The rows become registers #

The preview below shows the pitch and octave Ouroboros will use for each recorded line.

Loading score engines…

Chord columns

AmFCG
AFCG
CAEB
ECGD

Voice rows

VoiceAmFCGMotion
Waiting for the voice-leading engine…
0 recorded loops10.00 s each

Algorithms

ModeAssignment
minimumHungarian assignment minimizes circular pitch motion
maximumHungarian assignment maximizes circular pitch motion
randomseeded one-to-one shuffle; no cost optimization

Voice Leading limits

LimitValue
collections16 chords or note collections
notes8 notes per collection
retained loops6 recorded layers
loop time36 seconds

Input examples

TextMeaning
Am F C Gfour chord symbols
Bbmaj7 C7b9extensions and accidentals
C/E F/Aslash-bass chords
c4e4g4 d4f4a4explicit note collections

Runtime order

StageWhat happens
1parse chord pitch classes and tuning positions
2assign pitch classes to voice rows
3place each row in an octave register
4record one full-progression row per loop

Made by Infinite Digits with Maneco Labs.

Deployed with Disco.

Acknowledgements

All rights reserved.

Instagram

Interactive controls could not load. Retry loading controls.