mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-26 14:26:10 +01:00
Add play-happy-birthday.ps1
This commit is contained in:
parent
2918d30249
commit
783ccc5d40
@ -150,6 +150,7 @@ open-file-explorer.ps1, starts the Microsoft File Explorer
|
||||
open-recycle-bin.ps1, starts the File Explorer with the recycle bin folder
|
||||
play-beep.ps1, plays a beep sound
|
||||
play-files.ps1, plays the given audio files
|
||||
play-happy-birthday.ps1, plays the Happy Birthday song
|
||||
play-mission-impossible.ps1, plays the Mission Impossible theme
|
||||
play-m3u.ps1, plays the given playlist (M3U file format)
|
||||
play-mp3.ps1, plays the given sound file (MP3 file format)
|
||||
|
Can't render this file because it has a wrong number of fields in line 79.
|
@ -12,6 +12,7 @@ Mega Collection of PowerShell Scripts
|
||||
* [list-voices.ps1](Scripts/list-voices.ps1) - lists the installed text-to-speech (TTS) voices
|
||||
* [play-beep.ps1](Scripts/play-beep.ps1) - plays a beep sound
|
||||
* [play-files.ps1](Scripts/play-files.ps1) - plays the given audio files
|
||||
* [play-happy-birthday.ps1](Scripts/play-happy-birthday.ps1) - plays the Happy Birthday song
|
||||
* [play-mission-impossible.ps1](Scripts/play-mission-impossible.ps1) - plays the Mission Impossible theme
|
||||
* [play-m3u.ps1](Scripts/play-m3u.ps1) - plays the given playlist (M3U file format)
|
||||
* [play-mp3.ps1](Scripts/play-mp3.ps1) - plays the given sound file (MP3 file format)
|
||||
|
42
Scripts/play-happy-birthday.ps1
Normal file
42
Scripts/play-happy-birthday.ps1
Normal file
@ -0,0 +1,42 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
play-happy-birthday.ps1
|
||||
.DESCRIPTION
|
||||
Plays the Happy Birthday song
|
||||
.EXAMPLE
|
||||
PS> .\play-happy-birthday.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz
|
||||
License: CC0
|
||||
#>
|
||||
|
||||
[System.Console]::Beep(1059.274, 300)
|
||||
[System.Console]::Beep(1059.274, 200)
|
||||
[System.Console]::Beep(1188.995, 500)
|
||||
[System.Console]::Beep(1059.274, 500)
|
||||
[System.Console]::Beep(1413.961, 500)
|
||||
[System.Console]::Beep(1334.601, 950)
|
||||
|
||||
[System.Console]::Beep(1059.274, 300)
|
||||
[System.Console]::Beep(1059.274, 200)
|
||||
[System.Console]::Beep(1188.995, 500)
|
||||
[System.Console]::Beep(1059.274, 500)
|
||||
[System.Console]::Beep(1587.117, 500)
|
||||
[System.Console]::Beep(1413.961, 950)
|
||||
|
||||
[System.Console]::Beep(1059.274, 300)
|
||||
[System.Console]::Beep(1059.274, 200)
|
||||
[System.Console]::Beep(2118.547, 500)
|
||||
[System.Console]::Beep(1781.479, 500)
|
||||
[System.Console]::Beep(1413.961, 500)
|
||||
[System.Console]::Beep(1334.601, 500)
|
||||
[System.Console]::Beep(1188.995, 500)
|
||||
[System.Console]::Beep(1887.411, 300)
|
||||
[System.Console]::Beep(1887.411, 200)
|
||||
[System.Console]::Beep(1781.479, 500)
|
||||
[System.Console]::Beep(1413.961, 500)
|
||||
[System.Console]::Beep(1587.117, 500)
|
||||
[System.Console]::Beep(1413.961, 900)
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user