Re: Is this even being seen? Re: 3d mixer on iPhone
Re: Is this even being seen? Re: 3d mixer on iPhone
- Subject: Re: Is this even being seen? Re: 3d mixer on iPhone
- From: Gregory Wieber <email@hidden>
- Date: Mon, 3 Jan 2011 10:13:40 -0800
Couldn't you analyze your input frames in your render-callback to implement those functions yourself? I feel like there's probably some DSP c code lying around on the net to do that. (This is assuming that there's no equivalent functions for the 3d mixer -- which to be honest, I'm no authority on...)
On Mon, Jan 3, 2011 at 10:04 AM, Development
<email@hidden> wrote:
Ok I'm enabling the metering mode with this:
UInt32 data ="" style="color:rgb(37, 43, 216)">1;
result = AudioUnitSetProperty(mMixer,kAudioUnitProperty_MeteringMode,kAudioUnitScope_Output,0,&data,sizeof(data));
I am then reading with:
OSStatus err = AudioUnitGetProperty(mMixer,kMultiChannelMixerParam_PreAveragePower, kAudioUnitScope_Output, inBusNumber, &s[0], &size);
err = AudioUnitGetParameter(mMixer,kMultiChannelMixerParam_PrePeakHoldLevel, kAudioUnitScope_Output, inBusNumber, &s [1]);
Which obviously wont work since I'm trying to read from the multichannel mixer.
So unless there is a way to speed up playback of the multichannel mixer I really need to use the 3d mixer. However, I need to be able to read these levels... Is this even possible?
On Jan 2, 2011, at 4:40 PM, Development wrote:
Ok see I asked this question several days ago. Does any one have any idea if what I am trying to do is even possible?
I need to read the output power of the mixer so that I can update a meter. I've turned metering on for the 3d mixer but cannot figure out how to read the levels.
Any feedback on how this could, if at all, be done would really be helpful
On Dec 29, 2010, at 3:58 PM, Development wrote:
I needed the playback rate feature of the 3d mixer. So I switched from the multichannel mixer to the 3d one.
Here's the thing. the 3d Mixer does not have a measure of the peak levels.... Is there a way to measure values equivalent to:
kMultiChannelMixerParam_PostAveragePower
kMultiChannelMixerParam_PostPeakHoldLevel
with the 3d mixer on the iPhone?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
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
_______________________________________________
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