noise generator with sine function