Re: do shell sounds
Re: do shell sounds
- Subject: Re: do shell sounds
- From: Axel Luttgens <email@hidden>
- Date: Fri, 26 Dec 2008 19:01:33 +0100
Le 26 déc. 08 à 18:33, David Marshall a écrit :
On Dec 26, 2008, at 10:56 AM, Robert Poland wrote:
David,
afplay /Users/rpoland/Documents/clutter/Sounds/click.aiff
Error: ExtAudioFileOpen failed ('wht?')
I guess I'm out of my depth here.
I experimented with the System sound Glass.aiff, moving a copy to
various locations within my home directory, and had no problem
playing it either directly from the command line or via do shell
script.
I was also able to use afplay to play .mp3 files, but ran into an
identical error with some OS 9 Sound Files, and a similar error
(Error: ExtAudioFileOpen failed ('dta?') with some other file types.
Information on ExtAudioFileOpen errors is pretty sparse, and I'm not
sure I'd understand it even if the three-letter identifiers were
defined somewhere findable.
They may be found in this header file:
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/Headers/
AudioFile.h
Sadly, kAudioFileUnspecifiedError (the symbolic name for the string
"wht?") means: "An unspecified error has occurred"... :-(
Axel _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden