• 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
audiograph 5ms fade
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

audiograph 5ms fade


  • Subject: audiograph 5ms fade
  • From: Robert Carroll <email@hidden>
  • Date: Sun, 05 Jan 2014 17:11:07 -0500

Hi,

I am trying to get a 'soft' stop to an audiograph that is basically a fileplayer - mixer - io chain. Multiple fileplayer units may be connected to the mixer input buses. The audio files are predetermined, so the start of playback is not a problem, however, playback is stopped by user input which could happen at any random time. If there is still audio signal being processed, audiograph stop is too abrupt.

Something like a 5ms fade down to zero on the mixerAU output followed by calling audiograph stop, would be ideal.

I wrote a crude version based on an NSTimer scaling the mixer's output volume parameter, but the timing is not reliable. If possible, I would prefer not to have to set up a callback since I don't need to interact with the audio stream on that level for any other reason. Can this be achieved with a AudioUnitScheduleParameter call and a ramped AudioParameterEvent?

Any suggestions would be greatly appreciated.

thanks,

Robert Carroll
RSM Records
Toronto
http://www.rsmrecords.com



 _______________________________________________
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: audiograph 5ms fade
      • From: Paul Davis <email@hidden>
  • Prev by Date: RE: AUGraph Teardown sequence
  • Next by Date: Re: audiograph 5ms fade
  • Previous by thread: audiograph master fade
  • Next by thread: Re: audiograph 5ms fade
  • Index(es):
    • Date
    • Thread