[Cs-dev] thing with jspline
Date | 2009-10-01 23:39 |
From | Oeyvind Brandtsegg |
Subject | [Cs-dev] thing with jspline |
Attachments | jspline_test.csd None None |
Hello, I'm not sure if this should be called a bug, but it is an inconvenience at least. The jspline generator has minimum and maximum frequencies to determine the time between generating new random spline segments. It seems, the frequency parameters are only updated at the time of generating a new spline segment. So, if by chance the frequency parameter happens to have the value of zero, the generator will freeze. If the frequency parameter get a nonzero value at some later point, it will not recover due to a segment of infinite length currently being generated. This is my guess of how it works. For the time being, I worked around this by limiting the variable controlling frequency so it never goes below 0.05 (a 20 second segment at the longest). I'm sure there could be a more elegant fix in the opcode itself. Demo csd attached. best Oeyvind |
Date | 2009-10-04 18:41 |
From | |
Subject | Re: [Cs-dev] thing with jspline |
I made a small internal change and your example runs OK -- not sure if this is enough to say it i fixed ==John ffitch ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-05 09:07 |
From | Oeyvind Brandtsegg |
Subject | Re: [Cs-dev] thing with jspline |
Nice. Thanks you John. Oeyvind 2009/10/4 |