At the moment this is pretty rubbish, cause I've tossed this together in half an hour at 3 in the morning, but I guess I wanted to document the dev cycle just in case anyone still visits my account. I'm not dead.
Changelog: v0.1: Added entirely randomized note pitches and durations to fit a certain length. C major scale only one supported v0.2: Added checks to see if melody harmonizes on consecutive notes v0.3: Added bass notes v0.4: Added checks to base and treble compatibility v0.5: Added basic beat, improved rhythm checking, introduced rests Future update plans: Code generation More advanced music theory (other scales, accidentals) Make it look cooler