Csound Csound-dev Csound-tekno Search About

[Csnd] pops and clicks!

Date2009-12-05 21:57
FromSiobhán Maher
Subject[Csnd] pops and clicks!
i have been keeping track of this list for the last few months but have never posted to it before...i'm fairly new to csound and still trying to find my feet with it

how do you stop pops/clicks in the audio when it's changing from one note to the next?

this is what i've got done and when it moves from one event in the score to the next there are clicks and i want to know how to stop them! any help would be greatly appreciated! thanks! :)

<CsoundSynthesizer>
<CsOptions>
-o ring.wav
</CsOptions>
<CsInstruments>

0dbfs = 1 

instr 1
p5=cpspch(p5)
kenv linen 0.3, 0.4, 0.7, 0.2
a1 oscili p4, p5, 1
a2 oscili a1, 6.00, 1
afin balance a2,a1

out afin
endin

</CsInstruments>
<CsScore>


f1 0 1024 10 1 [1/2] [1/4] [1/6] [1/8]
i1 0 4 0.5 6.00
i1 4 4 0.5 6.02
i1 8 4 0.5 6.04
i1 12 4 0.5 6.02
i1 16 4 0.3 6.00
i1 16 4 0.3 6.02
i1 16 4 0.3 6.04

</CsScore>
</CsoundSynthesizer>


Date2009-12-05 22:08
FromVictor Lazzarini
Subject[Csnd] Re: pops and clicks!
You forgot to use 'kenv'. Try
a1 oscili kenv, p5, 1


On 5 Dec 2009, at 21:57, Siobhán Maher wrote:

> i have been keeping track of this list for the last few months but  
> have never posted to it before...i'm fairly new to csound and still  
> trying to find my feet with it
>
> how do you stop pops/clicks in the audio when it's changing from one  
> note to the next?
>
> this is what i've got done and when it moves from one event in the  
> score to the next there are clicks and i want to know how to stop  
> them! any help would be greatly appreciated! thanks! :)
>
> 
> 
> -o ring.wav
> 
> 
>
> 0dbfs = 1
>
> instr 1
> p5=cpspch(p5)
> kenv linen 0.3, 0.4, 0.7, 0.2
> a1 oscili p4, p5, 1
> a2 oscili a1, 6.00, 1
> afin balance a2,a1
>
> out afin
> endin
>
> 
> 
>
>
> f1 0 1024 10 1 [1/2] [1/4] [1/6] [1/8]
> i1 0 4 0.5 6.00
> i1 4 4 0.5 6.02
> i1 8 4 0.5 6.04
> i1 12 4 0.5 6.02
> i1 16 4 0.3 6.00
> i1 16 4 0.3 6.02
> i1 16 4 0.3 6.04
>
> 
> 
>



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-12-05 22:13
FromSiobhán Maher
Subject[Csnd] Re: Re: pops and clicks!
hmmm that seemingly makes it worse...but that could be a problem with the envelope perhaps...i'll try changing some values around or something 

thanks :)

2009/12/5 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
You forgot to use 'kenv'. Try
a1 oscili kenv, p5, 1



On 5 Dec 2009, at 21:57, Siobhán Maher wrote:

i have been keeping track of this list for the last few months but have never posted to it before...i'm fairly new to csound and still trying to find my feet with it

how do you stop pops/clicks in the audio when it's changing from one note to the next?

this is what i've got done and when it moves from one event in the score to the next there are clicks and i want to know how to stop them! any help would be greatly appreciated! thanks! :)

<CsoundSynthesizer>
<CsOptions>
-o ring.wav
</CsOptions>
<CsInstruments>

0dbfs = 1

instr 1
p5=cpspch(p5)
kenv linen 0.3, 0.4, 0.7, 0.2
a1 oscili p4, p5, 1
a2 oscili a1, 6.00, 1
afin balance a2,a1

out afin
endin

</CsInstruments>
<CsScore>


