Sha256: 7a5f9eecc333ecd0151d219793a5605154911048a4376b85832694fb1545d5ec

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

# 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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mml2wav-0.0.6 README.md
mml2wav-0.0.5 README.md
mml2wav-0.0.4 README.md
mml2wav-0.0.3 README.md