public unsafe Crumpling(Interactor i) { crumple = SDTCrumpling_new(); if (!i.isAttached()) { throw new NoResonatorsAttachedException("Interactor has no Resonator attached"); } else { inter = i; } }
private unsafe static extern void SDTCrumpling_dsp(SDTCrumpling *x, double *outs);
private unsafe static extern void SDTCrumpling_setFragmentation(SDTCrumpling *x, double f);
private unsafe static extern void SDTCrumpling_setGranularity(SDTCrumpling *x, double f);
private unsafe static extern void SDTCrumpling_setCrushingEnergy(SDTCrumpling *x, double f);
private unsafe static extern void SDTCrumpling_free(SDTCrumpling *x);