Skip to content

Commit

Permalink
docs(README): added basic save to MIDI info
Browse files Browse the repository at this point in the history
  • Loading branch information
accraze committed Aug 27, 2016
1 parent 54dfb70 commit 8f64384
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Following a process created by the composer Arnold Schoenberg, this library
computes a matrix to create twelve-tone serialism melodies which compose each
of the 12 semitones of the chromatic scale with equal importance.


* Save your compositions to MIDI
* Free software: BSD license

Installation
Expand All @@ -75,6 +75,17 @@ Quick Start
['C# / Db', 'A# / Bb', 'F', 'D', 'G# / Ab', 'D# / Eb', 'F# / Gb',
'A', 'C', 'G', 'B', 'E']

After you have composed a matrix of tone rows, you can save the composition to
MIDI:

::

>>> c.compose()
>>> c.save_to_midi(filename='TWELVE_TONE.mid')

The new MIDI file will be created in your current working directory. If you do
not specify a `filename` for your file, it will default to `example.mid`.

Documentation
=============

Expand Down

0 comments on commit 8f64384

Please sign in to comment.