Skip to content

xanderlewis/random-midi-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Random MIDI Generator

Randomly generates musical 'phrases' of any length.

Notes in the phrases are chosen from a scale (within a user-defined octave range) that can be selected or also randomly generated. Note velocities can also be randomly assigned.

DISCLAIMER: This script was written in about 20 minutes during a music tech lesson, so definitely don't expect beautifully elegant code.

Available scales (in any given key)

  • chromatic
  • major
  • natural minor
  • harmonic minor
  • major pentatonic
  • minor pentatonic
  • blues
  • whole tone
  • octaves

This project makes use of the midiutil Python library.

About

Randomly generate musical 'phrases' of any length.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages