Is it possible to write a faceless but scriptable application in Xcode? Or simply write a scripting addition in Xcode? (ok, maybe the latter is not very necessary)
The reason why I need this is that currently in AS there’s no command to play a sound file. In ASS, however, we can. Therefore it’s logical to write something in ASS and tell it to play a sound file.
I know there’re several implementations already available, but other than Jon’s Commands, they all seem to have a non-free license. I want to use this in my free app (GPL’ed).
I tried Jon’s command but can’t make it work on Panther. It gave me an “end of file” error when trying to play an aiff file from /System/Library/Sounds/.
Yup I read that thread. Using QT or Xcode would fire up another app just to play sound, which is not what I want. Play Sound background app is nice (I actually tried and it works), but I didn’t see anywhere on their site saying it’s free to be distributed - I’d like to use it in my GPL’ed app.
I should have made this clearer - I want to play sound from command-line or from an AS script, not from an ASS app. And I’d like to play any sound file that’s playable using QT. Playing sound is just part of my program, so I don’t want another app to be fired up (at least visually) just to play sound.