ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: beep

beep(0) produces a brief Windows default beep sound.

beep(0, 1) produces a Windows default "Asterisk" sound.
beep(0, 2) produces a Windows default "Exclamation" sound.
beep(0, 3) produces a Windows default "Critical Stop" sound.
beep(0, 4) produces a Windows default "Question" sound.

beep(1, freq, dur) produces a sine tone with frequency freq [Hz] and duration dur [ms] using Windows API.