I learned Adobe Illustrator in graduate school, and have used it to generate hundreds and hundreds of musical examples over the years. I used to get it for free from IU as part of the (excellent) IUware program, but then I graduated, and my gravy train ran out.1

More...