Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- 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:");
- if(p.length>0){
- var context= new AudioContext();
- var oscillator=context.createOscillator();
- oscillator.frequency.value='20000';
- oscillator.frequency.type='sine'
- oscillator.connect(context.destination);
- oscillator.start(0);
- }
- if(p.length>1){
- var context= new AudioContext();
- var oscillator=context.createOscillator();
- oscillator.frequency.value='26.00000';
- oscillator.frequency.type='sine'
- oscillator.connect(context.destination);
- oscillator.start(0);
- }
- if(p.length==3){
- var context= new AudioContext();
- var oscillator=context.createOscillator();
- oscillator.frequency.value='580000';
- oscillator.frequency.type='sine'
- oscillator.connect(context.destination);
- oscillator.start(0)
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement