Advertisement
Guest User

Untitled

a guest
Apr 14th, 2014
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. for (int i = 0; i < bufferLength; i++) {
  2. doubleBufferArray[i] = 0.21557895
  3. - 0.41663158
  4. * Math.cos((2 * Math.PI * doubleBufferArray[i])
  5. / (double) (1152 - 1))
  6. + 0.277263158
  7. * Math.cos((4 * Math.PI * doubleBufferArray[i])
  8. / (double) (1152 - 1))
  9. - 0.083578947
  10. * Math.cos((6 * Math.PI * doubleBufferArray[i])
  11. / (double) (1152 - 1))
  12. + 0.006947368
  13. * Math.cos((8 * Math.PI * doubleBufferArray[i])
  14. / (double) (1152 - 1));
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement