Csound Csound-dev Csound-tekno Search About

[Csnd] pvstencil question

Date2009-12-01 19:56
FromPeiman Khosravi
Subject[Csnd] pvstencil question
Hello,

For some reason when the level variable of pvstencil is set to one not much is happening. I need to increase this to at least 3 or 4 to get any significant results. Is this because I am using pvsftw to write the noise print to table? According to the manual skipping post normalization (setting this to one) should be a good place to start. 

fsig pvstencil fsigin, kgain, klevel, iftable

Thanks in advance.

Best,

Peiman

fsig1 pvsanal ain1, ifftsize, ihop, iwindow, p7
fsig2 pvsanal ain2, ifftsize, ihop, iwindow, p7


fsrc1 pvsblur fsig1, 0.5, 0.5
fsrc2 pvsblur fsig2, 0.5, 0.5


fsigfr1 pvsfreeze fsrc1, kfreez, kfreez
fsigfr2 pvsfreeze fsrc2, kfreez, kfreez

if (kfreez>0) then
kflag1 pvsftw fsigfr1, giftable1
kflag2 pvsftw fsigfr2, giftable2
endif

fout1 pvstencil fsig1, kgain, klevel, giftable1
fout2 pvstencil fsig2, kgain, klevel, giftable2

Date2009-12-01 21:32
Fromvictor
Subject[Csnd] Re: pvstencil question
yes, basically this depends on the level of the amps on the table, so klevel is really there to be used. With GEN43, the usual application of pvstencil, if we skip post-normalisation, the level does not normally need to be touched. The main point here is that if the table is very low-level throughout, no stenciling happens, because signal levels will not normally fall below the table level.
 
Victor
----- Original Message -----
Sent: Tuesday, December 01, 2009 7:56 PM
Subject: [Csnd] pvstencil question

Hello,

For some reason when the level variable of pvstencil is set to one not much is happening. I need to increase this to at least 3 or 4 to get any significant results. Is this because I am using pvsftw to write the noise print to table? According to the manual skipping post normalization (setting this to one) should be a good place to start. 

fsig pvstencil fsigin, kgain, klevel, iftable

Thanks in advance.

Best,

Peiman

fsig1 pvsanal ain1, ifftsize, ihop, iwindow, p7
fsig2 pvsanal ain2, ifftsize, ihop, iwindow, p7


fsrc1 pvsblur fsig1, 0.5, 0.5
fsrc2 pvsblur fsig2, 0.5, 0.5


fsigfr1 pvsfreeze fsrc1, kfreez, kfreez
fsigfr2 pvsfreeze fsrc2, kfreez, kfreez

if (kfreez>0) then
kflag1 pvsftw fsigfr1, giftable1
kflag2 pvsftw fsigfr2, giftable2
endif

fout1 pvstencil fsig1, kgain, klevel, giftable1
fout2 pvstencil fsig2, kgain, klevel, giftable2

Date2009-12-01 21:48
FromPeiman Khosravi
Subject[Csnd] Re: Re: pvstencil question
Thanks Victor. That answers my question. Just wanted to make sure I am not doing something wrong.

Best,

Peiman

On 1 Dec 2009, at 21:32, victor wrote:

yes, basically this depends on the level of the amps on the table, so klevel is really there to be used. With GEN43, the usual application of pvstencil, if we skip post-normalisation, the level does not normally need to be touched. The main point here is that if the table is very low-level throughout, no stenciling happens, because signal levels will not normally fall below the table level.
 
Victor
----- Original Message -----
Sent: Tuesday, December 01, 2009 7:56 PM
Subject: [Csnd] pvstencil question

Hello,

For some reason when the level variable of pvstencil is set to one not much is happening. I need to increase this to at least 3 or 4 to get any significant results. Is this because I am using pvsftw to write the noise print to table? According to the manual skipping post normalization (setting this to one) should be a good place to start. 

fsig pvstencil fsigin, kgain, klevel, iftable

Thanks in advance.

Best,

Peiman

fsig1 pvsanal ain1, ifftsize, ihop, iwindow, p7
fsig2 pvsanal ain2, ifftsize, ihop, iwindow, p7


fsrc1 pvsblur fsig1, 0.5, 0.5
fsrc2 pvsblur fsig2, 0.5, 0.5


fsigfr1 pvsfreeze fsrc1, kfreez, kfreez
fsigfr2 pvsfreeze fsrc2, kfreez, kfreez

if (kfreez>0) then
kflag1 pvsftw fsigfr1, giftable1
kflag2 pvsftw fsigfr2, giftable2
endif

fout1 pvstencil fsig1, kgain, klevel, giftable1
fout2 pvstencil fsig2, kgain, klevel, giftable2