Make your console beep according to the provided frequency and duration.
- Try using Scoop.
- First, add the LPTSTR-Scoop bucket (if you haven't already):
$ scoop bucket add lptstr https://github.com/lptstr/lptstr-scoop
- Now install the application:
$ scoop install conhonk
- First, add the LPTSTR-Scoop bucket (if you haven't already):
- If you aren't interested in using a package manager, just download
painter.exe
from the latest release in the latest releases section.
$ ./conhonk --frequency <freq> --duration <milliseconds>
Option | Short | Default | Description |
---|---|---|---|
--frequency |
-f |
800 | The frequency of the tone to be emitted |
--duration |
-d |
200 | The duration (in milleseconds) of the tone to be emitted |
E.g. To beep for 5 seconds on a frequency of 800, run
$ ./conhonk --frequency 800 --duration 5000
The above could be shortened to:
$ ./conhonk -d 5000
Add this code to somebody's PowerShell profile:
while ($true) {
./conhonk -f 80000 -d 5000
}
- none