Csound Csound-dev Csound-tekno Search About

[Csnd] by pvoc to pvs

Date2013-03-28 11:39
FromEnrico Francioni
Subject[Csnd] by pvoc to pvs
Hi!

I am working with the opcode /pvoc/ in real time (that imports a file
/pvx/).
I realize the huge demand for cpu (with /pvoc/).

Which opcode family /pvs/ I can do the same thing as /pvoc/ in real time
(but always using the file /pvx/)?

thanks
enrico



--
View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-03-28 11:47
FromVictor Lazzarini
SubjectRe: [Csnd] by pvoc to pvs
http://www.csounds.com/manual/html/pvsfread.html
On 28 Mar 2013, at 11:39, Enrico Francioni wrote:

Hi!

I am working with the opcode /pvoc/ in real time (that imports a file
/pvx/).
I realize the huge demand for cpu (with /pvoc/).

Which opcode family /pvs/ I can do the same thing as /pvoc/ in real time
(but always using the file /pvx/)?

thanks
enrico



--
View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2013-03-28 11:48
Fromjoachim heintz
SubjectRe: [Csnd] by pvoc to pvs
there is pvsvoc and pvsfread.
perhaps you may want to have a look at
http://en.flossmanuals.net/csound/signal-processing-ii/

best -
	joachim


Am 28.03.2013 12:39, schrieb Enrico Francioni:
> Hi!
>
> I am working with the opcode /pvoc/ in real time (that imports a file
> /pvx/).
> I realize the huge demand for cpu (with /pvoc/).
>
> Which opcode family /pvs/ I can do the same thing as /pvoc/ in real time
> (but always using the file /pvx/)?
>
> thanks
> enrico
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2013-03-29 10:03
FromEnrico Francioni
Subject[Csnd] Re: by pvoc to pvs
my aim is to run this patch very basic (in real-time), but using with opcode
"pvs" 

ktimpnt line	p4, p3, p5
kfmod   linseg	p6, p3/2, p7, p3/2, p8
apvx	pvoc	ktimpnt, kfmod, "file.pvx"





--
View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577p5721591.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-03-29 10:06
FromVictor Lazzarini
SubjectRe: [Csnd] Re: by pvoc to pvs
Use pvsfread then
On 29 Mar 2013, at 10:03, Enrico Francioni wrote:

> 
> my aim is to run this patch very basic (in real-time), but using with opcode
> "pvs" 
> 
> ktimpnt line	p4, p3, p5
> kfmod   linseg	p6, p3/2, p7, p3/2, p8
> apvx	pvoc	ktimpnt, kfmod, "file.pvx"
> 
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577p5721591.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-03-29 11:01
FromEnrico Francioni
Subject[Csnd] Re: by pvoc to pvs
but with /pvsfread/ I can not do the /kfmod/ (as in /pvoc/)



--
View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577p5721593.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-03-29 12:11
FromVictor Lazzarini
SubjectRe: [Csnd] Re: by pvoc to pvs
use pvscale for that.

On 29 Mar 2013, at 11:01, Enrico Francioni wrote:

> but with /pvsfread/ I can not do the /kfmod/ (as in /pvoc/)
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577p5721593.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-03-29 12:47
FromEnrico Francioni
Subject[Csnd] Re: by pvoc to pvs
ok Victor,

but ...
/pvscale/ does not control the /ktimpt/...
and
/pvsfread/ does not control the /kmod/ (/kscal/)

I would check both arguments: /ktimpt/ and /kmod/ (ie /kscal/)





--
View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577p5721598.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-03-29 12:53
FromVictor Lazzarini
SubjectRe: [Csnd] Re: by pvoc to pvs
you have to use both pvsfread and pvscale
On 29 Mar 2013, at 12:47, Enrico Francioni wrote:

> ok Victor,
> 
> but ...
> /pvscale/ does not control the /ktimpt/...
> and
> /pvsfread/ does not control the /kmod/ (/kscal/)
> 
> I would check both arguments: /ktimpt/ and /kmod/ (ie /kscal/)
> 
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577p5721598.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-03-29 13:12
FromEnrico Francioni
Subject[Csnd] Re: by pvoc to pvs
to give /fsig/ to /pvscale/ is essential to the analysis in real time (wav
file) with /pvsanal/?
for example:
fsig  pvsanal   asig, 1024, 256, 1024, 1 ; analyse it
ftps  pvscale   fsig, 1.5, 1, 1               ; transpose it keeping
formants

…

I think (in terms of cpu) /pvoc/ then equivalent to /pvscale/ + /pvsfread/



--
View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577p5721607.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2013-03-29 13:26
FromRichard Dobson
SubjectRe: [Csnd] Re: by pvoc to pvs
On 29/03/2013 12:53, Victor Lazzarini wrote:
> you have to use both pvsfread and pvscale
> On 29 Mar 2013, at 12:47, Enrico Francioni wrote:
>


Just to amplify: the reason the pvoc opcode has the form it has is 
because it is a full self-contained process including resynthesis, 
outputting a simple asig stream. In other words, these transformations 
are combined internally along with the resynthesis. Seen another way - 
no other transformation is possible. Literally all you can control is 
timescaling and pitch shifting.

A key point of the pvs streaming framework was to modularise all 
frequency domain processing, so that users can chain any number of fsig 
opcodes together, using e.g. pvscale along with pvsfread, or any other 
desired transformation (such as pvshift - why not try using both!), 
terminating in a call to pvsynth or pvsadsyn (etc).  So the single pvoc 
opcode is replaced by the combination of pvsbufread, pvscale and pvsynth 
which together provide all the original functionality of the pvoc opcode 
but also leave plenty of room for creating original processes. As a 
bonus, the Mark Dolson (CARL) pvoc code used does windowing rather 
better, so the result has marginally better audio quality than the 
original pvoc.

Richard Dobson






Date2013-03-29 14:16
FromVictor Lazzarini
SubjectRe: [Csnd] Re: by pvoc to pvs
pvsfread produces a fsig - pvscale takes an fsig, regardless of where it comes from.
On 29 Mar 2013, at 13:12, Enrico Francioni wrote:

> 
> to give /fsig/ to /pvscale/ is essential to the analysis in real time (wav
> file) with /pvsanal/?
> for example:
> fsig  pvsanal   asig, 1024, 256, 1024, 1 ; analyse it
> ftps  pvscale   fsig, 1.5, 1, 1               ; transpose it keeping
> formants
> 
> …
> 
> I think (in terms of cpu) /pvoc/ then equivalent to /pvscale/ + /pvsfread/
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577p5721607.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-03-29 15:24
FromEnrico Francioni
Subject[Csnd] Re: by pvoc to pvs
thanks Victor!
I think it is the right solution:

instr 1
idur    filelen "prova.pvx"
kpos   line      0,idur,p3
fsigr 	 pvsfread  kpos,"prova.pvx"
iscal		=	1
fftblur pvscale	fsigr, iscal
aout  	 pvsynth	fftblur
    	out	aout
endin



--
View this message in context: http://csound.1045644.n5.nabble.com/by-pvoc-to-pvs-tp5721577p5721619.html
Sent from the Csound - General mailing list archive at Nabble.com.