hi, i just noticed this part of your email. i actually don't regard this as a bug, though i may be able to be convinced otherwise. a very slight modification to your code works fine:

>>>

Rhodey r => LiSa l => dac;

second => l.duration;

1 => l.record;
1 => r.noteOn;

second => now;

0 => l.record;

0 => l.loop;
second - 1::samp => l.playPos;
-1 => l.rate;
1 => l.play;

second => now;

>>>

i can understand that this might seem awkward, and i'll look at the source code to see if there might be a good way to change this that isn't too painful. in any case, you should be able to get consistent behavior with this work around.

duration read and voiceGain is just about done, and should make it in to the next version, at least!

dan


I have a slight issue with LiSa when she's supposed to play 
backwards.> Let's assume for a second we want to record a single 
piano note, then play
it back *once* in reverse;
----------------------
Rhodey r => LiSa l => dac;

second => l.duration;

1 => l.record;
1 => r.noteOn;

second => now;

0 => l.record;

0 => l.loop;
second => l.playPos;
-1 => l.rate;
1 => l.play;

second => now;
---------------

The above looks entirely correct to me, however, it won't 
generate a
sound. for

.999::second => l.playPos;

it will work just fine and it will also work fine when .loop is 
turned on
but turning loop on for one-shot samples isn't always convenient.

I believe this to be a bug, probably related to the way in which 
LiSa> determines when she is supposed to stop playing. When you, 
Dan, have a
moment, could you please look into this?

Yours,
Kas.


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