• 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: NSSound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSound


  • Subject: Re: NSSound
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 15 Jun 2001 18:17:39 +0200

On jeudi, juin 14, 2001, at 07:14 PM, Vince DeMarco wrote:

On Thursday, June 14, 2001, at 06:04 AM, Steven Abner wrote:

I've converted a "snd" resorce from a ResEdit file into a standard .aiff file.
The sound works fine in iTunes, QuickTime, and a couple of other programs.
I then load the sound using one of two methods available by NSSound, both methods
work. Documentation states data understood is in only three formats; one being AIFF.
One sound seems to work fine but several others are "overmodulated" or distorted,
ie. not the same as the original. Does anyone have a solution to get sounds into
Cocoa since old SoundManager and ResEdit loading functions don't work.

NSSound currently only understands uncompressed AIFF files.

Little note from my various tests:

I've finally succeeded in converting a .snd to a .aiff.

I used the format found in /System/Library/Sounds folder:

AIFF
16 bits
44.1 KHz
Encoding PCM

after having tried other formats.

It seems you can't get a working AIFF file with SndConverterPro.

SoundApp PPC can produce this kind of AIFF.

I haven't tried other Mac OS 9 Software.


References: 
 >Re: NSSound (From: Vince DeMarco <email@hidden>)

  • Prev by Date: Re: Cocoa an Resource Forks
  • Next by Date: Re: Detecting Keydowns
  • Previous by thread: Re: NSSound
  • Next by thread: Stupid code or bug in NSBezierPath (or Quartz who knows ?)
  • Index(es):
    • Date
    • Thread