samples @
Hz
/* code here */ /* input is i=0.., return -1..1 */ return Math.sin(i/50);