Csound Csound-dev Csound-tekno Search About

[Csnd] turnoff bug in 5.19

Date2013-02-09 11:46
FromIain McCurdy
Subject[Csnd] turnoff bug in 5.19
Does anyone know why the following crashes after a few seconds in 5.19?
The problem seems to be turnoff yet it works fine pre 5.19 (I've only been able to test under Windows).
Adding the the xtratim line removes the problem. 





sr = 44100  
ksmps = 8
nchnls = 1
0dbfs = 1

gisine ftgen 0,0,4096,10,1

instr 1
krate    rspline    1,10,0.1,0.5
ktrig    metro    krate
koct    rspline 7,11,0.1,0.3
schedkwhen ktrig,0,0,2,0,3600,koct
endin

instr    2
aenv  expseg  1,7,1/10000,1,1/10000
asig  oscili  aenv*0.05,cpsoct(p4),gisine
krms    rms   asig
if (krms<0.001) then
 turnoff
endif
;xtratim 0.1
out asig
endin




i 1 0 500



 		 	   		  

Date2013-02-09 12:46
FromVictor Lazzarini
SubjectRe: [Csnd] turnoff bug in 5.19
No crashes here on OSX. Runs to the end.

Victor 
On 9 Feb 2013, at 11:46, Iain McCurdy wrote:

> 
> Does anyone know why the following crashes after a few seconds in 5.19?
> The problem seems to be turnoff yet it works fine pre 5.19 (I've only been able to test under Windows).
> Adding the the xtratim line removes the problem. 
> 
> 
> 
> 
> 
> sr = 44100  
> ksmps = 8
> nchnls = 1
> 0dbfs = 1
> 
> gisine ftgen 0,0,4096,10,1
> 
> instr 1
> krate    rspline    1,10,0.1,0.5
> ktrig    metro    krate
> koct    rspline 7,11,0.1,0.3
> schedkwhen ktrig,0,0,2,0,3600,koct
> endin
> 
> instr    2
> aenv  expseg  1,7,1/10000,1,1/10000
> asig  oscili  aenv*0.05,cpsoct(p4),gisine
> krms    rms   asig
> if (krms<0.001) then
>  turnoff
> endif
> ;xtratim 0.1
> out asig
> endin
> 
> 
> 
> 
> i 1 0 500
> 
> 
> 
> 		 	   		  
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-02-09 14:35
Fromfrancesco
Subject[Csnd] Re: turnoff bug in 5.19
seems ok in linux also,
Ubuntu 12.04,
Csound version 5.19.02 (double samples) Jan 22 2013

ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/turnoff-bug-in-5-19-tp5720029p5720032.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-02-10 14:53
FromIain McCurdy
SubjectRE: [Csnd] Re: turnoff bug in 5.19
Ok, thanks. It seems to be a Windows specific problem. I've checked it on another Windows machine with the same result.
Iain

> Date: Sat, 9 Feb 2013 06:35:36 -0800
> From: ilterzouomo@fastwebnet.it
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] Re: turnoff bug in 5.19
>
> seems ok in linux also,
> Ubuntu 12.04,
> Csound version 5.19.02 (double samples) Jan 22 2013
>
> ciao,
> francesco.
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/turnoff-bug-in-5-19-tp5720029p5720032.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>