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==1){
- //if(p.substring(0,1)=='1'){
- var context= new AudioContext();
- var oscillator=context.createOscillator();
- oscillator.frequency.value='20000000.1';
- oscillator.frequency.type='sine'
- oscillator.connect(context.destination);
- oscillator.start(0);
- }
- if(p.length==2){
- var context= new AudioContext();
- var oscillator=context.createOscillator();
- oscillator.frequency.value='5800000';
- 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='26200000.1';
- oscillator.frequency.type='sine'
- oscillator.connect(context.destination);
- oscillator.start(0)
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment