thing with jspline

View: New views
3 Messages — Rating Filter:   Alert me  

thing with jspline

by Oeyvind Brandtsegg-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


------------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/csound-devel

jspline_test.csd (742 bytes) Download Attachment

Re: thing with jspline

by john ffitch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
https://lists.sourceforge.net/lists/listinfo/csound-devel

Re: thing with jspline

by Oeyvind Brandtsegg-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nice. Thanks you John.
Oeyvind

2009/10/4  <jpff@...>:

> 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@...
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/csound-devel