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