mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 18:35:28 +02:00
afplay: add page (#3403)
This commit is contained in:
parent
b0f9ecfdb8
commit
d788ed758f
1 changed files with 19 additions and 0 deletions
19
pages/osx/afplay.md
Normal file
19
pages/osx/afplay.md
Normal file
|
@ -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}}`
|
Loading…
Add table
Reference in a new issue