Csound Csound-dev Csound-tekno Search About

[Csnd] pvsarp opcode

Date2007-11-14 17:58
From
Subject[Csnd] pvsarp opcode
Can someone suggest what I should expect this to do?  
At present it does nothing that I can hear

==John ffitch
	sr	=	44100
	kr	=	4410
	ksmps	=	10
	nchnls	=	1

instr 1
  prints    "pvsarp     "
  ain       soundin     "cage.wav"
  fsig      pvsanal     ain, 1024, 256, 1024, 0
  kbin      oscili      0.1, 0.5, 1             ; ftable 1 in the 0-1 range
  ftps      pvsarp      fsig, kbin+0.01, 0, 2   ; arpeggiate it (range 220.5 - 2425.5)
  atps      pvsynth     ftps                    ; synthesise it
            out         atps
endin

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


f1      0       4096    20      1

i1 0 4
e

Date2007-11-14 18:22
Frompeiman
Subject[Csnd] Re: pvsarp opcode
Hi John,

It is not making any changes because the 'depth' parameter is set to 0,
which effectively means no magnification of the central bin.  Try this one.

Best
Peiman





	sr	=	44100
	kr	=	4410
	ksmps	=	10
	nchnls	=	1

instr 1
  idepth = .9
  ain       soundin     "/Users/peimankhosravi/Desktop/grains slow down.wav"
  fsig      pvsanal     ain, 1024, 256, 1024, 0
  kbin      oscili      0.1, 0.5, 1             ; ftable 1 in the 0-1 range
  ftps      pvsarp      fsig, kbin+0.01, idepth, 2   ; arpeggiate it (range
220.5 - 2425.5)
  atps      pvsynth     ftps                    ; synthesise it
            out         atps
endin





f1      0       4096    20      1

i1 0 4
e










jpff-2 wrote:
> 
> Can someone suggest what I should expect this to do?  
> At present it does nothing that I can hear
> 
> ==John ffitch
> 	sr	=	44100
> 	kr	=	4410
> 	ksmps	=	10
> 	nchnls	=	1
> 
> instr 1
>   prints    "pvsarp     "
>   ain       soundin     "cage.wav"
>   fsig      pvsanal     ain, 1024, 256, 1024, 0
>   kbin      oscili      0.1, 0.5, 1             ; ftable 1 in the 0-1
> range
>   ftps      pvsarp      fsig, kbin+0.01, 0, 2   ; arpeggiate it (range
> 220.5 - 2425.5)
>   atps      pvsynth     ftps                    ; synthesise it
>             out         atps
> endin
> 
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> 
> 
> f1      0       4096    20      1
> 
> i1 0 4
> e
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 

-- 
View this message in context: http://www.nabble.com/pvsarp-opcode-tf4806989.html#a13753403
Sent from the Csound - General mailing list archive at Nabble.com.


Date2007-11-14 18:48
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Re: pvsarp opcode
Thank you!  Perhaps the manual shoudl be changed as well as the example 
came straight out of the manual
==John



Date2007-11-14 19:40
Frompeiman
Subject[Csnd] Re: Re: pvsarp opcode
Indeed it should :-)

p


jpff-2 wrote:
> 
> Thank you!  Perhaps the manual shoudl be changed as well as the example 
> came straight out of the manual
> ==John
> 
> 
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 

-- 
View this message in context: http://www.nabble.com/pvsarp-opcode-tf4806989.html#a13754948
Sent from the Csound - General mailing list archive at Nabble.com.