Skip to content

Instantly share code, notes, and snippets.

@diplojocus
Last active August 29, 2015 14:14
Show Gist options
  • Save diplojocus/acc12a0f51f95184316e to your computer and use it in GitHub Desktop.
Save diplojocus/acc12a0f51f95184316e to your computer and use it in GitHub Desktop.
Patch specific Heavy API methods
/**
* Creates a new patch instance.
* Sample rate should be positive and in Hertz.
*/
Hv_heavy *hv_heavy_new(double sampleRate);
/** Frees a patch instance. */
void hv_heavy_free(Hv_heavy *c);
/** Processes one block of samples for a patch instance. The buffer format is an array of arrays. */
int hv_heavy_process(Hv_heavy *c, float **const inputBuffers, float **const outputBuffers, int n4);
/** Processes one block of samples for a patch instance. The buffer format is an uninterleaved array of channels. */
int hv_heavy_process_inline(Hv_heavy *c, float *const inputBuffers, float *const outputBuffers, int n4);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment