Difference between revisions of "Sound notifications"

From wikieduonline
Jump to navigation Jump to search
 
(5 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 14: Line 19:
 
* <code>[[ping -a]]</code>
 
* <code>[[ping -a]]</code>
 
* [[Alerts and notifications]]
 
* [[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: