Thanks for the report. I'll check it and hopefully fix this tomorrow.
----- Original Message -----
From: Mark Van Peteghem <Mark.Van.Peteghem@telenet.be>
Date: Monday, May 23, 2011 10:50 pm
Subject: [Csnd] Bug with pvshift
To: csound@lists.bath.ac.uk
> Hi,
>
> There seems to be a bug with pvshift. When I modify a signal
> with it,
> the amplitude becomes a lot smaller, and even after applying a
> gain it
> sounds completely different from the original signal, even if
> the
> frequency shift is very small or even zero.
>
> (This is with the doubles version of CSound 5.13 on Windows XP)
>
> Here is a csd that shows the problem (I first found this problem
> with a
> sampled file, but a sawtooth shows the problem just as well):
>
> <CsoundSynthesizer>
>
> <CsInstruments>
> sr=44100
> ksmps=1
> nchnls=2
>
> instr 1
> kenv linen 10000, 0.1, p3, 0.1
> asig vco2 kenv, 200
> fsig pvsanal asig, 1024,256,2048,0
> fsigo pvshift fsig, 0.1, 100
> aout pvsynth fsigo
> aout = aout*2000
> outs aout, aout
> ;outs asig, asig
> endin
> </CsInstruments>
>
> <CsScore>
> i1 0 1
> e
> </CsScore>
> </CsoundSynthesizer>
>
>
> --
> Mark
> _________________________________________
> When you get lemons, you make lemonade.
> When you get hardware, you make software.
>
>
>
> 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,
National University of Ireland, Maynooth