New defines

There is now a class defining dynamics a Note can receive.
MidiWriter update

The class is now able to write time signature, key signature and tempo in the midi file.