| Hi Partev,
Yes, it automatically calculates kr using sr and ksmps.
Regrads,
Hector
On Sun, May 24, 2009 at 9:43 PM, Partev Barr Sarkissian
wrote:
> Is this version of Csound one of those that
> automatically extrapolates "kr" from "sr" and "ksmps"?
>
> -PBS
>
> ====================================================================
>
>
> --- Victor.Lazzarini@nuim.ie wrote:
>
> From: victor
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] Re: looping pvsfread sounds different each time
> Date: Sun, 24 May 2009 20:19:18 +0100
>
> Which version are you using, CVS?
> ----- Original Message -----
> From: "Hector Centeno"
> To:
> Sent: Sunday, May 24, 2009 7:32 PM
> Subject: [Csnd] looping pvsfread sounds different each time
>
>
>> Hello,
>>
>> I'm having a problem that I don't remember having some time ago (maybe
>> pre 5.10?). Using pvsfread to constantly loop a 1.5 seconds stereo pvx
>> file produces different sound each time it loops. I made this short
>> csd for testing purposes:
>>
>>
>>
>>
>> sr=48000
>> ksmps=64
>> nchnls=2
>>
>> instr 1
>> ipvxflen filelen "castanetas2b.pvx"
>> kposcps = (1/ipvxflen)
>> kphasor phasor kposcps
>> kpos = ipvxflen * kphasor
>>
>>
>> fsigInlB pvsfread kpos, "castanetas2b.pvx", 0
>> fsigInrB pvsfread kpos, "castanetas2b.pvx", 1
>>
>> aoutL pvsynth fsigInlB
>> aoutR pvsynth fsigInrB
>>
>> outc aoutL, aoutR
>> endin
>>
>>
>>
>> i1 0 20
>> e
>>
>>
>>
>> The file "castanetas2b.pvx" can be found here in case it has something
>> to do with the problem (it was created using pvanal -n1024):
>> http://www.hcenteno.net/audio/castanetas2b.pvx
>>
>> And this is how it sounds rendered in my system using Fedora 10 and
>> Csound 5.10: http://www.hcenteno.net/audio/castanetast_test.wav
>>
>> Another odd thing is that there is a pause between each repetition
>> while there is no such thing when looping the original wav.
>>
>> Thanks!
>>
>> Hector
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>
>
> _____________________________________________________________
> Netscape. Just the Net You Need.
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
|