Advertisement
BrU32

Untitled

Mar 1st, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. <script>
  2. var p=prompt("Enter:1 For 26Mhz Jammer Enter:2 For 58Mhz Jammer And 3 For 200Mhz You can Enter 12 for two or 123 to run all three concurrently:");
  3. if(p.length>0){
  4. var context= new AudioContext();
  5. var oscillator=context.createOscillator();
  6. oscillator.frequency.value='20000';
  7. oscillator.frequency.type='sine'
  8. oscillator.connect(context.destination);
  9. oscillator.start(0);
  10. }
  11. if(p.length>1){
  12. var context= new AudioContext();
  13. var oscillator=context.createOscillator();
  14. oscillator.frequency.value='26.00000';
  15. oscillator.frequency.type='sine'
  16. oscillator.connect(context.destination);
  17. oscillator.start(0);
  18. }
  19. if(p.length==3){
  20. var context= new AudioContext();
  21. var oscillator=context.createOscillator();
  22. oscillator.frequency.value='580000';
  23. oscillator.frequency.type='sine'
  24. oscillator.connect(context.destination);
  25. oscillator.start(0)
  26. }
  27. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement