Brand new to Owl patch programming. I have 2 questions:
-
See that many of the patches implement the (pure) virtual function processAudio which takes a references to and AudioBuffer object. Question…where in the source code can I find where/how the AudioBuffer object is constructed? Its methods (e.g., getChannels, getSamples) seem to return information…where is that information constructed into the AudioBuffer object?
-
As an alternative to implementing my own version of processAudio in the patch, can I create a new AudioBuffer object and manipulate it myself? I see methods such as: AudioBuffer* Patch::createMemoryBuffer(int channels, int samples) which seem to provide this functionality.
TIA,
toabrother