I reworked the piece above a bit to benefit it and put my program's contrapuntal technique more on display. It starts out with the input melody. Then, after it sounds once, that same melody sounds again with two voices added. Then, to bring things to a close, it sounds third time in the presence of four other voices.