Add play-tetris-melody.ps1

This commit is contained in:
Markus Fleschutz 2021-08-18 09:53:49 +02:00
parent 013ef8f119
commit cd77e28e04
2 changed files with 116 additions and 1 deletions

View File

@ -12,5 +12,5 @@
License: CC0
#>
& "$PSScriptRoot/close-program.ps1" "Microsoft OneDrive" "onedrive.exe" "onedrive.exe"
& "$PSScriptRoot/close-program.ps1" "Microsoft OneDrive" "onedrive" "onedrive.exe"
exit 0

View File

@ -0,0 +1,115 @@
[System.Console]::Beep(1320,500)
[System.Console]::Beep(990,250)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(1188,250)
[System.Console]::Beep(1320,125)
[System.Console]::Beep(1188,125)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(990,250)
[System.Console]::Beep(880,500)
[System.Console]::Beep(880,250)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(1320,500)
[System.Console]::Beep(1188,250)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(990,750)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(1188,500)
[System.Console]::Beep(1320,500)
[System.Console]::Beep(1056,500)
[System.Console]::Beep(880,500)
[System.Console]::Beep(880,500)
start-sleep -milliseconds 250
[System.Console]::Beep(1188,500)
[System.Console]::Beep(1408,250)
[System.Console]::Beep(1760,500)
[System.Console]::Beep(1584,250)
[System.Console]::Beep(1408,250)
[System.Console]::Beep(1320,750)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(1320,500)
[System.Console]::Beep(1188,250)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(990,500)
[System.Console]::Beep(990,250)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(1188,500)
[System.Console]::Beep(1320,500)
[System.Console]::Beep(1056,500)
[System.Console]::Beep(880,500)
[System.Console]::Beep(880,500)
start-sleep -milliseconds 500
[System.Console]::Beep(1320,500)
[System.Console]::Beep(990,250)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(1188,250)
[System.Console]::Beep(1320,125)
[System.Console]::Beep(1188,125)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(990,250)
[System.Console]::Beep(880,500)
[System.Console]::Beep(880,250)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(1320,500)
[System.Console]::Beep(1188,250)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(990,750)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(1188,500)
[System.Console]::Beep(1320,500)
[System.Console]::Beep(1056,500)
[System.Console]::Beep(880,500)
[System.Console]::Beep(880,500)
start-sleep -milliseconds 250
[System.Console]::Beep(1188,500)
[System.Console]::Beep(1408,250)
[System.Console]::Beep(1760,500)
[System.Console]::Beep(1584,250)
[System.Console]::Beep(1408,250)
[System.Console]::Beep(1320,750)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(1320,500)
[System.Console]::Beep(1188,250)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(990,500)
[System.Console]::Beep(990,250)
[System.Console]::Beep(1056,250)
[System.Console]::Beep(1188,500)
[System.Console]::Beep(1320,500)
[System.Console]::Beep(1056,500)
[System.Console]::Beep(880,500)
[System.Console]::Beep(880,500)
start-sleep -milliseconds 500
[System.Console]::Beep(660,1000)
[System.Console]::Beep(528,1000)
[System.Console]::Beep(594,1000)
[System.Console]::Beep(495,1000)
[System.Console]::Beep(528,1000)
[System.Console]::Beep(440,1000)
[System.Console]::Beep(419,1000)
[System.Console]::Beep(495,1000)
[System.Console]::Beep(660,1000)
[System.Console]::Beep(528,1000)
[System.Console]::Beep(594,1000)
[System.Console]::Beep(495,1000)
[System.Console]::Beep(528,500)
[System.Console]::Beep(660,500)
[System.Console]::Beep(880,1000)
[System.Console]::Beep(838,2000)
[System.Console]::Beep(660,1000)
[System.Console]::Beep(528,1000)
[System.Console]::Beep(594,1000)
[System.Console]::Beep(495,1000)
[System.Console]::Beep(528,1000)
[System.Console]::Beep(440,1000)
[System.Console]::Beep(419,1000)
[System.Console]::Beep(495,1000)
[System.Console]::Beep(660,1000)
[System.Console]::Beep(528,1000)
[System.Console]::Beep(594,1000)
[System.Console]::Beep(495,1000)
[System.Console]::Beep(528,500)
[System.Console]::Beep(660,500)
[System.Console]::Beep(880,1000)
[System.Console]::Beep(838,2000)
exit 0