Arch
Crescendo → climax → diminuendo
A serial-array composition and synthesis environment inspired by the opening of Milton Babbitt’s Semi-Simple Variations (1956). Explore combinatorial arrays, independent rhythmic voices, timbral transformations and musical form — then shape the complete result with a global dynamic arc.
The script constructs a four-line combinatorial pitch array and realizes it as a synthesized composition. Its Historical / Analytical model uses a restrained interpretation of documented structures, while its Creative Combinatorial model adds independent rhythmic voices, register and spatial organization, gesture development, complementary spectra, and large-scale form. Both feed a shared event table for sound, visualization, diagnostics, and MusicXML.
Eight foundational and four Creative configurations, from the opening array to evolving multi-cycle textures.
Use a fixed tempo, or request a target number of seconds and let the script compute tempo.
Protect the four SATB parts with standard or custom ranges, preserving pitch class by octave placement.
Add an optional composition-wide arch, inverse arch, crescendo, or diminuendo.
Retain a score as a Praat Strings object or save it as a MusicXML file for notation software.
Check serial integrity, rhythmic structures, event ranges, duration, audio levels and MusicXML consistency.
Babbitt_s_Combinatorial_Arrays.praat.Presets select structural, rhythmic, synthesis and/or form defaults. The main-form duration and Global Dynamic Arc settings remain under user control; presets do not overwrite them.
The encoded opening hexachord, four-line array and original partition order; a restrained Historical / Analytical realization.
A new ordering with interval classes 1–5 exhausted once, a new exhaustive rhythmic order and Creative realization.
Retains opening pitch organization while using the retrograde-complement time-point transformation.
Foregrounds related trichord classes with associative rearticulation, bright timbre and optional trichord halos.
Adds a second array cycle that extends the corresponding voice lines into 12-tone secondary sets.
Opening, secondary-set and four derived cycles; includes checked hybrid-cycle construction and trichord halos.
Multi-cycle derived structures projected into structural partial-slot timbre, in the Creative realization model.
Open combinatorial hexachord selection, a valid array operation, variable entry order, fresh rhythm and percussive synthesis.
Independent rhythmic voices, structural distribution, spatial organization and gesture-based counterpoint.
Complementary spectral groups derived from each active aggregate, with independent voices and spectral-form development.
Independent voices with a changing time-point path, partition-half segmentation and a contrasting temporal plan.
A multi-cycle form derived from the array’s structural roles, with independent rhythm, gestures, spectra, space and responsive relations.
New in v0.5.4: the main form lets you choose between Tempo mode and Target duration mode. Each structural cycle occupies 16 quarter-note beats (four 4/4 measures). The number of cycles is determined by the structural settings, and the new duration feature does not insert or remove cycles automatically.
musical_duration_seconds = 16 × cycles × 60 / tempo_bpm
target_mode_tempo_bpm = 16 × cycles × 60 / target_duration_seconds
| Mode | User controls | What happens |
|---|---|---|
| Tempo (default) | Tempo BPM (default 60) | Legacy behavior. The composition’s musical duration follows from tempo and cycle count; the Target duration field is ignored. |
| Target duration | Target duration (s) (default field value 120) | The script computes the effective tempo without rounding the timing internally. Tempo BPM is ignored. The number of cycles and the events’ structural positions are unchanged. |
Combinatorial Morphogenesis defaults to one basic cycle, one Secondary Sets cycle and four derived cycles: 6 cycles × 16 = 96 beats.
If a requested duration requires a tempo outside 20–300 BPM, Praat shows a dialog with the reachable duration range and options to change the requested duration or the number of derived cycles, or to cancel.
The Global Dynamic Arc is measured as a fraction of musical time. If you set 180 seconds and a turning point of 65%, the requested turning point is at approximately 117 seconds, irrespective of the resulting tempo.
New in v0.5.4: voice range protection is enabled by default. Each Soprano, Alto, Tenor and Bass note is fitted to an octave within that voice’s allowed range. This avoids extreme high Bass or low Soprano notes in both synthesis and MusicXML.
| Voice | Default range | MIDI min–max | Purpose |
|---|---|---|---|
| Soprano (S) | C4–A5 | 60–81 | Higher voice band |
| Alto (A) | G3–E5 | 55–76 | Middle-high voice band |
| Tenor (T) | C3–A4 | 48–69 | Middle-low voice band |
| Bass (B) | E2–E4 | 40–64 | Lower voice band |
Illustrative shared MIDI scale; overlapping SATB ranges are intentional.
Open Edit details → Details 2/2: realization. Use Voice range protection on/off and Voice range profile Standard SATB or Custom. Custom values are entered as four min–max MIDI pairs in S–A–T–B order:
60-81 55-76 48-69 40-64
Each range must lie within MIDI 21–108 and span at least 11 semitones so every pitch class has a possible octave. Invalid custom ranges stop the run with an explanation. When protection is off, the script reverts to the broad MIDI 21–108 behavior for instrumental or experimental realizations.
The optional Global Dynamic Arc adds an overarching loudness trajectory to the completed synthesized mix. It does not restart at aggregate or cycle boundaries, and it does not change the array, timing, voice allocation or original event-level articulations and dynamics.
Crescendo → climax → diminuendo
Diminuendo → valley → crescendo
Long-range crescendo
Long-range diminuendo
| Main-form field | Default | Meaning |
|---|---|---|
| Dynamic arc | None | None, Arch, Inverted arch, Rising or Falling. With None the global envelope is not applied. |
| Arc range (dB) | 18 | Attenuation span (0–36 dB). The arc rises to 0 dB at its loudest point and attenuates other sections; it does not add gain above unity. |
| Turning point (%) | 62% | Where Arch reaches its climax or Inverted arch reaches its minimum (5–95%). Ignored for Rising, Falling and None. |
The transition curves use smooth raised-cosine shapes. A single envelope table in composition time drives both the sample-level audio gain and the MusicXML dynamic directions and playback values.
output(t) = synthesized_mix(t) × 10^(arc_dB(t) / 20)
S = P 10 6 11 | 8 7 9
A = RI 2 4 3 | 0 5 1
T = R 9 7 8 | 11 6 10
B = I 1 5 0 | 3 4 2 (I = I11)
The ordered P hexachord 10 6 11 8 7 9 has successive interval classes 4, 5, 3, 1 and 2. Its segmental trichords include the set classes 015, 025, 014 and 012. Each vertical aggregate covers all twelve pitch classes.
Opening hexachord; Type-A generator with successive ICs 1–5 exhausted once; or any compatible combinatorial hexachord searched by the script.
An optional second cycle transforms each voice line by retrograde-plus-combinatorial operation, extending the line to a 12-tone secondary set.
Additional cycles partition the aggregate using a segmental trichord and transposition/inversion forms. The hybrid join is checked for repeated pitch classes within voice lines.
Each aggregate is checked for chromatic completion; each voice line is checked for six distinct pitch classes where required. A failed structural gate prevents output.
The 16 partition symbols denote rhythmic types, not binary numbers. The opening order is:
Z 5 4 X 3 T 9 Y | 7 1 E 6 2 8 W 0
Examples of the decoded patterns (four sixteenths):
5 = 1100 3 = 0010 T = 0011 8 = 0110
The full collection contains all 16 four-position patterns exactly once, with 32 attacks in the composite stream. Retrograde, complement, order reversal and within-quarter mirroring act on the decoded attack patterns, not on symbol numbers. The opening’s two eight-quarter halves contain 18 and 14 attacks respectively.
Composite stream: time points from a single composite series are assigned to voices, with repeated attacks added according to the selected rearticulation strategy. Independent rhythmic voices (Creative): each voice follows its own transformed partition series. The aggregate is constrained to an eight-quarter window; simultaneous attacks are possible and elaborations may restate only pitch classes already introduced by that voice.
The Creative gesture engine varies elaboration through neighbouring notes, echo, pedal, contour and imitation strategies. Its form engine works with roles such as exposition, relay monody, density, spectral texture, withheld completion and revelation. The responsive layer can continue, transform, develop or contrast a previous cycle; it remains an algorithmic compositional model, not a claim of historical authorship.
Available timbres include Pure, Additive, Bright, Percussive, Structural partial slots (the earlier model), Complementary spectral and Interval spectral. The complementary spectral model relates upper partials to the active aggregate’s combinatorial groups (S+T against A+B). Creative realization also allows structural dynamics, articulation, stereo spacing and trichord halos.
| Control | Default | Action |
|---|---|---|
| Preset | Opening Model | Select one of the 12 preset configurations. |
| Duration mode | Tempo | Choose user-specified tempo or target-duration calculation. |
| Tempo BPM | 60 | Active in Tempo mode only (20–300 BPM). |
| Target duration (s) | 120 | Active in Target mode only; the effective tempo is computed from cycle count. |
| Register centre MIDI | 60 | Reference centre for register strategies, before optional SATB octave fitting. |
| Dynamic arc | None | None / Arch / Inverted arch / Rising / Falling. |
| Arc range (dB) | 18 | Global attenuation depth (0–36 dB when arc is active). |
| Turning point (%) | 62 | Only for Arch and Inverted arch (5–95%). |
| Write MusicXML file | Off | Prompt to save an actual .musicxml file. |
| Edit details | Off | Open the two advanced dialogs described below. |
| Draw visualization | On | Display the structural picture and QC report. |
| Play result | On | Audition the final Sound. |
| Control | Options / behavior |
|---|---|
| Hexachord source | Opening / Type-A / Any combinatorial. |
| Basic set transposition; Array operation | Transpose P; choose P–RI–R–I, P–I–R–RI, two transpositional partners, or a random valid operation. |
| Secondary sets; Derivation cycles | Enable a secondary cycle; add 0–7 derived cycles. |
| Rhythm | Original, time retrograde, complement, retrograde-complement, quarter-order retrograde, mirror, new exhaustive ordering or Gray path. |
| Aggregate segmentation | 16+16 attacks or partition halves (8+8 quarters). |
| Rearticulation; Associative target | Strict, Grouped or Associative; target 015+012, 025+014, segmental P or current generator. |
| Sample rate; Output peak; Random seed | Default 44,100 Hz; peak 0.95; seed 0 means unpredictable and a positive seed produces reproducible choices. |
| Keep MusicXML Strings | On by default: retain the generated MusicXML lines in a Praat Strings object. |
| Control | Options / behavior |
|---|---|
| Realization | Historical / Analytical or Creative Combinatorial. |
| Form plan | Static, Counterpoint, Spectral, Temporal or Morphogenesis. |
| Voice distribution | Round robin, Shuffled, Structural. |
| Texture | Composite stream or Independent rhythmic voices. |
| Register strategy; Register spread | Fixed, Distributed, Rotating, Structural inversion-axis or From form plan; spread default 10 semitones (0–18). |
| Timbre; Trichord halo | Seven synthesis choices; optional halo chords. |
| Dynamics; Articulation | Flat / Structural dynamics; Uniform / Structural articulation. |
| Space; Channels | Fixed / Complementary / Symmetric / Exchange / Crossing / From form plan; Mono or Stereo. |
| Decay scale | Positive multiplier for sound decay (default 1.0). |
| Voice range protection | On (default) / Off. |
| Voice range profile | Standard SATB (default) / Custom. |
| Custom ranges | Four MIDI min–max pairs, e.g. 60-81 55-76 48-69 40-64. |
The MusicXML exporter reads the same corrected event table as the synthesis and visualization. It writes a four-part score (Soprano, Alto, Tenor and Bass) in 4/4 with four subdivisions per quarter note.
Turn on Write MusicXML file in the main form. Praat opens a save dialog for a .musicxml document. File export happens after structural and final audio QC. Opening the file later in MuseScore Studio or another notation program is a separate step.
Enabled by default in Details 1/2. Produces an in-memory Praat Strings object named like musicxml_babbitt_arrays_SpectralCombinatoriality. Select it in Praat and use Save as raw text file… with a .musicxml extension when a file is needed.
| Feature | Score behavior |
|---|---|
| Pitch and octave | The MIDI pitch from the shared event table, including SATB range corrections where active. No separate octave correction is applied during XML writing. |
| Rhythm | Notated values follow the realized event’s written duration; rests, ties, barline splitting and articulation markings are generated as needed. |
| Voice structure | Four monophonic parts with 4/4 measures and cycle/line labels. A part may contain rests. |
| Tempo | Quarter-note metronome marking and MusicXML <sound tempo="…">. Target mode retains higher precision in playback tempo. |
| Local dynamics | Dynamic directions and score playback levels are derived from event dynamics. |
| Global Dynamic Arc | Visible crescendo/diminuendo <wedge> directions, dynamic indications and note playback levels use the shared envelope. The hairpin turning point is placed on the nearest sixteenth-note grid position. |
| Extra synthesized layers | Trichord halos and timbral partials are sound-design layers and are not independently notated as vocal parts. |
With Draw visualization enabled, the Praat Picture window shows a multi-panel structural analysis of the actual event stream. Some panels appear only when their corresponding feature is active.
Four-voice piano roll: note spans, dynamics, new entries, rearticulations, aggregates and actual register.
Decoded attack/rest patterns for the composite stream; plan and rhythmic structure for independent voices.
Opening or derived structures, line forms and aggregate relationships.
Distribution of successive surface trichord classes, with targets highlighted.
Stereo event panning or mono event-level dynamics.
Measured spectral centroid for each aggregate, from the rendered sound.
Shown for the older Structural partial-slot timbre.
Polyphony, simultaneity, rhythmic independence and spectral distance across cycles.
Shown when an arc is active: requested curve, measured gain and smoothed output RMS.
Pitch-class and aggregate integrity, corrected rhythm, within-voice ranges, pitch agreement with XML, audio limits and other validation results.
The Info window records the full event table, musical and rendered durations, effective BPM, SATB generated ranges and octave corrections, the arc’s theoretical turning point and measured gain, plus structural and listening-oriented metrics (such as sounding polyphony and gesture diversity). A failed structural self-test stops the run; an aesthetic metric is reported as evidence, not treated as an objective musical-quality verdict.
| Output | Description |
|---|---|
| Sound | Final synthesized mono or stereo realization, named for the selected preset/run. |
| Praat Picture | Event score and optional analytical panels including the arc view. |
| Info window | Structural provenance, event log, register checks, durations, dynamic-arc measurement and QC. |
| Strings | MusicXML lines retained in memory when Keep MusicXML Strings is on. |
.musicxml | Optional file saved through the main-form Write MusicXML file control. |
| Symptom | What to check |
|---|---|
| Requested duration cannot be reached | The required BPM may be outside 20–300. Follow the dialog to change target seconds or derived-cycle count. |
| Custom SATB range rejected | Enter eight numbers as S/A/T/B min–max pairs, each within MIDI 21–108 and spanning at least 11 semitones. |
| Unexpected register or voice crossings | SATB protects each individual range but does not prohibit crossing. Turn protection off only for experimental register freedoms. |
| Dynamic arc appears absent | Check that Dynamic arc is not None and Arc range is greater than 0 dB; inspect panel I and Info gain measurements. |
| MusicXML file is not written | Check that Write MusicXML file is on, the save dialog was completed, required write permission was granted, and QC passed. Alternatively save the Strings object later. |
| Different dynamics in MuseScore | Continuous audio gain and score-playback hints are different representations; playback interpretation depends on the notation software. |
Recommended use: analyze the serial constraints in the Historical model, then use the Creative model to explore contrasting interpretations of the same structures. Evaluate the result by listening as well as by the available structural and signal measurements; a high numerical score alone does not establish musical quality.