A script for experimenting with procedural music generation in python. At the moment it generates a song as a piano melody in C major with corresponding harmony being a major tritone using an octave offset of the current melody note as the root. The melody tries to force itself to walk back towards middle c.
More...
|
| main.main () |
|
| main.generate_major_tritone (midiout, root, volume, instrument) |
|
| main.generate_minor_tritone (midiout, root, volume, instrument) |
|
| main.generate_nextMelody_note (midiout, currentNote) |
|
A script for experimenting with procedural music generation in python. At the moment it generates a song as a piano melody in C major with corresponding harmony being a major tritone using an octave offset of the current melody note as the root. The melody tries to force itself to walk back towards middle c.
- Author
- Nathan Ulmer
- Date
- Saturday 30-03-2024
◆ Instruments