class object with methods for playing a random note or bar with two random notes
install mingus:
pip install mingus
install fluidsynth:
brew install fluid-synth
download a soundfond and fill its path in into solfege.py
.
For instructions see:
https://bspaans.github.io/python-mingus/
https://bspaans.github.io/python-mingus/doc/wiki/tutorialFluidsynth.html
it is recommended to instantiate the class object and call its methods through the python command line interface rather than running the code in an IDE.