音调调整了下 完整的铃儿响叮当- @echo off&setlocal enabledelayedexpansion
- set "a1=x3 33 23 13 x12 x3 33 23 13 y12 y3 43 33 23"
- set "a2=z12 53 53 43 23 312"
- set "a3=54 52 53 53 63 53 43 23 112"
- set "a4=33 33 36 33 33 36 33 53 14 22 312 43 43 46 43 33 36"
- set "a5=33 23 23 13 26 56"
- set "a6=53 53 34 22 112"
- for %%a in (x60 y72 z84 190 2102 3114 4120 5132 6144 7156) do (
- set str=%%a
- set "H!str:~,1!=!str:~1!0"
- )
- for %%a in (%a1% %a2% %a1% %a3%) do (
- set str=%%a
- for %%b in ("!str:~,1!") do nircmd beep !H%%~b! !str:~1!00
- )
- for %%a in (%a4% %a5% %a4% %a6%) do (
- set str=%%a
- for %%b in ("!str:~,1!") do nircmd beep !H%%~b! !str:~1!00
- )
- pause
复制代码
|