simplified conditions, made new glissandos on the quarters
Added up and down, could be more efficient, i.e. one function