Last active
March 17, 2024 15:35
-
-
Save davewilson/5612674 to your computer and use it in GitHub Desktop.
Super Mario Theme in PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Play-Mario { | |
[System.Console]::Beep(659, 125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(167); | |
[System.Console]::Beep(523, 125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(784, 125); | |
[System.Threading.Thread]::Sleep(375); | |
[System.Console]::Beep(392, 125); | |
[System.Threading.Thread]::Sleep(375); | |
[System.Console]::Beep(523, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(392, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(330, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(440, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(494, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(466, 125); | |
[System.Threading.Thread]::Sleep(42); | |
[System.Console]::Beep(440, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(392, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(784, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(880, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(698, 125); | |
[System.Console]::Beep(784, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(523, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(587, 125); | |
[System.Console]::Beep(494, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(523, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(392, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(330, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(440, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(494, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(466, 125); | |
[System.Threading.Thread]::Sleep(42); | |
[System.Console]::Beep(440, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(392, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(784, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(880, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(698, 125); | |
[System.Console]::Beep(784, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(523, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(587, 125); | |
[System.Console]::Beep(494, 125); | |
[System.Threading.Thread]::Sleep(375); | |
[System.Console]::Beep(784, 125); | |
[System.Console]::Beep(740, 125); | |
[System.Console]::Beep(698, 125); | |
[System.Threading.Thread]::Sleep(42); | |
[System.Console]::Beep(622, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(167); | |
[System.Console]::Beep(415, 125); | |
[System.Console]::Beep(440, 125); | |
[System.Console]::Beep(523, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(440, 125); | |
[System.Console]::Beep(523, 125); | |
[System.Console]::Beep(587, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(784, 125); | |
[System.Console]::Beep(740, 125); | |
[System.Console]::Beep(698, 125); | |
[System.Threading.Thread]::Sleep(42); | |
[System.Console]::Beep(622, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(167); | |
[System.Console]::Beep(698, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(698, 125); | |
[System.Console]::Beep(698, 125); | |
[System.Threading.Thread]::Sleep(625); | |
[System.Console]::Beep(784, 125); | |
[System.Console]::Beep(740, 125); | |
[System.Console]::Beep(698, 125); | |
[System.Threading.Thread]::Sleep(42); | |
[System.Console]::Beep(622, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(167); | |
[System.Console]::Beep(415, 125); | |
[System.Console]::Beep(440, 125); | |
[System.Console]::Beep(523, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(440, 125); | |
[System.Console]::Beep(523, 125); | |
[System.Console]::Beep(587, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(622, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(587, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(523, 125); | |
[System.Threading.Thread]::Sleep(1125); | |
[System.Console]::Beep(784, 125); | |
[System.Console]::Beep(740, 125); | |
[System.Console]::Beep(698, 125); | |
[System.Threading.Thread]::Sleep(42); | |
[System.Console]::Beep(622, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(167); | |
[System.Console]::Beep(415, 125); | |
[System.Console]::Beep(440, 125); | |
[System.Console]::Beep(523, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(440, 125); | |
[System.Console]::Beep(523, 125); | |
[System.Console]::Beep(587, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(784, 125); | |
[System.Console]::Beep(740, 125); | |
[System.Console]::Beep(698, 125); | |
[System.Threading.Thread]::Sleep(42); | |
[System.Console]::Beep(622, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(167); | |
[System.Console]::Beep(698, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(698, 125); | |
[System.Console]::Beep(698, 125); | |
[System.Threading.Thread]::Sleep(625); | |
[System.Console]::Beep(784, 125); | |
[System.Console]::Beep(740, 125); | |
[System.Console]::Beep(698, 125); | |
[System.Threading.Thread]::Sleep(42); | |
[System.Console]::Beep(622, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(167); | |
[System.Console]::Beep(415, 125); | |
[System.Console]::Beep(440, 125); | |
[System.Console]::Beep(523, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(440, 125); | |
[System.Console]::Beep(523, 125); | |
[System.Console]::Beep(587, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(622, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(587, 125); | |
[System.Threading.Thread]::Sleep(250); | |
[System.Console]::Beep(523, 125); | |
[System.Threading.Thread]::Sleep(625); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Love it!
I'm working on adjusting some of the pauses, but note-wise this is beautiful 👍