Re: Distorted System Sounds
Re: Distorted System Sounds
- Subject: Re: Distorted System Sounds
- From: email@hidden
- Date: Sat, 13 Apr 2002 20:49:19 +0200
On samedi, avril 13, 2002, at 07:08 , Mike O'Connor wrote:
I've taken a bunch of system sounds from my OS9 system and moved them
into
aiff files for OSX. But when playing these sounds, SOME apps don't play
them
well, they are extremely distorted and loud. These sounds all play fine
when
they are set as the alert sound and the system plays them. But when an
application, including the Cocoa app I'm writing, plays them, they are
distorted.
Is the system running these sounds through a process to bring the
amplitude
down before playing? My app, and I assume the others that show this
problem,
simply plays via
[[NSSound soundNamed:@"MySoundName"] play];
The NSSound APIs only supports a very restricted type of AIFF sounds.
Playing other type of AIFF will lead to what you're hearing.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.