Sequence length and midi output handled