f1 0 1024 10 1 [1/2] [1/4] [1/6] [1/8]
i1 0 4 0.5 6.00
i1 4 4 0.5 6.02
i1 8 4 0.5 6.04
i1 12 4 0.5 6.02
i1 16 4 0.3 6.00
i1 16 4 0.3 6.02
i1 16 4 0.3 6.04

</CsScore>
</CsoundSynthesizer>




Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2009-12-05 22:20
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: pops and clicks!
oh, your envelope needs a p3 in it. Should also use p4 if this is amplitude:

kenv linen p4,0.4,p3,0.2


On 5 Dec 2009, at 22:13, Siobhán Maher wrote:

hmmm that seemingly makes it worse...but that could be a problem with the envelope perhaps...i'll try changing some values around or something 

thanks :)

2009/12/5 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
You forgot to use 'kenv'. Try
a1 oscili kenv, p5, 1



On 5 Dec 2009, at 21:57, Siobhán Maher wrote:

i have been keeping track of this list for the last few months but have never posted to it before...i'm fairly new to csound and still trying to find my feet with it

how do you stop pops/clicks in the audio when it's changing from one note to the next?

this is what i've got done and when it moves from one event in the score to the next there are clicks and i want to know how to stop them! any help would be greatly appreciated! thanks! :)

<CsoundSynthesizer>
<CsOptions>
-o ring.wav
</CsOptions>
<CsInstruments>

0dbfs = 1

instr 1
p5=cpspch(p5)
kenv linen 0.3, 0.4, 0.7, 0.2
a1 oscili p4, p5, 1
a2 oscili a1, 6.00, 1
afin balance a2,a1

out afin
endin

</CsInstruments>
<CsScore>


f1 0 1024 10 1 [1/2] [1/4] [1/6] [1/8]
i1 0 4 0.5 6.00
i1 4 4 0.5 6.02
i1 8 4 0.5 6.04
i1 12 4 0.5 6.02
i1 16 4 0.3 6.00
i1 16 4 0.3 6.02
i1 16 4 0.3 6.04

</CsScore>
</CsoundSynthesizer>




Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2009-12-05 22:24
FromSiobhán Maher
Subject[Csnd] Re: Re: Re: Re: pops and clicks!
ah yes! silly mistake! 

thanks very much! :)

2009/12/5 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
oh, your envelope needs a p3 in it. Should also use p4 if this is amplitude:

kenv linen p4,0.4,p3,0.2


On 5 Dec 2009, at 22:13, Siobhán Maher wrote:

hmmm that seemingly makes it worse...but that could be a problem with the envelope perhaps...i'll try changing some values around or something 

thanks :)

2009/12/5 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
You forgot to use 'kenv'. Try
a1 oscili kenv, p5, 1



On 5 Dec 2009, at 21:57, Siobhán Maher wrote:

i have been keeping track of this list for the last few months but have never posted to it before...i'm fairly new to csound and still trying to find my feet with it

how do you stop pops/clicks in the audio when it's changing from one note to the next?

this is what i've got done and when it moves from one event in the score to the next there are clicks and i want to know how to stop them! any help would be greatly appreciated! thanks! :)

<CsoundSynthesizer>
<CsOptions>
-o ring.wav
</CsOptions>
<CsInstruments>

0dbfs = 1

instr 1
p5=cpspch(p5)
kenv linen 0.3, 0.4, 0.7, 0.2
a1 oscili p4, p5, 1
a2 oscili a1, 6.00, 1
afin balance a2,a1

out afin
endin

</CsInstruments>
<CsScore>


f1 0 1024 10 1 [1/2] [1/4] [1/6] [1/8]
i1 0 4 0.5 6.00
i1 4 4 0.5 6.02
i1 8 4 0.5 6.04
i1 12 4 0.5 6.02
i1 16 4 0.3 6.00
i1 16 4 0.3 6.02
i1 16 4 0.3 6.04

</CsScore>
</CsoundSynthesizer>




Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"