Hi Aidan, Thanks for your time taken to review the code. I was aware of the comment line, i was commenting that instrument in and out whilst trying to figure out what was causing the clipping. I will try employ amplitude envelopes over the the outputs and report back. Once again, thanks a million, Regards Graham ----- Original Message ----- From: Aidan Collins Date: Tuesday, February 9, 2010 1:49 pm Subject: [Csnd] Re: Clipping To: csound@lists.bath.ac.uk > Hi Graham, > > I just took a look at your csd and noticed a few things.... > > Firstly, there was a '*/' in the score, but without the opening > comment block so the instances of intr 1 were still playing as well. > When I closed the comment block to only play instr 2, there were no > samples out of range. > > More importantly, you don't seem to have amplitude envelopes for any > of your instruments, this will cause a popping sound when the note > events end as the amplitude is suddenly dropping from a value to 0. > You can use linseg or expseg or adsr or something to modify the > amplitude value of the sound generator (is it gbuzz?) to start > and end > the note instances at 0 and you shouldn't have that popping. > > > Aidan > > > > On Tue, Feb 9, 2010 at 7:28 AM, > wrote:> Hi Csounders, > > > > I am very much a new user to csound. I am having a problem > with clipping > > when my instrument 2 moves to the next score event. I know > there is a simple > > solution to this as i have used it before, but for the life of > me i cannot > > recall. > > I was also wondering if anyone can tell me why i am getting > samples out of > > range. I know that it refers to amplitude being too high, but > i'm not sure > > why this is occuring as i have scaled down the amplitude > significantly.> > > Thanks for any help/advice > > > > Regards, > > > > Graham Jenkin > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body > "unsubscribe csound" Send bugs reports to this list. To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"