Coding: Music transformer

Music transformer is a little C++-application I wrote for the research my sister is doing on the topic of medieval music. It takes musical notes from a text file and outputs the same music in a series of different forms: in a different key, only the intervals and only the intervals compared to the first note (both with and without double notes). The final and coolest feature is that it also exports to a series of midi-files.

The interesting part of this program is that it should be correct with music theory. It would be very easy to make a program that regards Cis en Des as the same note (which they are), but from a point of musical theory, this is not correct. Making all the algorithms work totally correct was actually quite an interesting task. Another hard part was the writing of the MIDI-files, which required research into the binary definition of MIDI.