Csound Csound-dev Csound-tekno Search About

[Cs-dev] [ csound-Bugs-2973896 ] timout bug?

Date2010-08-30 17:57
From"SourceForge.net"
Subject[Cs-dev] [ csound-Bugs-2973896 ] timout bug?
Bugs item #2973896, was opened at 2010-03-20 20:11
Message generated for change (Settings changed) made by veplaini
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=2973896&group_id=81968

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: csound
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Joachim Heintz (joachimheintz)
Assigned to: Nobody/Anonymous (nobody)
Summary: timout bug?

Initial Comment:
setting the istrt parameter to any value > 0 leads to an infinite loop. i expected csound waiting istrt seconds before going in the timout block. 
example attached: istrt=0 is ok, istrt=.1 seems to go in an infinite loop.
OSX 10.5.8, Csound 5.12.3

----------------------------------------------------------------------

>Comment By: Victor Lazzarini (veplaini)
Date: 2010-08-30 17:57

Message:
I think this is not a bug. Csound will not wait at the timout point, but
carry on performing because istrt > 0, when it finds reinit it will go from
loop to endin in an init-pass printing out the variable value everytime. I
am marking it not a bug until someone provides a more convincing CSD
showing the bug.

----------------------------------------------------------------------

Comment By: Joachim Heintz (joachimheintz)
Date: 2010-07-19 09:06

Message:
as i said, osx 10.5.8, csound 5.12, now universal binary (5.12.4).
the first call of instr 1 is ok: timout 0, 1, do.
the second call is timout 0.1, 1, do. i expected a delay of 0.1 seconds
before the "do" block is called. but i get 22050 calls of the "do" block.
(now i see that it's not an inifinite loop; i thought it because it brought
qutecsound to hang.) 
the output is attached.

----------------------------------------------------------------------

Comment By: John ffitch (jpff)
Date: 2010-07-18 17:25

Message:
Can you provide more details?  Your exaple runs for me.  So, what
platform/version etc?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=2973896&group_id=81968

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-30 22:25
Fromjoachim heintz
SubjectRe: [Cs-dev] [ csound-Bugs-2973896 ] timout bug?
but what is the sense of the istrt parameter if not to wait at the  
timout point?
the manual says for
timout istrt, idur, label:
"The branch to label will become effective at time istrt"

	joachim


Am 30.08.2010 um 18:57 schrieb SourceForge.net:

> Bugs item #2973896, was opened at 2010-03-20 20:11
> Message generated for change (Settings changed) made by veplaini
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=564599&aid=2973896&group_id=81968
>
> Please note that this message will contain a full copy of the  
> comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: csound
> Group: None
>> Status: Closed
>> Resolution: Invalid
> Priority: 5
> Private: No
> Submitted By: Joachim Heintz (joachimheintz)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: timout bug?
>
> Initial Comment:
> setting the istrt parameter to any value > 0 leads to an infinite  
> loop. i expected csound waiting istrt seconds before going in the  
> timout block.
> example attached: istrt=0 is ok, istrt=.1 seems to go in an infinite  
> loop.
> OSX 10.5.8, Csound 5.12.3
>
> ----------------------------------------------------------------------
>
>> Comment By: Victor Lazzarini (veplaini)
> Date: 2010-08-30 17:57
>
> Message:
> I think this is not a bug. Csound will not wait at the timout point,  
> but
> carry on performing because istrt > 0, when it finds reinit it will  
> go from
> loop to endin in an init-pass printing out the variable value  
> everytime. I
> am marking it not a bug until someone provides a more convincing CSD
> showing the bug.
>
> ----------------------------------------------------------------------
>
> Comment By: Joachim Heintz (joachimheintz)
> Date: 2010-07-19 09:06
>
> Message:
> as i said, osx 10.5.8, csound 5.12, now universal binary (5.12.4).
> the first call of instr 1 is ok: timout 0, 1, do.
> the second call is timout 0.1, 1, do. i expected a delay of 0.1  
> seconds
> before the "do" block is called. but i get 22050 calls of the "do"  
> block.
> (now i see that it's not an inifinite loop; i thought it because it  
> brought
> qutecsound to hang.)
> the output is attached.
>
> ----------------------------------------------------------------------
>
> Comment By: John ffitch (jpff)
> Date: 2010-07-18 17:25
>
> Message:
> Can you provide more details?  Your exaple runs for me.  So, what
> platform/version etc?
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=564599&aid=2973896&group_id=81968
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-31 08:01
FromVictor.Lazzarini@nuim.ie
SubjectRe: [Cs-dev] [ csound-Bugs-2973896 ] timout bug?
AttachmentsNone  None  None  None