Turns out what I had to do is this:
currentPlayState.gfSpeed = 2;
I had to put "currentPlayState" in front of "gfSpeed" in order to get it working in modcharts.