divide by the duration of one sample:

pduration / 1::samp



On Thursday, December 12, 2013 at 3:38 PM, Juan-Pablo Caceres wrote:

Hello list,

Is there a way to cast a dur (samples) to an int in chuck? This doesn't
work:

1::second => dur pduration;
pduration $ int => int srate;

Thanks for your help!
JPC

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