alexbw / novocaine

Painless high-performance audio on iOS and Mac OS X
http://alexbw.github.com/novocaine/
MIT License
2.23k stars 274 forks source link

Different Sample Rate on recording and output #73

Closed fotiDim closed 10 years ago

fotiDim commented 10 years ago

Is it possible to have different sample rates on recording and playback. I need to record on 16k and simultaneously playback audio on 44.1. Can I do that with this framework?

alexbw commented 10 years ago

The way Novocaine is built, there is only one sample rate for both input and output. You'll have to interpolate by hand. Unfortunately, there are no plans for this to change in the foreseeable future.