CowboyRobot
Given all of these parameters, there were still many thousands of combinations. Applying the Markov chain limited that a lot, but that was only to make it sound like Chopin (which it did, a little). However, most of the thousands of combinations sound like crap, which is not an insignificant point. If you're willing to call some random sequence of notes a melody, then there are an infinite number
That said, one trick I learned was to always scan the local news looking for local businesses who recently got grants or some other windfall of funding. I assumed (usually correctly) that they would spend some of that windfall on building or revamping their website. I got some good long-term work that way. It was a cold call, but one with research behind it