Document Type
Musical Score
Publication Date
8-10-2025
Abstract
Background
Jazz method books often advise students to “learn it in all keys,” yet most present examples in only one or two keys (if that, as they start from C, the easiest key, and usually stop there). For many "classically-trained" players—especially those who check fingerings, enharmonics, and voice-leading by reading—the absence of complete, notated materials is a barrier. While most scales can be internalized as Whole (W) / Half (H) step patterns, important exceptions (e.g., harmonic and melodic minor, octatonic, whole tone, and blues) are aided by having notated patterns in front of us.
Aims
To generate clear, consistent notation-first worksheets for common jazz scales in every key; to display each scale’s step pattern beneath the notes; and to automate transposition and engraving so practice and self-checking require no manual setup.
This is part of a long-term journey to become fluent in jazz improvisation by incorporating AI to automate the boring parts so I can focus on practicing (and listening).
Methods
A generative engraving pipeline -- using GKT (my initials) the author and Chat-GPT5 -- was implemented with Abjad (3.25) for score construction and LilyPond for rendering. Scales are defined once (rooted on C) using W/H patterns, with explicit handling of exceptions (e.g., W+H in harmonic minor; alternating H–W / W–H for octatonic; all-whole steps for whole tone; fixed pitch sets for blues and pentatonics). The program transposes to any pitch class, selects a sensible key signature (major/minor), beams eighths, prints the scale/chord label at bar start, and inserts a system break after every second measure to yield two scales per staff line.
Evaluation
Correctness was checked across 12 keys by (a) verifying pitch sequences and step labels against scale definitions, (b) confirming first notes begin on beat one with complete measures, (c) inspecting enharmonic spelling under the chosen key signature, and (d) informal practice trials to assess readability and page economy.
These 12-key versions are all provided as downloadable and printable scores.
Results
My tool automatically produces full worksheets per key for major and modes, melodic and harmonic minor, whole tone, octatonic (half–whole and whole–half), blues, and pentatonic scales. Each chart shows two scales per system with embedded W/H patterns, enabling musicians to practice and check their knowledge in every key—addressing a persistent gap in jazz pedagogy where materials rarely show all keys.
Acknowledgments
This work was inspired in part by the Jamey Aebersold play-along series and its long-standing emphasis on practicing in all keys. His Jazz Handbook is a genius work that should be studied by all musicians (not just those interested in jazz).
Recommended Citation
Thiruvathukal, George K.. Jazz Scale Patterns with Abjad and Lilypond. , , : , 2025. Retrieved from Loyola eCommons, Computer Science: Faculty Publications and Other Works, http://dx.doi.org/10.6084/m9.figshare.29887028.v3
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.
Copyright Statement
© The Author(s), 2025.
jazz_scales_abjad_A.pdf (57 kB)
jazz_scales_abjad_Aflat.ly (16 kB)
jazz_scales_abjad_Aflat.pdf (57 kB)
jazz_scales_abjad_B.ly (16 kB)
jazz_scales_abjad_B.pdf (57 kB)
jazz_scales_abjad_Bflat.ly (16 kB)
jazz_scales_abjad_Bflat.pdf (57 kB)
jazz_scales_abjad_C.ly (16 kB)
jazz_scales_abjad_C.pdf (56 kB)
jazz_scales_abjad_D.ly (16 kB)
jazz_scales_abjad_D.pdf (56 kB)
jazz_scales_abjad_Dflat.ly (16 kB)
jazz_scales_abjad_Dflat.pdf (57 kB)
jazz_scales_abjad_E.ly (16 kB)
jazz_scales_abjad_E.pdf (56 kB)
jazz_scales_abjad_Eflat.ly (16 kB)
jazz_scales_abjad_Eflat.pdf (56 kB)
jazz_scales_abjad_F.ly (16 kB)
jazz_scales_abjad_F.pdf (56 kB)
jazz_scales_abjad_G.ly (16 kB)
jazz_scales_abjad_G.pdf (57 kB)
jazz_scales_abjad_Gflat.ly (16 kB)
jazz_scales_abjad_Gflat.pdf (58 kB)
Included in
Artificial Intelligence and Robotics Commons, Composition Commons, Music Practice Commons, Music Theory Commons

Comments
Author Posting © The Author(s), 2025. The music is available open access on Figshare: https://doi.org/10.6084/m9.figshare.29887028.v3. The source code is available open access on Github: https://github.com/gkthiruvathukal/jazz-patterns.