1. Pitch and Notes
- Pitch: The perceived frequency of a sound, determining how high or low it sounds.
- Notes: Specific pitches identified by letters (A, B, C, D, E, F, G). These repeat in octaves (e.g., C4 to C5 doubles the frequency).
- Sharps (#) and Flats (b): Alter a note’s pitch up (#) or down (b) by a half step (e.g., C to C# or C to Bb).
- Natural (♮): Cancels a sharp or flat, returning to the original pitch.
- Chromatic Scale: All 12 pitches within an octave (e.g., C, C#, D, D#, E, F, F#, G, G#, A, A#, B).
- Diatonic Scale: A seven-note subset, like the major or minor scale (e.g., C major: C, D, E, F, G, A, B).
Relevance to ComposerX: The Melody Agent generates single-line melodies using pitches in ABC notation, ensuring they fit the specified key (e.g., C major) and adhere to phrase structures.
2. Scales and Keys
- Scale: A sequence of notes ordered by pitch, forming the basis of melodies and harmonies.
- Major Scale: Sounds bright and happy (e.g., C major: C-D-E-F-G-A-B-C).
- Minor Scale: Sounds darker or sadder (e.g., A minor: A-B-C-D-E-F-G-A).
- Key: The tonal center of a piece, based on a scale (e.g., a piece in C major uses the C major scale as its foundation).
- Key Signature: Indicates the key by specifying sharps or flats at the start of a score.
Relevance to ComposerX: The Group Leader Agent assigns the key (e.g., C major for a Vintage French Chanson) to guide the Melody and Harmony Agents in generating coherent pitches.
3. Intervals
- Interval: The distance between two pitches, measured in half steps or whole steps.
- Half Step: Smallest interval (e.g., C to C#).
- Whole Step: Two half steps (e.g., C to D).
- Types:
- Major/Minor: Based on size and quality (e.g., C to E is a major third, C to Eb is a minor third).
- Perfect: Found in octaves, fifths, and fourths (e.g., C to G is a perfect fifth).
- Role: Intervals form the building blocks of scales, chords, and melodies.
Relevance to ComposerX: The Harmony Agent uses intervals to construct chord progressions and counterpoints, ensuring harmonic coherence with the melody.
4. Chords
- Chord: Three or more notes played simultaneously.
- Triads: Basic chords with three notes (root, third, fifth):
- Major: Root + major third + perfect fifth (e.g., C-E-G).
- Minor: Root + minor third + perfect fifth (e.g., A-C-E).
- Chord Progressions: Sequences of chords (e.g., C-Am-Dm-G) that provide harmonic structure.
- Seventh Chords: Add a fourth note (e.g., C-E-G-Bb for C7), adding complexity.
Relevance to ComposerX: The Harmony Agent generates chord progressions (e.g., C, Am, Dm, G for a prompt) in ABC notation, supporting the melody and enhancing polyphonic texture.
5. Rhythm
- Rhythm: The pattern of sounds and silences over time.
- Beat: The steady pulse underlying music (like a metronome).
- Tempo: Speed of the beat, measured in beats per minute (BPM).
- Time Signature: Indicates beats per measure and note value (e.g., 4/4 means four quarter-note beats per measure).
- Note Values:
- Whole note (4 beats), half note (2 beats), quarter note (1 beat), eighth note (1/2 beat), etc.
- Rests indicate silence for equivalent durations.
- Syncopation: Emphasizing off-beats for rhythmic interest.
Relevance to ComposerX: The Melody Agent incorporates rhythm in ABC notation, adhering to the specified tempo and time signature (e.g., slow tempo for a nostalgic chanson).
6. Harmony
- Harmony: The combination of simultaneous pitches, typically via chords, to support a melody.
- Consonance vs. Dissonance: Consonant harmonies sound stable (e.g., C major chord); dissonant ones create tension (e.g., C-E-G#).
- Counterpoint: Multiple independent melodic lines (voices) woven together, as in polyphonic music.
- Cadences: Chord progressions that conclude a phrase or section (e.g., G7 to C for a perfect cadence).
Relevance to ComposerX: The Harmony Agent adds counterpoints and harmonic layers, but the document notes challenges with cadential resolution, where compositions may lack conclusive endings.
7. Melody
- Melody: A sequence of pitches forming a recognizable tune, often the most memorable part of a piece.
- Phrasing: Dividing a melody into smaller, cohesive segments (phrases), often 4 or 8 bars long.
- Motif: A short, recurring melodic idea that gives a piece unity.
- Contour: The shape of a melody’s pitch movement (e.g., ascending, descending, or arch-shaped).
Relevance to ComposerX: The Melody Agent ensures clear phrase divisions and prominent ending notes, aligning with user-specified attributes like style or emotion.
8. Form and Structure
- Form: The overall organization of a piece (e.g., verse-chorus, ABA).
- Sections: Common divisions include intro, verse, chorus, bridge, and outro.
- Repetition and Contrast: Balancing repeated themes with new material to maintain interest.
- Bar/Measure: A segment of time defined by the time signature, containing a set number of beats.
Relevance to ComposerX: The Group Leader assigns the number of bars (e.g., 16 bars for a chanson), and the Arrangement Agent compiles the final structure in ABC notation.
9. Instrumentation
- Instrumentation: The choice of instruments to play a piece, affecting its timbre and mood.
- Timbre: The unique sound quality of an instrument (e.g., bright violin vs. warm upright bass).
- Range: The pitch span an instrument can play (e.g., contrabass: C2 to F4).
- Role: Instruments may play melody, harmony, or rhythm (e.g., accordion leads, bass supports).
Relevance to ComposerX: The Instrument Agent assigns instruments (e.g., accordion, violin, upright bass) but may struggle with note range compliance, as noted in the document.
10. Notation
- Musical Notation: A system to visually represent music.
- Staff: Five lines where notes are placed to indicate pitch.
- Clef: Defines pitch ranges (e.g., treble clef for higher pitches, bass clef for lower).
- ABC Notation: A text-based format used by ComposerX to represent pitch, rhythm, and instrumentation (e.g., C D E F for a melody in C major).
- Purpose: Allows musicians to read and perform music accurately.
Relevance to ComposerX: All musician agents (Melody, Harmony, Instrument) output in ABC notation, with the Arrangement Agent standardizing the final format for readability.
11. Expression and Dynamics
- Dynamics: Volume levels (e.g., forte (f) = loud, piano (p) = soft).
- Articulation: How notes are played (e.g., staccato = short, legato = smooth).
- Expression: Conveying emotion through phrasing, dynamics, and tempo changes.
- Tempo Markings: Indicate mood or style (e.g., adagio = slow, allegro = fast).
Relevance to ComposerX: The document notes limitations in capturing subtle expression (e.g., emotional depth), which affects the system’s ability to mimic human-like nuance.
12. Musical Genres and Styles
- Genre: Categories like classical, jazz, pop, or calypso, each with distinct conventions.
- Style: Specific characteristics within a genre (e.g., Vintage French Chanson within folk).
- Attributes: User prompts in ComposerX specify genre, style, and mood (e.g., nostalgic, breezy).
Relevance to ComposerX: The Group Leader interprets genre and style from prompts (e.g., “Breezy Caribbean Calypso”) to guide agent tasks, ensuring stylistic accuracy.
Applying Music Theory in ComposerX
ComposerX leverages these music theory basics to generate symbolic music:
- User Prompts: Specify key, tempo, chords, instruments, and style (e.g., “C major, slow tempo, C-Am-Dm-G progression”).
- Agent Roles:
- Melody Agent: Crafts melodies with clear phrases, using scale degrees and rhythmic patterns.
- Harmony Agent: Builds chords and counterpoints, aligning with the key and progression.
- Instrument Agent: Assigns timbres, considering range and role.
- Challenges (from the document):
- Inter-Voice Alignment: Polyphonic music requires precise coordination of multiple voices, which text-based LLMs struggle with.
- Cadential Resolution: Difficulty achieving conclusive endings due to LLMs’ linear processing.
- Nuance: Limited ability to convey dynamic contrasts or emotional depth.
Practical Example
For a prompt like “Vintage French Chanson in C major, slow tempo, 16 bars, with accordion, violin, upright bass, chords C, Am, Dm, G” (Page 2):
- Group Leader: Assigns C major key, slow tempo, and the chord progression to agents.
- Melody Agent: Composes a nostalgic melody in C major, using quarter and eighth notes in 4/4 time, with clear 4-bar phrases.
- Harmony Agent: Adds chords (C, Am, Dm, G) and a violin counterpoint in ABC notation.
- Instrument Agent: Assigns accordion for melody, violin for counterpoint, and upright bass for harmonic support.
- Reviewer Agent: Suggests adjusting the melody’s phrasing for more romance or correcting bass notes exceeding F4.
- Arrangement Agent: Compiles the final ABC notation, ensuring proper format.
Resources for Learning More
- Books: “Tonal Harmony” by Kostka and Payne or “The Complete Musician” by Laitz.
- Online: Websites like musictheory.net or Berklee College of Music’s free courses.
- Practice: Try composing simple melodies in ABC notation using tools like EasyABC or MuseScore.
This overview provides a foundation for understanding music theory and its application in systems like ComposerX. If you’d like a deeper dive into any topic (e.g., chord progressions, ABC notation), let me know!