• 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: rendering musicplayer/augraph right to disk, no speaker output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rendering musicplayer/augraph right to disk, no speaker output


  • Subject: Re: rendering musicplayer/augraph right to disk, no speaker output
  • From: William Stewart <email@hidden>
  • Date: Thu, 18 May 2006 16:05:46 -0700


On 18/05/2006, at 1:57 PM, Brian Whitman wrote:

What's the best way to render a musicplayer/augraph to disk without playing in realtime?

I've just added this functionality to the PlaySequence code in the SDK, which should be available in the next release of the developer tools - no, I don't know when that is, sorry (but when they do come out, you can take a look there)...


I have the file writing working fine as a callback to the renderProc of the mixer component. But with a switch, I'd like to just "render" instead of playback and render. What is that switch? Do I have to swap out the output unit with something else?

Basically, you can swap out the device output for the generic output (the generic output can be configured to give you interleaved ints for instance as its output format). You also have to make sure that you tell all of the AU's they are rendering in "offline" mode - this affects the behaviour of the disk streaming engine in the DLS Synth for instance.


Bill

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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


References: 
 >rendering musicplayer/augraph right to disk, no speaker output (From: Brian Whitman <email@hidden>)

  • Prev by Date: Re: Problems setting sample rate
  • Next by Date: Re: Audio playing too quickly
  • Previous by thread: rendering musicplayer/augraph right to disk, no speaker output
  • Next by thread: hardware output latency
  • Index(es):
    • Date
    • Thread