pitchbend (varispeed) audio with iPhone SDK's AudioUnit
Posted
by fetzig
on Stack Overflow
See other posts from Stack Overflow
or by fetzig
Published on 2010-01-31T22:26:37Z
Indexed on
2010/04/17
18:33 UTC
Read the original article
Hit count: 329
hi,
I'm trying to manipulate the speed (and pitch) of a sound while playing.
so i played around with iphone sdk's AudioUnit. downloaded iPhoneMultichannelMixerTest and tried to add an AUComponent to the graph (in this case a formatconverter). but i get (pretty soon) following error when building:
#import <AudioToolbox/AudioToolbox.h>
#import <AudioUnit/AudioUnit.h>
...
AUComponentDescription varispeed_desc(kAudioUnitType_FormatConverter,
kAudioUnitSubType_Varispeed, kAudioUnitManufacturer_Apple);
^^
error: 'kAudioUnitSubType_Varispeed' was not declared in this scope.
any ideas why? the documentation on this topic doesn't help me at all (just api doc isn't very helpful when having no clue about the concept behind). there are no examples on how to wire these effects together and manipulating there properties...so maybe i'm totally wrong, anyway any hint is great.
thx for help.
© Stack Overflow or respective owner