Reworked segment-maker.

Implemented instrument transposition.