• 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: Timedelay between NAPlayNote and Sound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Timedelay between NAPlayNote and Sound


  • Subject: Re: Timedelay between NAPlayNote and Sound
  • From: Doug Wyatt <email@hidden>
  • Date: Sat, 4 Aug 2001 09:10:08 -0700

It's true, as Bill wrote, that Project Builder/gcc's generated code is significantly slower when not optimized. It's hard to imagine that it would be 200 ms slower, however. Does turning on the optimizer make a difference?

I can't think of a good explanation. If you'd like to send me the CodeWarrior and gcc-built versions of your app, I'd like to investigate on 10.0.4 and 10.1.

Doug


on 3/8/01 3:00 AM, email@hidden wrote:
Hello again,

I ported my app from 9 to X by using Carbon and MIDIServices. Another
strange effect occurs: When compiling my app with CodeWarrior under OS 9 and
run it in OS X there is "no" delay between NAPlayNote and its response
(Sound). If the app is compiled with the Project Builder (Carbon Framework
and Quicktime Framework) there is a delay of about 200ms between NANotePlay
and the Sound. I would like to use the Quicktime Instruments as an
alternative sound source for people without (expensive) MIDI sound module.
Does anybody know the reason for this difference?

Have a nice day,
Helga

--
Doug Wyatt
work: email@hidden (CoreAudio)
personal: email@hidden http://www.sonosphere.com

"When you discard arrogance, complexity, and a few other things that get in
the way, sooner or later you will discover that simple, childlike, and
mysterious secret known to those of the Uncarved Block: Life is Fun."
-- The Tao of Pooh


References: 
 >Re: Timedelay between NAPlayNote and Sound (From: Bill Stewart <email@hidden>)

  • Prev by Date: Re: Latency Paper
  • Next by Date: Where is CoreAudio (aka Getting started...)?
  • Previous by thread: Re: Timedelay between NAPlayNote and Sound
  • Next by thread: Latency Paper
  • Index(es):
    • Date
    • Thread