From d788ed758fb2dfeae59c21832ed85139807b0746 Mon Sep 17 00:00:00 2001 From: Diogo Pinela Date: Sat, 16 Nov 2019 22:30:24 +0000 Subject: [PATCH] afplay: add page (#3403) --- pages/osx/afplay.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/osx/afplay.md diff --git a/pages/osx/afplay.md b/pages/osx/afplay.md new file mode 100644 index 0000000000..1035bdb953 --- /dev/null +++ b/pages/osx/afplay.md @@ -0,0 +1,19 @@ +# afplay + +> Command-line audio player. + +- Play a sound file (waits until playback ends): + +`afplay {{path/to/file}}` + +- Play a sound file at 2x speed (playback rate): + +`afplay --rate 2 {{path/to/file}}` + +- Play a sound file at half speed: + +`afplay --rate 0.5 {{path/to/file}}` + +- Play the first N seconds of a sound file: + +`afplay --time {{seconds}} {{path/to/file}}`