My goal: Setup a hi-pass and low-pass filter on the incoming stream from the microphone.
First, it appears that the AudioUnit subtypes for these filters that are available in CoreAudio in OS-X are not available. If you look at AudioUnit.h, they are #ifdef'd out.
So, that means I have to write my own filters. There is plenty of source code out there for several filter types, but they lack context.
What I am missing is some core information about the format of each packet in the 16 bit linear PCM stream that comes from the inbound AudioQueue. What does each 16 bit packet represent?
When you apply a filter alogrithm, do you apply it to the complete packet or just part?
Any clues or direction on writing a DSP filter is greatly appreciated.
Yes, I have looked at the aurioTouch example, but it is very convoluted with embedded ARM assembly and no comments at all about what is going on.
First, it appears that the AudioUnit subtypes for these filters that are available in CoreAudio in OS-X are not available. If you look at AudioUnit.h, they are #ifdef'd out.
So, that means I have to write my own filters. There is plenty of source code out there for several filter types, but they lack context.
What I am missing is some core information about the format of each packet in the 16 bit linear PCM stream that comes from the inbound AudioQueue. What does each 16 bit packet represent?
When you apply a filter alogrithm, do you apply it to the complete packet or just part?
Any clues or direction on writing a DSP filter is greatly appreciated.
Yes, I have looked at the aurioTouch example, but it is very convoluted with embedded ARM assembly and no comments at all about what is going on.