Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 02-23-2006, 11:05 AM   #1
ArtemisG3
Triple-A Player
 
Join Date: Feb 2002
Posts: 149
Play sound without gui app?

I'm wondering if there is a way to open/play an audio file without a GUI application (iTunes, Quicktime, etc.). I'm wanting to open the file from the command line or a shell script.
ArtemisG3 is offline   Reply With Quote
Old 02-23-2006, 11:25 AM   #2
pink
Major Leaguer
 
Join Date: Jul 2002
Location: Germany
Posts: 441
Google is your friend:
Play[www.hieper.nl]

cheers, pink
__________________
"And what have we got in here ? - Ahh, things.." (Louis (2), inspecting kitchen cupboards.)
pink is offline   Reply With Quote
Old 02-23-2006, 11:35 AM   #3
ArtemisG3
Triple-A Player
 
Join Date: Feb 2002
Posts: 149
Thanks, that might work. I was hoping for something built into the OS.
ArtemisG3 is offline   Reply With Quote
Old 02-23-2006, 02:40 PM   #4
cradom
Major Leaguer
 
Join Date: Nov 2002
Location: south-east texas
Posts: 282
What kind of file? The finder can play most sounds. Set to column view and have preview on. It's actually Quicktime but it doesn't open the player, plays right in the finder.
__________________
Craig
2009 21" iMac Core2Duo 16gb mem - 10.9.4
2010 13" Macbook 8gb mem - 10.9.4
cradom is offline   Reply With Quote
Old 02-23-2006, 03:14 PM   #5
ArtemisG3
Triple-A Player
 
Join Date: Feb 2002
Posts: 149
Any audio file. I don't want to use the Finder, or any other application. It's for a series of audible alerts that get played over the PA at work (break time, lunch time, etc.). I'll use crontab or launchd then to schedule them.

Aside from this project, I have been wondering how to add audio playback to a shell script anyway. Pink's link to play will do what I need.
ArtemisG3 is offline   Reply With Quote
Old 02-23-2006, 03:46 PM   #6
guardian34
All Star
 
Join Date: Jul 2004
Posts: 713
It looks like Play would be better for ArtemisG3, but I'll point this out as well: Play Sound
guardian34 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 05:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.