[chuck-users] Lisa behaving strangely?
Daniel L Trueman (dtrueman@Princeton.EDU)
dtrueman at Princeton.EDU
Mon Aug 13 08:13:16 EDT 2007
howdy, i'm on the road at the moment so i can't look at the code, but i'm sure you are right and of course it makes sense to be able to read duration; will fix asap. thanks!
----- Original Message -----
From: Kassen <signal.automatique at gmail.com>
Date: Saturday, August 11, 2007 3:37 pm
Subject: Re: [chuck-users] Lisa behaving strangely?
To: ChucK Users Mailing List <chuck-users at lists.cs.Princeton.EDU>
> First of all, I seem to have inadvertedly send the message below to
> thedev-list which wasn't my intention. Oops.
> Secondly, sorry to reply to my own message and breach nettiquette
> but I
> found a second issue when trying to work around the one posted before.
> For some reason LiSa.duration() is write only. This is inconvenient
> whentrying to work around this bug as it makes it impossible to go
> like this;
> l.playPos( l.duration() - samp);
> I can't realy see why duration would be write only while I can
> think of
> reasons to want to check the max duration of a buffer (aside from
> the posted
> Could a readable version of .duration perhaps be considdered for a
> On 8/8/07, Kassen <signal.automatique at gmail.com> wrote:
> > Hi list, Hi 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.
More information about the chuck-users