Batch Beeps

Some kids at my school have created some sort of command prompt to where it plays beeps at different pitches to create almost what one would call music. I was quite amazed by this and was wondering if anyone else knew how to make these sounds? All I know is that command prompt is involved. Thanks :)

sort by: active | newest | oldest
1-10 of 24Next »
Zane Studios10 months ago

nircmd utility...

will4216 years ago
I have a sneaking suspicion that he used VBS instead of BAT.
will421 will4216 years ago
*they
Laserman5957 years ago
i dont recomend this but

type
@echo off
title Alarm Clock
:start
cls
color f0
echo.
echo Use 24 hour clock
echo.
set /p a=Set Alarm:
cls
echo.
echo Alarm set to %a%.
:alarm
if %time:~0,5% EQU %a% goto alarmset
goto alarm
:alarmset
color fc
echo
echo
echo
cls
echo.
echo It's %time:~0,5%!
echo.
echo Press 1 to acknowledge.
choice /n /c:12 /t:2,1
if errorlevel 2 goto alarmset
if errorlevel 1 goto sleep
goto alarmset
:sleep
goto start


It was supposed to be a simple timer but when i typed in 8:31 it went crazy it made a bunch of loud random beeps and displayed

"  " is not reconized as an internal command
What is the actual line that makes the beep?
@echo off
title Alarm Clock
:start
cls
color f0
echo.
echo Use 24 hour clock
echo.
set /p "a=Set Alarm:"
cls
echo.
echo Alarm set to %a%.
:alarm
if %time:~0,5% EQU %a% goto alarmset
goto alarm
:alarmset
color fc
echo .
echo .
echo .
cls
echo.
echo It's %time:~0,5%!
echo.
echo Press 1 to acknowledge.
choice /n /c:12 /t:2,1
if errorlevel 2 goto alarmset
if errorlevel 1 goto sleep
goto alarmset
:sleep
goto start

i know you at least need this instead of what you have
maybe 8:30:00 or 08:30:00 would work?
Well, when it says 24 hour clock...

HOW 'BOUT YA USE A 24 HOUR CLOCK!

Haha, 8:31 won't work, type in 20:31 instead.
ya um if it truly is a 24-hour clock 8:31 would still work or at least 08:31 (wich I also tried) or are you trying to make yourself fell better over your failed batch?
24-hour clock means, like, what the army uses.

Get to your post at seventeen hundred hours!

Familiar? 8:30 would be translated 20:30.
1-10 of 24Next »