First attempt at implementing the VAR and RANDOM modifiers
Fix cutoff during note on in rare cases