Filter pitches for melodic composition