Hey David, amazing! Look forward to trying it out. Will probably drop some comments on the PR. 

Spencer


On Mon, Jan 11, 2021 at 2:54 PM David Braun <braun@ccrma.stanford.edu> wrote:
I created a chugin for Windows that does VST effects and instruments all in one. https://github.com/ccrma/chugins/pull/47

Sample code:

VST vst => dac;

vst.loadPlugin("C:/VSTPlugIns/Serum_x64.dll");
<<< "num parameters: ", vst.getNumParameters() >>>;
<<< "parameter 0 is named: ", vst.getParameterName(0) >>>;
vst.loadPreset("serum_preset.fxp");
vst.setParameter(0, vst.getParameter(0));

while(true) {
    vst.noteOn(60, 1.);
    200::ms => now;
    vst.noteOff(60, 0.);
    250::ms => now;
}

Please checkout the branch (literally) and try it out!

David
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users