[chuck-users] LiSa SndBuf rate bug?
dtrueman at Princeton.EDU
Fri Nov 14 22:34:21 EST 2008
the only problem is that YOU know more about all this stuff than some
of us do. ;--}. i learned how to write:
buf.samples()::samp => lisa.duration;
from something you wrote...
it would perhaps make sense for all the documentation to be wikified,
so that everyone could contribute to making it more accurate and
On Nov 14, 2008, at 9:53 PM, Kassen wrote:
> ...and while we're at it;
> //set lisa buffer size to sample size
> buf.samples() * 1::samp => lisa.duration;
> I tend to use;
> buf.samples()::samp => lisa.duration; // I use this a lot
> But that might be too compact for a file in the examples dir. Also
> good (and arguably more transparent) would be;
> buf.samples() * samp => lisa.duration;
> I know I'm nit-picking here but I think we should strive for a
> maximum in clarity in the examples as those are probably the best
> resource there is for new ChucKists, particularly those not taking
> formal classes. Perhaps some people find the extra "1::" makes the
> line easier to understand but I'm inclined to drop it.
> There are a few more things scattered around the examples dir that
> could be confusing, some of them caused by some examples being
> older then various updates to ChucK. Is there a place where
> suggestions could go? One of the voice synthesis demos (a really
> nice one, sound-wise) gives errors while running, for example.
> I don't intend to criticise anyone here (as it is it's a great
> resources), I mean to point out that /examples/ is likely the entry
> point for people who may join us so I'd like it to be as welcoming,
> non-confusing and friendly as we can make it. I know I learned by
> copying and imitating structures found in the examples so I feel it
> should be easy to generalise based upon them.
> I'd be happy to go over the whole dir, as long as I don't have a
> deadline and there is some agreement that this would be worthwhile.
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
More information about the chuck-users