Csound Csound-dev Csound-tekno Search About

[Cs-dev] Compress/Distort Opcodes

Date2006-04-22 22:28
FromDavid Akbari
Subject[Cs-dev] Compress/Distort Opcodes
Regarding the Compress and Distort opcodes,

Since I have been unable to perform a complete checkout from CVS I 
looked at the SConstruct file (via SourceForge) and noticed that this 
was pretty much the only line that was added from the version I already 
had:

makePlugin(pluginEnvironment, 'compress', ['Opcodes/compress.c'])

I added this to my other SConstruct from my previously built Csound5. 
Note, I prefer to run Csound5 from the build directory rather than 
installing since I have older versions of Csound installed)

I re-ran SConstruct and everything went fine.

I note that it used the following compilation and linking flags 
(separated by a newline for legibility):

gcc -Wall -O3 -mcpu=7450 -mtune=7450 -fomit-frame-pointer -ffast-math 
-DMACOSX -DPIPES -faltivec -fPIC -DBETA -DHAVE_FCNTL_H -DHAVE_UNISTD_H 
-DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H 
-DHAVE_DIRENT_H -I. -IH -I/usr/include/malloc 
-I/opt/local/include/boost-1_32 -I/usr/include/python2.3 
-I/usr/local/include -c -o Opcodes/compress.os Opcodes/compress.c

/Developer/Tools/Rez -i APPL -o cswish frontends/tclcsound/cswish.r

gcc -framework CoreMidi -framework CoreFoundation -framework CoreAudio 
-dynamiclib -o libcompress.dylib Opcodes/compress.os -L. -L. 
-L/usr/local/lib -L. -L. -lsndfile

/Developer/Tools/Rez -i APPL -o csound cs5.r


*** Yet, for some reason when I run Csound, I get

WARNING: '/Users/daveakbari/CVS/csound5/libcompress.dylib' is not a 
Csound plugin library

In context:

Localisation of messages is disabled, using default language.
time resolution is 1000.000 ns
WARNING: '/Users/daveakbari/CVS/csound5/libcompress.dylib' is not a 
Csound plugin library
PortMIDI real time MIDI plugin for Csound
CoreAudio real-time audio module for Csound
by Victor Lazzarini
JACK real-time audio module for Csound by Istvan Varga
PortAudio real-time audio module for Csound
[... etc continues as expected]

1) Why does the API not recognize this newly compiled libcompress.dylib 
?

2) Why is the fact that 'it is not a Csound plugin library' reported 
before any of the other initializations ? Typically when I see this 
error it doesn't show up until after the audio drivers at least -- like 
so:

[dhcp31-9-141:~/CVS/csound5] daveakba% ./csound -z1
Localisation of messages is disabled, using default language.
time resolution is 1000.000 ns
PortMIDI real time MIDI plugin for Csound
CoreAudio real-time audio module for Csound
by Victor Lazzarini
JACK real-time audio module for Csound by Istvan Varga
PortAudio real-time audio module for Csound
WARNING: '/Users/daveakbari/CVS/csound5/tclcsound.dylib' is not a 
Csound plugin library
0dBFS level = 32768.0
Csound version 5.01.1 beta (float samples) Apr 20 2006
libsndfile-1.0.13
rtaudio: PortAudio module enabled ... using callback interface
rtmidi: PortMIDI module enabled
**** OSC: liblo started ****
WARNING: '/Users/daveakbari/CVS/csound5/lib_csnd.dylib' is not a Csound 
plugin library
1234 opcodes
[...]


Any help appreciated!



-David



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net