I use kNewTimePitchParampitch ;
audiounit (in)---convert(pitch shift)---audiounit( out);I can get the result about pitch shift
status =AudioUnitSetParameter(convert, kNewTimePitchParamPitch, kAudioUnitScopeGlobal, 0, pitchShift, 0);
change param:AudioUnitSetParameter(conver, kNewTimePitchParamRate , kAudioUnitScope_Global, 0, pitchShift, 0);
the AudioUnitAddRenderNotify can not get the data which have been change speech. the data is 00.
so how to use the rate change?
audiounit (in)---convert(pitch shift)---audiounit( out);I can get the result about pitch shift
status =AudioUnitSetParameter(convert, kNewTimePitchParamPitch, kAudioUnitScopeGlobal, 0, pitchShift, 0);
change param:AudioUnitSetParameter(conver, kNewTimePitchParamRate , kAudioUnitScope_Global, 0, pitchShift, 0);
the AudioUnitAddRenderNotify can not get the data which have been change speech. the data is 00.
so how to use the rate change?