Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myokoym/mml2wav
MML (Music Macro Language) to WAV audio converter by pure Ruby.
https://github.com/myokoym/mml2wav
Last synced: 2 days ago
JSON representation
MML (Music Macro Language) to WAV audio converter by pure Ruby.
- Host: GitHub
- URL: https://github.com/myokoym/mml2wav
- Owner: myokoym
- License: mit
- Created: 2015-04-25T09:59:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-14T17:05:26.000Z (over 8 years ago)
- Last Synced: 2024-04-24T08:29:47.030Z (7 months ago)
- Language: Ruby
- Homepage: https://rubygems.org/gems/mml2wav
- Size: 35.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# mml2wav [![Gem Version](https://badge.fury.io/rb/mml2wav.svg)](http://badge.fury.io/rb/mml2wav)
MML (Music Macro Language) to WAV audio converter by pure Ruby.
## Dependencies
* [jstrait/wavefile](https://github.com/jstrait/wavefile)
## 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
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request