Play real time audio with swift

Viewed 384

We have a bluetooth device that streams artificial audio data to an iOS app. I say artificial because this 'sound' is not recorded, but synthesized by ways of transfer functions applied on another signal. The generated audio data has a frequency range of 30 - 80 Hz.

The data is sampled at 500Hz, and in Int32 type, with values 0 -> 4096 (12 bit).

Question: Using the core Audio framework, what steps should I take to playback this data through the iOS device's speakers as it is streaming in (i.e real-time playback)?

1 Answers
Related