Goaslicer: WIP

This is a goa slicer effect (a gapper, basically). The last bit that needs to be done is to get the parameters to work smoothly. So far I have had no luck. The trickiest parameter is the period parameter since it sounds best when using values between 2 and 32 that are a power of two.

Does anyone have any suggestions? Any help would be great.

slope_pos is double so you schould compare with a double 0.0 or just 0 (the compiler does a good job her) 
Se same one row above.