0.3.1 • Published 4 years ago

mml2smf v0.3.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

MML to Standard MIDI File converter

This utility is created for in-development MIDI synthesizer synthesis.js, but it can be used for general use cases.

The features are very limited for now.

Usage

From command line

$ npm install -g mml2smf

$ mml2smf test.mml
$ mml2smf test.mml -o output.mid
$ mml2smf -m cdefg -o test.mid
$ mml2smf -m "t140 o5l8q7 ccggaag4 ffeeddc4; o4l8 cgegcgeg >b<gfg>b<gc4" -o test.mid

From JavaScript

var mml2smf = require("mml2smf");

var smf = mml2smf("cdefg"); // returns Uint8Array

MML (Music Macro Language)

commandMML
Notesc, d, e, f, g, a, b, +, -
Octaveo[octave], <, > (4)
Note Lengthl[note length] (4)
Tempot[tempo]
Gate Timeq[1-8] (6)
Velocityu[0-127] (100)
Channel Volumev[0-127]
Panp[-64-63]
Expression ControllerE[0-127]
Program Change@[0-127]
Control ChangeB[0-119],[0-127]
Channel AftertouchD[0-127]
Key Shiftk[-127-127] (0)
Set MIDI ChannelC[1-16] (1)
Next Track and MIDI Channel;
Tie^
Comment//..., /*...*/

Development

To launch:

$ npm start

To test:

$ npm run test

License

MIT

Author

Katsuomi Kobayashi (@korinVR / @korinVR_en)

https://framesynthesis.com/

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago