Csound Csound-dev Csound-tekno Search About

[Csnd] GEN34 bug (new in csound 5.18)

Date2012-10-02 13:50
Fromjoachim heintz
Subject[Csnd] GEN34 bug (new in csound 5.18)
Attachmentsgen34.csd  
GEN34 no longer allows to use non-power-of-two function tables in the 
source function table (containing partial number, strength and phase in 
n sections).
this worked up to csound 5.17. tested on ubuntu and osx 10.6.
a simple example is attached. best -
	joachim



; Select audio/midi flags here according to platform
-odac      ;;;realtime audio out
;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
; -o gen34.wav -W ;;; for file output any platform



sr = 44100
ksmps = 32
nchnls = 2
0dbfs  = 1

giPartials ftgen 1, 0, -6, -2, 1, 1, 0, 2, .5, 0
giMix    ftgen 2, 0, 262144, -34, 1, giPartials, 1

instr 1	
asig    poscil .5, 400, giMix
         outs asig, asig
endin


i 1 0 2