RosettaCodeData/Task/Play-recorded-sounds/UNIX-Shell/play-recorded-sounds.sh
2023-07-01 13:44:08 -04:00

8 lines
169 B
Bash

#!/usr/bin/sh
# play.sh
# Plays .au files.
# Usage: play.sh <recorded_sound.au>
cat $1 >> /dev/audio # Write file $1 to the speaker's Character Special (/dev/audio).