Difference between revisions of "Sound notifications"

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page Audio to Sound notifications)
 
(7 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 ==
 
* [[Zenity]]
 
* [[Zenity]]
 
* <code>[[notify-send]]</code>
 
* <code>[[notify-send]]</code>
* sudo apt-get install [[undistract-me]]
+
* <code>apt-get install [[undistract-me]]</code>
 
* 2018,  <code>pip install [[ntfy]]</code>
 
* 2018,  <code>pip install [[ntfy]]</code>
 
* [[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: