return (t%64<32)*(0x7f * (1 + cos(t/8000.0)));