TAAE2 - is it possible to change playback rate without creating subrender?
Actually I am working on piano app in which same audio play with different speed so for every key I need to create different AEVarispeedModule instance and for that i need to create different subrender which increase CPU usage,memory and audio glitching.
AEVarispeedModule * varispeed = [[AEVarispeedModule alloc] initWithRenderer:renderer subrenderer:subrenderer];
So, is it possible to change playback rate without creating subrender?
Comments
I think you're using the wrong framework, @pratik - take a look at AudioKit.io
@pratik it might also be worth looking into using AUSampler which handles a lot of that for you - you can create a basic aupreset that maps your audio sample across all the keys. It's bound to be more performant than creating an individual varispeed module for each voice