8000 Add Pythonista chord progression research helper by ChitlinLoaf · Pull Request #5 · ChitlinLoaf/LongWriter · GitHub
[go: up one dir, main page]

Skip to content

Add Pythonista chord progression research helper - #5

Draft
ChitlinLoaf wants to merge 1 commit into
mainfrom
codex/research-chord-progressions-in-pythonista
Draft

ChitlinLoaf wants to merge 1 commit into
mainfrom
codex/research-chord-progressions-in-pythonista

Conversation

@ChitlinLoaf
Copy link
Copy Markdown
Owner

Motivation

  • Provide a small, standalone research tool for exploring chord progressions and functional harmony in Python/Pythonista.
  • Model basic music-theory concepts (scales, diatonic triads, Roman numerals, and functional roles) to make progression generation explicit.
  • Offer an easy-to-run script for experimenting with keys, modes, and progression lengths for educational or prototyping use.

Description

  • Add a new script pythonista_chord_progression_research.py that implements the tool as a standalone module.
  • Introduce a Chord dataclass and constants for note names, scale steps, and Roman numerals.
  • Implement build_scale, diatonic_triads, describe_functional_harmony, suggest_progressions, format_progression, and main to generate and display progressions.
  • Provide a simple functional-flow rule engine where tonic, predominant, and dominant roles guide allowed chord transitions.

Testing

  • No automated tests were run for this change (script-only addition).

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0