ASPiK SDK
|
In the audio processing phase, we need to pick up the audio inputs, process them through our algorithm, and then write them to the audio outputs. In this part of the programming guide, we will use frame processing exclusively. You may easily extract and transfer this code into your block or buffer processing functions as you like; the reasons for focusing on frames here are:
The processAudioFrame function will handle the audio processing by frame. It's sole function argument is a data structure that contains all the information we need to process a buffer of audio. Note that this also includes information from the host about the DAW session including BPM and time-signature information. See Frame, Buffer and Sub-Block Processing for information you can use to convert this code to block or buffer procssing.