MTK is a Ruby library and custom domain-specific language (DSL) for generating musical material.
MTK is flexible: You may use the custom music-generating language without writing any Ruby code, or you may avoid the custom language and only program in Ruby, or anywhere in between.
MTK works with Ruby 1.9, Ruby 2.0, and JRuby 1.7+.
JRuby is recommended for Windows users.
Install
gem install mtk
Or for JRuby:
jgem install jmtk
Learn the command-line interface:
mtk --help
Or for JRuby:
jmtk --help
Learn the MTK syntax with the interactive tutorial by running
mtk -t
Or for JRuby
jmtk -t
Check out examples: https://github.com/adamjmurray/mtk/tree/master/examples
Read the MTK Ruby library documentation
This project is developed by Adam Murray (github.com/adamjmurray).
It is a free and open source project licensed under a permissive BSD-style license. I simply ask for credit by including my copyright in derivative works.
You can learn more about the development of this project at the development notes page.