I'm looking for a way to start playing an audio file (mp3, m4a) as a background task from a shell, and then be able to do things like pause/fast forward at a later time.
Is this possible either using built-in command line options:
$ play audio.mp3 & $ play --pause
Or by way of the player's process ID?
$ play audio.mp3 & echo $! > pid $ control_process $(cat pid) --signal pause
(Examples are illustrational only.)