Difference between revisions of "Sound notifications"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
  [[echo -e]] '\a'
 
  [[echo -e]] '\a'
 
  [[printf]] '\7'
 
  [[printf]] '\7'
 +
 +
[[macOS]]
 
  [[terminal-notifier]] -sound default -message "Your notification text!"
 
  [[terminal-notifier]] -sound default -message "Your notification text!"
 +
 +
[[PowerShell]]
 +
[[Write-Host]] -NoNewLine "`a"
  
 
== Related ==
 
== Related ==
Line 13: Line 18:
 
* [[Amazon Polly]]
 
* [[Amazon Polly]]
 
* <code>[[ping -a]]</code>
 
* <code>[[ping -a]]</code>
 +
* [[Alerts and notifications]]
 +
* <code>[[bip]]</code> [[shell alias]]
 +
* [[Voice]]
 +
* [[Sound proof]]
  
 
== See also ==
 
== See also ==
 
* {{audio}}
 
* {{audio}}
 +
* {{sound}}
  
 
[[Category:Computing]]
 
[[Category:Computing]]

Latest revision as of 06:55, 21 November 2024

  • tput bel: while true; do tput bel; sleep 1; done
paplay command
echo -e '\a'
printf '\7'

macOS

terminal-notifier -sound default -message "Your notification text!"

PowerShell

Write-Host -NoNewLine "`a"

Related[edit]

See also[edit]

Advertising: