This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const beep = () => { | |
const context = new AudioContext(); | |
const oscillator = context.createOscillator(); | |
oscillator.type = "sawtooth"; | |
oscillator.frequency.value = 1200; | |
oscillator.connect(context.destination); | |
oscillator.start(); | |
if (confirm("Появилась запись")) { | |
oscillator.stop(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const beep = () => { | |
const context = new AudioContext(); | |
const oscillator = context.createOscillator(); | |
oscillator.type = "sawtooth"; | |
oscillator.frequency.value = 1200; | |
oscillator.connect(context.destination); | |
oscillator.start(); | |
if (confirm('Появилась запись')) { | |
oscillator.stop(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0eNrEvd2uXDeSrfsuul6rMPlP1kucBzgwNmRbcAlHlgT9FHZjo979zFzWykxncswcH9UbfdPVVk4NkYxgMCIYHPF/3vz64fu7z1/ef/z2v3799On/e/PP/3P5k69v/vn/Xv3n6bevH99+fv726fmPL+9/P/33/37zzxSf3vzX6X/+8/Tm7a9fP334/u3d8+m7z+8//vHmn9++fH/39Ob9b58+/gX39f0fH99+OP3db//1+d2bf755/+3dn2+e3nx8++fpv768ff/hzY70/uPv73bw8J+nyV/59/sv377vf3L+W3998fz/XP3N+J9fnt68+/jt/bf37/76l1/+47/+18fvf/767ssOffnb3/Z/9Y9/fXt++cef3nz+9HX/W58+/pjgc08vM3we7T+n4dzgxDPOr+//eH734d1v3768/+3586cP72ZY2w+sug91X5SP++fvX9bm/7wJp//z5d3v16M9LXNM5TSZP768e/dx+ts+rDcf3+1T+PXT9y+nye5/+stkqMmecmtHU85/E9fzb/96+/7j8w8pTbDKP8rrpP9R9qH+/v7LX7PekSbohSxoqAvrWapez9Nv9+tZ6mw9K1mHuLFlaK6wwjaOhNXRcoa4sJ7tYD3by3pOxjXs+YVyNL+wESmEUJkYwsVO/Pb9y7/f/S6tRP4BG/8OWmagEe2gns9j3vfSdBESt2ZzoMve/vrn2w8fnj+8/fPzDCWch5TFkIqH1PpDpGqKoNW5CKZybdwYzkfXvdGdd5ajH4Pp9CP1iJsli5AfiSIGD6g9BIreqsXNF2lMpiS27osiosMubO2hLAo37HOg6skibA+F0Uyk9BCpc6s+BxqmLAPY82njVjLNRpcCs98XCcTbMyfO4CO3TfNxJqS8BQ4zc02eD7MwcxfgOCtXyvk4G/UFtr+Prs5AO1fKMB3doMfkzejSzNXfuCpOR5cDPCaNpcv0EHEmjA8RZ6ALO2W+ioWaRWfKC/tjPjrfp+o/lKW3v4+vzWA7hx3GtAfeeDvsLGD |