Cabbage Logo
Back to Cabbage Site

Warning : Could not open library .../py.dll :(


        instr     106                    
a1         loscil  10000, 440, 4  ;sample-based looping oscillator
        out     a1
        endin
        


</CsInstruments>

<CsScore>

; Function 1 uses the GEN10 subroutine to compute a sine wave
; Function 2 uses the GEN10 subroutine to compute the first sixteen partials of a sawtooth wave
; Function 3 uses the GEN20 subroutine to compute a Hanning window for use as a grain envelope
; Function 4 uses the GEN01 subroutine to read in an AIF audio file

f 1  0 4096 10   1    
f 2  0 4096 10   1  .5 .333 .25 .2 .166 .142 .125 .111 .1 .09 .083 .076 .071 .066 .062
f 3  0 4097 20   2  1
f 4  0 0    1   "sing.aif" 0 4 0


;inst    start    duration
i 101        0        3
i 102        4        3
i 103          8       3
i 104        12      3
i 105         16      3
i 106         20      2.3




------- Compiler End -------

Compiler Info/Warnings/Errors:
time resolution is 540.184 ns
WARNING: could not open library 'C:\Program Files (x86)\Csound6\plugins64\\py.dll' (-1)
soundin cannot open sing.aif
ftable 4: Failed to open file
INIT ERROR in instr 106: Invalid ftable no. 4.000000
 - note deleted.  i106 had 1 init errors

Hello everyone! Having a forum like this is a blessing indeed.

Being a noob in Csound, I’ve been studying ‘The Csound Book’, where some etudes are given to be played in a csound front-end(Winxound in my case).

I’ve copied and pasted a segment of .csd file and the outcome in the compiler window, for a better understanding.

The warning “WARNING: could not open library ‘C:\Program Files (x86)\Csound6\plugins64\py.dll’ (-1)” really bugs the hell out of me :frowning2:

Would be grateful if someone could save me?

Thanks in advance,
Gyu

In this case your biggest problem is the missing “sing.aif” audio file. That’s why soundin cannot open it and the ftable no. 4 never gets created. Which means loscil (probably in inst. 106) complains about an invalid ftable no. 4.00000.

Regarding py.dll, I can’t say much because I’m on Linux. I’ve had an issue with that opcode here because apparently Csound isn’t compatible with python3 yet, but that was because I’d built it myself.

How did you install Csound?
Do you have python installed?
Does ‘C:\Program Files (x86)\Csound6\plugins64\py.dll’ exist as a file?

Cheers.

What version of Cabbage did you install? And did you select to install the Python opcodes?