Difference between revisions of "Sound notifications"

From wikieduonline
Jump to navigation Jump to search
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  
<code>[[tput bel]]
+
* <code>[[tput bel]]</code>: <code>while true; do tput bel; sleep 1; done</code>
  [[paplay]]
+
  [[paplay]] command
 
  [[echo -e]] '\a'
 
  [[echo -e]] '\a'
  [[printf]] '\7'</code>
+
  [[printf]] '\7'
 +
 
 +
[[macOS]]
 +
[[terminal-notifier]] -sound default -message "Your notification text!"
 +
 
 +
[[PowerShell]]
 +
[[Write-Host]] -NoNewLine "`a"
  
 
== Related ==
 
== Related ==
 
* [[Zenity]]
 
* [[Zenity]]
* [[notify-send]]
+
* <code>[[notify-send]]</code>
* sudo apt-get install [[undistract-me]]
+
* <code>apt-get install [[undistract-me]]</code>
* 2018,  pip install [[ntfy]]
+
* 2018,  <code>pip install [[ntfy]]</code>
 +
* [[Amazon Polly]]
 +
* <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: