Federico Lopezbest regards,Hi Carsten, there is a dirty way to do it.You can make some kind of looper that machine.add yourFile.ck and after, say a bar, remove yourFile.ck, so, if you make some changes in yourFile.ck and save, you will have the saved file in the next bar.
Example:
// ----
// looper.ck
// ----
// define your tempo
0.25::second => dur beat;
0 => int count;
while( true )
{
count % 8 => int patt;
if( patt == 0 )
{
Machine.add(me.dir()+"/yourFile.ck") => int yourFileID;;
8 * beat => now;
Machine.remove(yourFileID);
}
count++;
}// -- endin terminal$ chuck looper.ckYou can create a BPM class to keep the things of yourFile.ck in tempo with the looper.
On Wed, Jul 2, 2014 at 1:24 PM, Carsten Høyer <carstenhoyer.com@gmail.com> wrote:
_______________________________________________HiCompletely new Chuck user. Can I do on the fly editing without using --replace? So that the programming will auto reload on save?ThanksCarsten
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users