i'm actually surprised that works in mA. this, however, works in both, and makes sense to me:

adc => LiSa saveme => dac;

10::second => dur len; //anything greater than your delay time below
len => saveme.duration;

1 => saveme.loop;
1 => saveme.loopRec;
len => saveme.loopEndRec;

1 => saveme.record;
1::second => now; //this would be your delay time
1 => saveme.play;

while (true)
    1::second => now;

dt

On Oct 26, 2010, at 12:11 AM, Christopher Jacoby wrote:

Hi,

I've written a short test script (mostly taken from LiSa examples) using LiSa to create a simple delay. Can anyone explain to me why this works just fine when I run it through miniAudicle (version 0.2.0, ChucK v: 1.2.1.3), but when I run it from the terminal, I get basically the adc fed directly to the dac, with no delay. My chuck version is 1.2.1.4-dev-1. I'm assuming that something has changed in between those revisions that modified, but I can't seem to find a document online like this one that goes up through 1.2.1.4-dev-1. 

Any suggestions / recommendations for how I could get that working in the terminal?

Here is my test code:

adc => LiSa saveme => dac;


1::second => dur len;

len => saveme.duration;


1 => saveme.loop;

1 => saveme.loopRec;

len => saveme.loopEndRec;


1 => saveme.record;

1 => saveme.play;


while (true)

    1::second => now;


0 => saveme.record;

0 => saveme.play;


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