Csound Csound-dev Csound-tekno Search About

[Csnd] Question on madsr

Date2011-01-04 19:18
FromRene Jopi
Subject[Csnd] Question on madsr
Attachmentsmadsr_test.csd  
Hi,

Can I use several madsr in the same instrument?

In the below csd, I note that the release duration is the same, 
the longest one 0.8sec for both signals.

Using Csound-cvs Dec 23 2010 compiled with double on Ubuntu 10.04


<CsoundSynthesizer>
<CsOptions>
-Wdm229 --old-parser
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 100
nchnls = 2
0dbfs = 1

instr 1
kmadsr1 madsr 0.2, 5.0, 0.5, 0.2
kmadsr2 madsr 0.2, 6.0, 0.5, 0.8
outs a(kmadsr1), a(kmadsr2)
endin
</CsInstruments>
<CsScore>
i 1 0 8.0

f 0 10
</CsScore>
</CsoundSynthesizer> 


Cheers and Happy new year  :)
Rene

Date2011-01-04 19:46
FromVictor Lazzarini
Subject[Csnd] Re: Question on madsr
This looks like a bug to me.

Victor
On 4 Jan 2011, at 19:18, Rene Jopi wrote:

> Hi,
>
> Can I use several madsr in the same instrument?
>
> In the below csd, I note that the release duration is the same,
> the longest one 0.8sec for both signals.
>
> Using Csound-cvs Dec 23 2010 compiled with double on Ubuntu 10.04
>
>
> 
> 
> -Wdm229 --old-parser
> 
> 
> sr	= 44100
> ksmps	= 100
> nchnls	= 2
> 0dbfs	= 1
>
> instr	1
> 	
> 	kmadsr1 	madsr 	0.2, 5.0, 0.5, 0.2
> 	kmadsr2 	madsr 	0.2, 6.0, 0.5, 0.8
> 			outs	a(kmadsr1), a(kmadsr2)
> endin
> 
> 
> i 1 0 8.0
>
> f 0 10
> 
> 
>
>
> Cheers and Happy new year  :)
> Rene
> 



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"

Date2011-01-04 19:57
FromVictor Lazzarini
Subject[Csnd] Re: Re: Question on madsr
It's actually a bug in linsegr as well (the two opcodes share the same  
code).

Victor


On 4 Jan 2011, at 19:46, Victor Lazzarini wrote:

> This looks like a bug to me.
>
> Victor
> On 4 Jan 2011, at 19:18, Rene Jopi wrote:
>
>> Hi,
>>
>> Can I use several madsr in the same instrument?
>>
>> In the below csd, I note that the release duration is the same,
>> the longest one 0.8sec for both signals.
>>
>> Using Csound-cvs Dec 23 2010 compiled with double on Ubuntu 10.04
>>
>>
>> 
>> 
>> -Wdm229 --old-parser
>> 
>> 
>> sr	= 44100
>> ksmps	= 100
>> nchnls	= 2
>> 0dbfs	= 1
>>
>> instr	1
>> 	
>> 	kmadsr1 	madsr 	0.2, 5.0, 0.5, 0.2
>> 	kmadsr2 	madsr 	0.2, 6.0, 0.5, 0.8
>> 			outs	a(kmadsr1), a(kmadsr2)
>> endin
>> 
>> 
>> i 1 0 8.0
>>
>> f 0 10
>> 
>> 
>>
>>
>> Cheers and Happy new year  :)
>> Rene
>> 
>
>
>
> 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"
>



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"

Date2011-01-04 20:06
FromRene Jopi
Subject[Csnd] Re: Re: Re: Question on madsr
Thanks, i will post tomorrow into Sourceforge bug tracker.
Rene




2011/1/4 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
It's actually a bug in linsegr as well (the two opcodes share the same code).

Victor



On 4 Jan 2011, at 19:46, Victor Lazzarini wrote:

This looks like a bug to me.

Victor
On 4 Jan 2011, at 19:18, Rene Jopi wrote:

Hi,

Can I use several madsr in the same instrument?

In the below csd, I note that the release duration is the same,
the longest one 0.8sec for both signals.

Using Csound-cvs Dec 23 2010 compiled with double on Ubuntu 10.04


<CsoundSynthesizer>
<CsOptions>
-Wdm229 --old-parser
</CsOptions>
<CsInstruments>
sr      = 44100
ksmps   = 100
nchnls  = 2
0dbfs   = 1

instr   1
       
       kmadsr1         madsr   0.2, 5.0, 0.5, 0.2
       kmadsr2         madsr   0.2, 6.0, 0.5, 0.8
                       outs    a(kmadsr1), a(kmadsr2)
endin
</CsInstruments>
<CsScore>
i 1 0 8.0

f 0 10
</CsScore>
</CsoundSynthesizer>


