• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Distorted System Sounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Distorted System Sounds
      • From: "Mike O'Connor" <email@hidden>
References: 
 >Distorted System Sounds (From: "Mike O'Connor" <email@hidden>)

  • Prev by Date: Re: Best way to save this doc?
  • Next by Date: Next Fonts to Mac
  • Previous by thread: Distorted System Sounds
  • Next by thread: Re: Distorted System Sounds
  • Index(es):
    • Date
    • Thread