Csound Csound-dev Csound-tekno Search About

[Csnd] pvshift on OSX quirk

Date2011-04-13 10:44
FromIain McCurdy
Subject[Csnd] pvshift on OSX quirk
If the optional arguments for pvshift are omitted on OSX Csound ver.5.13 it doesn't seem to produce any output. I guess igain is defaulting to zero instead of 1. The problem does not appear on Windows or Linux.

giwave    ftgen    1,0,4096,10,1,1/2,1/4,1/8,1/16,1/32

instr     1
  a1  oscili  0.5,400,1
  f1  pvsanal a1,1024,256,1024,1
  f2  pvshift f1,100,20  ;, 0,1
  a2  pvsynth f2
      out     a2
;no sound unless commented optional arguments for pvshift are included!
endin


Iain

Date2011-04-13 11:50
Frompeiman khosravi
SubjectRe: [Csnd] pvshift on OSX quirk
Yes, Victor has fixed this in the CVS.

P

On 13/04/2011 10:44, Iain McCurdy wrote:
If the optional arguments for pvshift are omitted on OSX Csound ver.5.13 it doesn't seem to produce any output. I guess igain is defaulting to zero instead of 1. The problem does not appear on Windows or Linux.

giwave    ftgen    1,0,4096,10,1,1/2,1/4,1/8,1/16,1/32

instr     1
  a1  oscili  0.5,400,1
  f1  pvsanal a1,1024,256,1024,1
  f2  pvshift f1,100,20  ;, 0,1
  a2  pvsynth f2
      out     a2
;no sound unless commented optional arguments for pvshift are included!
endin


Iain


Date2011-04-13 14:08
FromVictor Lazzarini
SubjectRe: [Csnd] pvshift on OSX quirk
yes, I noticed this, it's a bug that I introduced when rewriting the formant code, Peiman had alerted that to me.
 It's fixed it in GIT.

Victor

On 13 Apr 2011, at 10:44, Iain McCurdy wrote:

If the optional arguments for pvshift are omitted on OSX Csound ver.5.13 it doesn't seem to produce any output. I guess igain is defaulting to zero instead of 1. The problem does not appear on Windows or Linux.

giwave    ftgen    1,0,4096,10,1,1/2,1/4,1/8,1/16,1/32

instr     1
  a1  oscili  0.5,400,1
  f1  pvsanal a1,1024,256,1024,1
  f2  pvshift f1,100,20  ;, 0,1
  a2  pvsynth f2
      out     a2
;no sound unless commented optional arguments for pvshift are included!
endin


Iain

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2011-04-13 15:12
FromIain McCurdy
SubjectRE: [Csnd] pvshift on OSX quirk
Thanks Victor and Peiman, wasn't aware that it was already known about and thought I'd mention it as I'd got stuck on it for a few hours while preparing a piece.
Iain


From: Victor.Lazzarini@nuim.ie
To: csound@lists.bath.ac.uk
Date: Wed, 13 Apr 2011 14:08:15 +0100
Subject: Re: [Csnd] pvshift on OSX quirk

yes, I noticed this, it's a bug that I introduced when rewriting the formant code, Peiman had alerted that to me.
 It's fixed it in GIT.

Victor

On 13 Apr 2011, at 10:44, Iain McCurdy wrote:

If the optional arguments for pvshift are omitted on OSX Csound ver.5.13 it doesn't seem to produce any output. I guess igain is defaulting to zero instead of 1. The problem does not appear on Windows or Linux.

giwave    ftgen    1,0,4096,10,1,1/2,1/4,1/8,1/16,1/32

instr     1
  a1  oscili  0.5,400,1
  f1  pvsanal a1,1024,256,1024,1
  f2  pvshift f1,100,20  ;, 0,1
  a2  pvsynth f2
      out     a2
;no sound unless commented optional arguments for pvshift are included!
endin


Iain

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2011-04-13 16:22
FromVictor Lazzarini
SubjectRe: [Csnd] pvshift on OSX quirk
sorry, my fault. Hopefully this is now fixed for the next release.
On 13 Apr 2011, at 15:12, Iain McCurdy wrote:

Thanks Victor and Peiman, wasn't aware that it was already known about and thought I'd mention it as I'd got stuck on it for a few hours while preparing a piece.
Iain 


From: Victor.Lazzarini@nuim.ie
To: csound@lists.bath.ac.uk
Date: Wed, 13 Apr 2011 14:08:15 +0100
Subject: Re: [Csnd] pvshift on OSX quirk

yes, I noticed this, it's a bug that I introduced when rewriting the formant code, Peiman had alerted that to me.
 It's fixed it in GIT.

Victor

On 13 Apr 2011, at 10:44, Iain McCurdy wrote:

If the optional arguments for pvshift are omitted on OSX Csound ver.5.13 it doesn't seem to produce any output. I guess igain is defaulting to zero instead of 1. The problem does not appear on Windows or Linux.

giwave    ftgen    1,0,4096,10,1,1/2,1/4,1/8,1/16,1/32

instr     1
  a1  oscili  0.5,400,1
  f1  pvsanal a1,1024,256,1024,1
  f2  pvshift f1,100,20  ;, 0,1
  a2  pvsynth f2
      out     a2
;no sound unless commented optional arguments for pvshift are included!
endin


Iain

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie