[Csnd] pvshift
Date | 2011-10-23 15:56 |
From | k_o_m_p |
Subject | [Csnd] pvshift |
I was testing the example from the manual from PVSHIFT and got sound
just from sec 15. The first 5 score events don't produce any sound. Could someone check to see if it is only me or if you are getting the same results? I'm on OSX 10.6.8 csound 5.13 (floats) Thanks. Luis <CsoundSynthesizer> <CsOptions> -odac </CsOptions> <CsInstruments> sr = 44100 ksmps = 16 nchnls = 1 0dbfs = 1 ;; example written by joachim heintz 2009 instr 1 ishift = p4; shift amount in Hz ilowest = p5; lowest frequency to be shifted ikeepform = p6; 0=no formant keeping, 1=keep by amps, 2=keep by spectral envelope ifftsize = 1024 ioverlap = ifftsize / 4 iwinsize = ifftsize iwinshape = 1; von-Hann window Sfile = "fox.wav" ain soundin Sfile fftin pvsanal ain, ifftsize, ioverlap, iwinsize, iwinshape; fft-analysis of file fshift pvshift fftin, ishift, ilowest, ikeepform; shift frequencies aout pvsynth fshift; resynthesize out aout endin </CsInstruments> <CsScore> i 1 0 2.757 0 0 0; no shift at all i 1 3 2.757 100 0 0; shift all frequencies by 100 Hz i 1 6 2.757 200 0 0; by 200 Hz i 1 9 2.757 200 0 1; keep formants by method 1 i 1 12 2.757 200 0 2; by method 2 i 1 15 2.757 200 1000 0; shift by 200 Hz but just above 1000 Hz i 1 18 2.757 1000 500 0; shift by 1000 Hz above 500 Hz i 1 21 2.757 1000 300 0; above 300 Hz e </CsScore> </CsoundSynthesizer> |
Date | 2011-10-23 16:07 |
From | peiman khosravi |
Subject | Re: [Csnd] pvshift |
Hi Luis, This works fine over here on csound 5.14. There was a bug in 5.13 that Victor has now fixed. On 5.13 try adding the igain variable to pvshift and set it to 1 (see below). Best, P |
Date | 2011-10-23 17:52 |
From | Victor Lazzarini |
Subject | Re: [Csnd] pvshift |
yes, this bug has been widely reported... to put me to shame ;) Thankfully there is a simple fix. On 23 Oct 2011, at 16:07, peiman khosravi wrote: > Hi Luis, > > This works fine over here on csound 5.14. > > There was a bug in 5.13 that Victor has now fixed. On 5.13 try adding > the igain variable to pvshift and set it to 1 (see below). > > Best, > > P > > |
Date | 2011-10-23 19:31 |
From | k_o_m_p |
Subject | Re: [Csnd] pvshift |
Thanks. I'll update my csound version. Best, Luis Em 23.10.11 18:52, Victor Lazzarini escreveu: yes, this bug has been widely reported... to put me to shame ;) Thankfully there is a simple fix. --
Severinswall 54 D-50678 Köln http://luisantunespena.eu +49 (0)221 29020757 +49 (0)176 968 09 867 (mobile) |