Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.5: Use a built-in command line audio player' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Use a built-in command line audio player
Authored by: luigi193 on Oct 03, '08 02:25:11PM
"Is there a way to play the audio without having to keep the terminal window open?"

You can by putting an "&" at the end of the file. FOR EXAMPLE:
afplay /Users/Moo/Music/4 Tom Sawyer.mp3 &

You will then see this: [1] (random number) 63955
The song will then play in the background. You can stop by typing the word kill and the number it returns FOR EXAMPLE:
kill 63955

or you can more simply type in
killall afplay

to stop everything without having to worry about the number!
Hope that helps!

[ Reply to This | # ]