MML (Music Macro Language) to WAV audio converter by pure Ruby.
Dependencies
Installation
$ gem install mml2wav
Usage
$ mml2wav XXX.mml
Or
$ echo 'MML TEXT' | mml2wav
Suppoted MML features
do re mi...
| MML | doremi |
|---|---|
| c | do |
| d | re |
| e | mi |
| f | fa |
| g | so |
| a | la |
| b | si |
length
| MML | length |
|---|---|
| c4 | 1/4 (default) |
| c8 | 1/8 |
| c16 | 1/16 |
| c. | 1.5 times longer than default |
signs
| MML | mean |
|---|---|
| r | rest |
| t90 | BPM |
| l4 | default length |
| o4 | octave |
| < | up octave |
| down octave
License
MIT License. See LICENSE.txt for details.
Contributing
- Fork it
- 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 new Pull Request