Chord - generate Chord/Chord Sequences to MIDI files

Chord Generator (chordTen.py)

A small Python script for download.
Will generate either a single chord or a chord progression, allow the user to name the output and save to the same directory that contains the script itself.
Also gives the option of opening the newly created midi file in MuseScore Studio 4 or Windows Player Legacy


On executing the script a UI screen opens to allow the user to input the first parameters:

The process is fairly intuitive, the user enters the root note of the first chord. Currently the accepted inputs are A,B,C,D,E,F,G plus sharps (#) where music notation is applicable - there is currently no text support to allow input for “flat” notes: With the root selected the user can then select the chord type:

Then the duration can be set (currently 1 = one crotchet/quarter note): Clicking on “Generate Chord” will bring up a prompt to add another chord: If the usere wants to continue building a sequence they repeat the above sequence Once the User chooses to end the input they are presented with an option to give the progression a name Clicking “Okay” will save the MIDI file into the same directory that hosts the script and also options to open the MIDI in either MuseScore Studio 4 or Windows Media Player Legacy

There is currently no progression suggestions, no support for time signatures, no support for triplets = the idea is simply to provide a quick and easy way to get a skeleton of your peice into a mid format for you to use in a DAW


<
Previous Post
Benchmark #5
>
Next Post
Glossary