• 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
setting the property of peak limiter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting the property of peak limiter


  • Subject: setting the property of peak limiter
  • From: MF <email@hidden>
  • Date: Mon, 19 Jan 2009 17:31:06 +0100

Hello list...

I have walked through the archive about peak limiter and the setting
of effect unit, but I didn't really find the discussion about the
problem I have...

I tried to set up a peak limiter unit in my graph, but I failed to set
the property value of peaklimiter after installing it in the graph. Do
I miss any procedure in my setting?

the chaining is as follows:

mixer ---> peakLimiter ----> output unit

// peak node

AUNode peakNode;

AudioUnit peakUnit;

cd.componentType = kAudioUnitType_Effect;

cd.componentSubType = kAudioUnitSubType_PeakLimiter;

XRequireNoError (AUGraphAddNode(graph, &cd, &peakNode), "AUGraphNewNode");

XRequireNoError( AUGraphNodeInfo(graph, peakNode, 0, &peakUnit),
"AUGraphNodeInfo- output node");

Float32 db = 2;

XRequireNoError ( AudioUnitSetProperty (peakUnit, kLimiterParam_PreGain,

kAudioUnitScope_Global, 0,

&db,

sizeof (db)), "set peak limit");

I always get an error message at the last step (set property). Any one
who has ever successfully set up this unit? any suggestion or related
codes would be greatly appreciated! Thanks!
 _______________________________________________
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: setting the property of peak limiter
      • From: james mccartney <email@hidden>
  • Prev by Date: Re: noise at the beginning and the end of the playback of audio files (using AudioFilePlayer)
  • Next by Date: AURemoteIO asbd format don't work with ExtAudioFile
  • Previous by thread: Re: noise at the beginning and the end of the playback of audio files (using AudioFilePlayer)
  • Next by thread: Re: setting the property of peak limiter
  • Index(es):
    • Date
    • Thread