Skip to content

Instantly share code, notes, and snippets.

@diplojocus
Last active August 29, 2015 14:14
Show Gist options
  • Save diplojocus/cf06efa4b92a766e69c8 to your computer and use it in GitHub Desktop.
Save diplojocus/cf06efa4b92a766e69c8 to your computer and use it in GitHub Desktop.
Heavy - Getting Started
#include "Heavy_heavy.h"
int main(int argc, const char *argv[]) {
double sampleRate = 44100.0;
Hv_heavy *context = hv_heavy_new(sampleRate);
int numInputChannels = hv_getNumInputChannels(context);
int numOutputChannels = hv_getNumOutputChannels(context);
// do something
hv_heavy_free(context);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment