• 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: QuickTime Music Synthesizer + Core Audio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QuickTime Music Synthesizer + Core Audio


  • Subject: Re: QuickTime Music Synthesizer + Core Audio
  • From: Doug Wyatt <email@hidden>
  • Date: Wed, 14 Dec 2005 12:29:18 -0800

On Dec 14, 2005, at 11:29, Jeremy Sagan wrote:

I just noticed today, since I now have the kAudioUnitProperty_MaximumFramesPerSlice working, that if I set the built-in audio device via kAudioDevicePropertyBufferFrameSize to a value greater than 1024 then the internal voices (i.e QuickTime Music synth) will be silent even when configured properly and sent NAPlayNote events. I am using OS 10.4.3.

I suspect that this may be due to the fact that QT is not setting the DLS MusicDevice to the correct slice size and the DLS MusicDevice is in turn returning kAudioUnitErr_TooManyFramesToProcess errors. However NAPlayNote is not returning any errors.

If I then revert to setting the kAudioDevicePropertyBufferFrameSize <= 1024 then QT starts working again, although I have to deallocate all voices and reallocate them.

Any ideas?

Should I cross post to the QuickTime mailing list?

Maybe, but first, do you have a really good reason to be using the QT Music APIs instead of AudioToolbox/MusicPlayer to play MIDI Files?


(That same bug may exist with the default MusicSequence graph, but we'd be eager to fix *that*, and it can be worked around since the graph is exposed for you to manipulate).

Doug

--
Doug Wyatt
Core Audio, Apple

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: QuickTime Music Synthesizer + Core Audio
      • From: Jeremy Sagan <email@hidden>
References: 
 >QuickTime Music Synthesizer + Core Audio (From: Jeremy Sagan <email@hidden>)

  • Prev by Date: Re: mp3 file making CAAudioFile spin in BasicRead()
  • Next by Date: Re: QuickTime Music Synthesizer + Core Audio
  • Previous by thread: QuickTime Music Synthesizer + Core Audio
  • Next by thread: Re: QuickTime Music Synthesizer + Core Audio
  • Index(es):
    • Date
    • Thread