aerlfredith
aerlfredith

Reputation: 1131

multiple effect-adjusted sounds through audio units on IOS?

If I have 5 sounds which all use a varispeed audio unit which different parameters, do I have to use an audio unit per set of parameters. Important to note with diffirent parameters I mean I cannot mix the 5 sounds together BEFORE I put them through a varispeed audio unit.

If I have to use different audio units does this impact my memory usage of performance? And would there be better ways of doing this? Thanks, Jan

PS: this is also posted on apple dev forums but they barely EVER answer, I will copy any solid answer to that post.

Upvotes: 1

Views: 126

Answers (1)

hotpaw2
hotpaw2

Reputation: 70673

If you want to run these audio units with different parameters (and in real-time), then you will need multiple units, one for each set of parameters. Speed resamplers, when fed short buffers, don't use much memory.

Upvotes: 1

Related Questions