| That works fine, thanks!
Victor Lazzarini wrote:
> Mark,
>
> I've only realised now that this bug has been reported and fixed in
> GIT. The problem is that pvshift gain gets initialised to 0, so
> to fix it (for now, before next release), just set it to 1, e.g.
>
> fs1 pvshift fsin, 0.1,100,0,1
>
> (if you want more details, you'll find it in the list archives)
>
> Victor
>
>
> On 23 May 2011, at 22:50, Mark Van Peteghem wrote:
>
>> 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):
>>
>>
>>
>>
>> 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
>>
>>
>>
>> i1 0 1
>> e
>>
>>
>>
>>
>> --
>> 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
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> 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"
>
> |