Csound Csound-dev Csound-tekno Search About

[Csnd] gausstrig

Date2017-12-22 17:55
FromIain McCurdy
Subject[Csnd] gausstrig
I'm encountering something strange with gausstrig. With the following code:

 kcps = 440
 a1 gausstrig 0.2, kcps, 0.1, 0, 1

No output is produced.
It has something to do with p5 (ifrst1). If it is zero (the default) it works fine. If kcps is replaced by an i-rate variable, or if p4 is non-zero then it also works. In short, it seems to be the combination of p4=0, p5=non-zero and a k-rate kcps that causes no output to be produced.

Am I missing something?

Date2017-12-22 21:21
Fromjpff
SubjectRe: [Csnd] gausstrig
The manual example #2 runs with modification to 0,1 optional arguments, 
but your line alone generates silence.  Not sure exactly what this opcde 
is supposed to do but will look now.
x
On Fri, 22 Dec 2017, Iain McCurdy wrote:

> I'm encountering something strange with gausstrig. With the following code:
>  kcps = 440
>  a1 gausstrig 0.2, kcps, 0.1, 0, 1
> 
> No output is produced.
> It has something to do with p5 (ifrst1). If it is zero (the default) it works
> fine. If kcps is replaced by an i-rate variable, or if p4 is non-zero then it
> also works. In short, it seems to be the combination of p4=0, p5=non-zero and
> a k-rate kcps that causes no output to be produced.
> 
> Am I missing something?
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-12-22 21:34
Fromjpff
SubjectRe: [Csnd] gausstrig
OK code is wrong as it reads the kcps at init time before it has a value. 
Think I can fix.

Congratulatios -- first bug in 6.10

On Fri, 22 Dec 2017, Iain McCurdy wrote:

> I'm encountering something strange with gausstrig. With the following code:
>  kcps = 440
>  a1 gausstrig 0.2, kcps, 0.1, 0, 1
> 
> No output is produced.
> It has something to do with p5 (ifrst1). If it is zero (the default) it works
> fine. If kcps is replaced by an i-rate variable, or if p4 is non-zero then it
> also works. In short, it seems to be the combination of p4=0, p5=non-zero and
> a k-rate kcps that causes no output to be produced.
> 
> Am I missing something?
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-12-22 22:14
Fromjpff
SubjectRe: [Csnd] gausstrig
Believed fixed i git develop branch.  Please test


On Fri, 22 Dec 2017, jpff wrote:

> OK code is wrong as it reads the kcps at init time before it has a value. 
> Think I can fix.
>
> Congratulatios -- first bug in 6.10
>
> On Fri, 22 Dec 2017, Iain McCurdy wrote:
>
>> I'm encountering something strange with gausstrig. With the following code:
>>  kcps = 440
>>  a1 gausstrig 0.2, kcps, 0.1, 0, 1
>> 
>> No output is produced.
>> It has something to do with p5 (ifrst1). If it is zero (the default) it 
>> works
>> fine. If kcps is replaced by an i-rate variable, or if p4 is non-zero then 
>> it
>> also works. In short, it seems to be the combination of p4=0, p5=non-zero 
>> and
>> a k-rate kcps that causes no output to be produced.
>> 
>> Am I missing something?
>> Csound mailing list Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and features 
>> can
>> be posted here
>> 
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here