Grain synth function works