afplay Command Examples

Command-line audio player. More information: https://keith.github.io/xcode-man-pages/afplay.1.html.

afplay {{path/to/file}}

afplay --rate {{2}} {{path/to/file}}

afplay --rate {{0.5}} {{path/to/file}}

afplay --time {{seconds}} {{path/to/file}}