Skip to content

Instantly share code, notes, and snippets.

View bushaev-denis's full-sized avatar

Denis Bushaev bushaev-denis

View GitHub Profile
This file has been truncated, but you can view the full file.
@bushaev-denis
bushaev-denis / kdmid.js
Last active May 3, 2024 05:35
Kdmid calendar notify has available record
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();
}
@bushaev-denis
bushaev-denis / midpass.js
Last active April 6, 2024 14:09
Midpass calendar notify has available record
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();
}