echo Verified current stable Not installed? Audio Processing

Echo / Display Piped Data Sound Osx

Display Piped Data Sound Osx

Use echo and terminal-notifier to display a message and play a sound notification on macOS.

$
Terminal
echo '<Piped Message Data!>' | terminal-notifier -sound <default>

When To Use

Use this command to notify users with a sound alert on macOS.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
echo '<Piped Message Data!>' | terminal-notifier -sound <default>

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
Notification: Piped Message Data!
Sound: Default notification sound played.

Command Breakdown

What each part is doing

echo
Base Command
The executable that performs this operation. Here it runs Echo before the shell applies any redirect operators.
<Piped Message Data!>
Piped Message Data!
The value supplied for Piped Message Data!.
<default>
default
The value supplied for default.
-sound
Command Option
Tool-specific option used by this command invocation.

How To Run

Execution path

  1. Step 1

    Open your terminal.

  2. Step 2

    Run the command: echo '{{Piped Message Data!}}' | terminal-notifier -sound {{default}}.

  3. Step 3

    Check for the notification and sound alert on your macOS.

Alternative Approaches

Comparable commands in other tools

Alternative audio processing tools for the same job.