Change audio sample rate

Hi there, I've been using TAEE for a couple weeks now, and I love the framework. It's already saved me several weeks of development on my current project. I did hit a snag with trying to set the sample rate for the audio input.

Previously, I had been using AVAudioSession and could switch between 44.1kHz and 48.0kHz relatively painlessly, but I don't see any way to do this in TAEE, and when I try my old AVAudioSession code to apply the change, TAEE complains about some dropped samples and then the sample rate stays the same.

Any help would be appreciated,


John Clem


  • Hi @johnnyclem,

    Thanks! Glad it's helpful =)

    You'll probably want to use the (currently poorly-documented) updateWithAudioDescription... method. That's a third-party contribution, and I have plans to make the audio description/sample rate/etc change smoother, but it works for now.

  • I've just replaced that method with settable audio description - see the sample app for a demo of changing between 44.1 and 48k.

  • Excellent! Thanks so much, I'll give this a go this afternoon

Sign In or Register to comment.