| Hi again,
I did some further troubleshooting considering what everyone said and
found something interesting.... My p fields were correct, but I noticed an
extra comma in the asig 1 line as follows... Is that a correct warning for
that? Or is that a little problem with Csound? When I took away the comma
the warnings went away..... I am using Winsound 3.56 on WinNT. It has some
great improvements this revision. Anyway here is the code and thanks again
for all your help. (I realize this is a pretty basic instrument, but I am
learning.)
Michael
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2
instr 1
iamp = ampdb(p4)* .1428
ifreq = cpspch(p5)
irise = p6
idec = p7
krate1 linen iamp, irise, p3, idec
krate2 linen iamp * .95, irise * .99, p3, idec* .99
krate3 linen iamp * .95, irise * .98, p3, idec* .98
krate4 linen iamp * .75, irise * .97, p3, idec* .97
krate5 linen iamp * .75, irise * .96, p3, idec* .96
krate6 linen iamp * .50, irise * .95, p3, idec* .95
krate7 linen iamp * .50, irise * .94, p3, idec* .94
a1 oscili krate1, ifreq, p8
a2 oscili krate2, ifreq * 1.005, p8
a3 oscili krate3, ifreq * .995, p8
a4 oscili krate4, ifreq * .95, p8
a5 oscili krate5, ifreq * .96, p8
a6 oscili krate6, ifreq * .91, p8
a7 oscili krate7, ifreq * .90, p8
asig1 = a1 + (a2 + a4 + a6), :here is the unneeded comma
asig2 = a1 + (a3 + a5 + a7)
a8 streson asig1, 200, .5 ;string resonator (subtle flanging)
a9 streson asig2, 200, .5
outs a8, a9
endin
http://www.innerlightpub.com/rhoadsmith
----- Original Message -----
From: Michael Rhoades
To: Csound List
Sent: Saturday, July 31, 1999 7:23 PM
Subject: Re: Warning
> Thank you to all who responded to my question. Makes perfect sense now
that
> I know. I will look at my .orc an find the problem. It's always a mystery
> until you know the answer, then you wonder how you could have missed it.
> Thanks again!!
>
> Michael
>
> http://www.innerlightpub.com/rhoadsmith
> ----- Original Message -----
> From: Tobiah
> To: Michael Rhoades
> Cc: Csound List
> Sent: Saturday, July 31, 1999 2:39 PM
> Subject: Re: Warning
>
>
> > You have one to many fields in your score, prolly from
> > another orc. It is being ignored, and you may do the
> > same if you wish.
> >
> > Otherwise, you could always do something like
> >
> > :%s/ *[^ ]* *$//
> >
> >
> > in vim to easily hack off the extra pfields if the score
> > is very long.
> >
> > Sometimes I just put
> >
> > ifoo init p8
> >
> > in the orc to placate it.
> >
> >
> >
> >
> > Michael Rhoades wrote:
> > >
> > > Hi all,
> > >
> > > I realize this is probably a very basic question, but being
fairly
> new
> > > to Csound I hope you will bare with me.
> > > I am getting warning messages when rendering. It is Warning:
instr
> 1
> > > pmax=7, note pcnt=8 . What does this mean? I have gotten this somewhat
> > > frequently and would like to clean up my code if possible.As far as I
> can
> > > tell it does not effect the sound, but something must be wrong with
> what I
> > > am doing. Any help on this would be greatly appreciated.
> > >
> > > Michael
> > >
> > > http://www.innerlightpub.com/rhoadsmith
> >
>
> |