Cheers and Happy new year  :)
Rene
<madsr_test.csd>



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"




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"



Date2011-01-04 20:15
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: Re: Question on madsr
I think I have a fix.

Victor
On 4 Jan 2011, at 20:06, Rene Jopi wrote:

Thanks, i will post tomorrow into Sourceforge bug tracker.
Rene




2011/1/4 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
It's actually a bug in linsegr as well (the two opcodes share the same code).

Victor



On 4 Jan 2011, at 19:46, Victor Lazzarini wrote:

This looks like a bug to me.

Victor
On 4 Jan 2011, at 19:18, Rene Jopi wrote:

Hi,

Can I use several madsr in the same instrument?

In the below csd, I note that the release duration is the same,
the longest one 0.8sec for both signals.

Using Csound-cvs Dec 23 2010 compiled with double on Ubuntu 10.04


<CsoundSynthesizer>
<CsOptions>
-Wdm229 --old-parser
</CsOptions>
<CsInstruments>
sr      = 44100
ksmps   = 100
nchnls  = 2
0dbfs   = 1

instr   1
       
       kmadsr1         madsr   0.2, 5.0, 0.5, 0.2
       kmadsr2         madsr   0.2, 6.0, 0.5, 0.8
                       outs    a(kmadsr1), a(kmadsr2)
endin
</CsInstruments>
<CsScore>
i 1 0 8.0

f 0 10
</CsScore>
</CsoundSynthesizer>


Cheers and Happy new year  :)
Rene
<madsr_test.csd>



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"




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"




Date2011-01-04 20:34
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: Re: Re: Question on madsr
Fixed in CVS. Thanks for reporting it.

Victor
On 4 Jan 2011, at 20:15, Victor Lazzarini wrote:

I think I have a fix.

Victor
On 4 Jan 2011, at 20:06, Rene Jopi wrote:

Thanks, i will post tomorrow into Sourceforge bug tracker.
Rene




2011/1/4 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
It's actually a bug in linsegr as well (the two opcodes share the same code).

Victor



On 4 Jan 2011, at 19:46, Victor Lazzarini wrote:

This looks like a bug to me.

Victor
On 4 Jan 2011, at 19:18, Rene Jopi wrote:

Hi,

Can I use several madsr in the same instrument?

In the below csd, I note that the release duration is the same,
the longest one 0.8sec for both signals.

Using Csound-cvs Dec 23 2010 compiled with double on Ubuntu 10.04


<CsoundSynthesizer>
<CsOptions>
-Wdm229 --old-parser
</CsOptions>
<CsInstruments>
sr      = 44100
ksmps   = 100
nchnls  = 2
0dbfs   = 1

instr   1
       
       kmadsr1         madsr   0.2, 5.0, 0.5, 0.2
       kmadsr2         madsr   0.2, 6.0, 0.5, 0.8
                       outs    a(kmadsr1), a(kmadsr2)
endin
</CsInstruments>
<CsScore>
i 1 0 8.0

f 0 10
</CsScore>
</CsoundSynthesizer>


Cheers and Happy new year  :)
Rene
<madsr_test.csd>



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"




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"





Date2011-01-05 12:52
FromRene Jopi
Subject[Csnd] Re: Re: Re: Re: Re: Re: Question on madsr
Tested ok, Thanks a lot
René

2011/1/4 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
Fixed in CVS. Thanks for reporting it.

Victor

On 4 Jan 2011, at 20:15, Victor Lazzarini wrote:

I think I have a fix.

Victor
On 4 Jan 2011, at 20:06, Rene Jopi wrote:

Thanks, i will post tomorrow into Sourceforge bug tracker.
Rene




2011/1/4 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
It's actually a bug in linsegr as well (the two opcodes share the same code).

Victor



On 4 Jan 2011, at 19:46, Victor Lazzarini wrote:

This looks like a bug to me.

Victor
On 4 Jan 2011, at 19:18, Rene Jopi wrote:

Hi,

Can I use several madsr in the same instrument?

In the below csd, I note that the release duration is the same,
the longest one 0.8sec for both signals.

Using Csound-cvs Dec 23 2010 compiled with double on Ubuntu 10.04


<CsoundSynthesizer>
<CsOptions>
-Wdm229 --old-parser
</CsOptions>
<CsInstruments>
sr      = 44100
ksmps   = 100
nchnls  = 2
0dbfs   = 1

instr   1
       
       kmadsr1         madsr   0.2, 5.0, 0.5, 0.2
       kmadsr2         madsr   0.2, 6.0, 0.5, 0.8
                       outs    a(kmadsr1), a(kmadsr2)
endin
</CsInstruments>
<CsScore>
i 1 0 8.0

f 0 10
</CsScore>
</CsoundSynthesizer>


Cheers and Happy new year  :)
Rene
<madsr_test.csd>



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"




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"