added half-note concatenation for melodies