Csound Csound-dev Csound-tekno Search About

[Csnd] Linen idur too short

Date2018-10-11 17:41
Fromfauveboy
Subject[Csnd] Linen idur too short
Why is it necessary that linen tells you the idur is too short with the
following program?







sr = 44100
ksmps = 128
nchnls = 2
0dbfs = 1.0

		instr 1
imodind	=		p4/20
iattmod	=		1/(imodind+1)

kenv		linen 	ampdb(p4),.1, p3,.1; AMP ENV
kmodenv	linen		imodind, iattmod, p3, .1
asig		foscil	kenv, cpspch(p5), 1, 1,kmodenv, 1
		outs		asig, asig
		endin
		




f1 0 16384 10 1

;	INST		ST		DUR		DB
i	1		0		0.5		-10

	;PCH		
	7.05
	
	






--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

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

Date2018-10-11 17:58
Fromjpff
SubjectRe: [Csnd] Linen idur too short
No idea.  Code says

      if (len<(irisWarning(csound, Str("p3 too short in linen"));
where len is the p3 of the instrument


On Thu, 11 Oct 2018, fauveboy wrote:

> Why is it necessary that linen tells you the idur is too short with the
> following program?
>
>
> 
> 
> 
> 
>
> sr = 44100
> ksmps = 128
> nchnls = 2
> 0dbfs = 1.0
>
> 		instr 1
> imodind	=		p4/20
> iattmod	=		1/(imodind+1)
>
> kenv		linen 	ampdb(p4),.1, p3,.1; AMP ENV
> kmodenv	linen		imodind, iattmod, p3, .1
> asig		foscil	kenv, cpspch(p5), 1, 1,kmodenv, 1
> 		outs		asig, asig
> 		endin
>
>
>
> 
> 
> f1 0 16384 10 1
>
> ;	INST		ST		DUR		DB
> i	1		0		0.5		-10
>
> 	;PCH
> 	7.05
>
>
>
> 
> 
>
>
>
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
>
> 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