smml¶ ↑
simple Music Macro Language to MIDI
Installation¶ ↑
Add this line to your application's Gemfile:
gem 'smml'
And then execute:
$ bundle
Or install it yourself as:
$ gem install smml
Usage¶ ↑
in a ruby script,
m=Smml.new m.compile('infile.mml','outfile.mid')
Or exec command. smml to mid (file to mid, mml data to mid, syntax, help)
$ smml -i infile.mml -o out.mid $ smml -d "cdefgab" -o out.mid $ smml -s $ smml -h
mml2smml (file to smml, mml data to smml, mml data to mid)
$ mmlsmml -i infile.mml > smmlfile $ mmlsmml -d "cdefgab" > smmlfile $ mmlsmml -d "cdefgab" -o out.mid
Contributing¶ ↑
-
Fork it ( github.com/[my-github-username]/smml/fork )
-
Create your feature branch (
git checkout -b my-new-feature
) -
Commit your changes (
git commit -am 'Add some feature'
) -
Push to the branch (
git push origin my-new-feature
) -
Create a new Pull Request