[Cs-dev] (no subject)
Date | 2011-11-29 13:47 |
From | Anders Genell |
Subject | [Cs-dev] (no subject) |
Attachments | None None |
Just pulled from git, built (on a i386 Ubuntu machine) and ran a simple csd (included below). Is it just me, or is there a bug or two? Partly the "globals already allocated" and partly setting 0dBFS level = 32768, thus ignoring 0dbfs = 1 in the csd... Regards, /A ~$ csound toot.csd time resolution is 1.250 ns 0dBFS level = 32768.0 Csound version 5.14 beta (float samples) Nov 29 2011 libsndfile-1.0.21 UnifiedCSD: toot.csd STARTING FILE Creating options Creating orchestra Creating score stdopcod.c: error: globals already allocated ======================================= <CsoundSynthesizer> <CsOptions> ; Select audio/midi flags here according to platform ; Audio out Audio in No messages -odac -d -+rtaudio=alsa -b1024 -B4096 </CsOptions> <CsInstruments> ; A sine with oscillator with flslider controlled frequency sr = 44100 ksmps = 512 nchnls = 2 0dbfs = 1 instr 1 iamp = 0.5 ifn = 1 kfreq=1000 asig oscili iamp, kfreq, ifn out asig endin </CsInstruments> <CsScore> ; Function table that defines a single cycle ; of a sine wave. f 1 0 1024 10 1 ; Instrument 1 will play a note for 10 seconds. i 1 0 10 e </CsScore> </CsoundSynthesizer> |
Date | 2011-11-29 14:03 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] (no subject) |
you need to clear all the plugins in your OPCODEDIR because they were moved to the csound library and now they're duplicated in your system. Victor On 29 Nov 2011, at 13:47, Anders Genell wrote: > Just pulled from git, built (on a i386 Ubuntu machine) and ran a simple csd (included below). > Is it just me, or is there a bug or two? > Partly the "globals already allocated" and partly setting 0dBFS level = 32768, thus ignoring 0dbfs = 1 in the csd... > > Regards, > /A > > ~$ csound toot.csd > time resolution is 1.250 ns > 0dBFS level = 32768.0 > Csound version 5.14 beta (float samples) Nov 29 2011 > libsndfile-1.0.21 > UnifiedCSD: toot.csd > STARTING FILE > Creating options > Creating orchestra > Creating score > stdopcod.c: error: globals already allocated > > > ======================================= > |
Date | 2011-11-29 14:38 |
From | Anders Genell |
Subject | Re: [Cs-dev] (no subject) |
Attachments | None None |
Still don't get it to work (but building from an old 5.13-tarball works fine)... ~/csound5$ sudo rm -rf /usr/lib/csound/plugins/* ~/csound5$ sudo python install.py install.py:6: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Csound5 Linux installer by Istvan Varga /usr *** WARNING: found an already existing installation of Csound *** Uninstall it ? Type 'yes', or 'no' to quit: yes --- Removing old Csound installation... === Installing executables === /usr/bin/csound /usr/bin/cvanal /usr/bin/dnoise /usr/bin/envext /usr/bin/extractor /usr/bin/het_export /usr/bin/het_import /usr/bin/hetro /usr/bin/lpanal /usr/bin/lpc_export /usr/bin/lpc_import /usr/bin/mixer /usr/bin/pvanal /usr/bin/pv_export /usr/bin/pv_import /usr/bin/atsa /usr/bin/pvlook /usr/bin/scale /usr/bin/sndinfo /usr/bin/srconv /usr/bin/scsort /usr/bin/extract /usr/bin/cs /usr/bin/csb64enc /usr/bin/makecsd /usr/bin/scot /usr/bin/brkpt /usr/bin/linseg /usr/bin/tabdes === Installing libraries === /usr/lib/libcsound.a === Installing plugins === /usr/lib/csound/plugins/librtalsa.so /usr/lib/csound/plugins/libphisem.so /usr/lib/csound/plugins/libambicode1.so /usr/lib/csound/plugins/libudprecv.so /usr/lib/csound/plugins/libcs_date.so /usr/lib/csound/plugins/libtabfns.so /usr/lib/csound/plugins/libpartikkel.so /usr/lib/csound/plugins/libcs_pvs_ops.so /usr/lib/csound/plugins/libugakbari.so /usr/lib/csound/plugins/libloscilx.so /usr/lib/csound/plugins/libvaops.so /usr/lib/csound/plugins/libudpsend.so /usr/lib/csound/plugins/libserial.so /usr/lib/csound/plugins/libsfont.so /usr/lib/csound/plugins/libcontrol.so /usr/lib/csound/plugins/libstdopcod.so /usr/lib/csound/plugins/libfluidOpcodes.so /usr/lib/csound/plugins/libstdutil.so /usr/lib/csound/plugins/libgabnew.so /usr/lib/csound/plugins/libftest.so /usr/lib/csound/plugins/libsignalflowgraph.so /usr/lib/csound/plugins/librtjack.so /usr/lib/csound/plugins/libtabsum.so /usr/lib/csound/plugins/libmodal4.so /usr/lib/csound/plugins/libvosim.so /usr/lib/csound/plugins/libpitch.so /usr/lib/csound/plugins/libjacko.so /usr/lib/csound/plugins/libjackTransport.so /usr/lib/csound/plugins/libharmon.so /usr/lib/csound/plugins/libbarmodel.so /usr/lib/csound/plugins/libvbap.so /usr/lib/csound/plugins/libptrack.so /usr/lib/csound/plugins/libcsladspa.so /usr/lib/csound/plugins/libscoreline.so /usr/lib/csound/plugins/liburandom.so /usr/lib/csound/plugins/libampmidid.so /usr/lib/csound/plugins/libwidgets.so /usr/lib/csound/plugins/libgrain4.so /usr/lib/csound/plugins/libphysmod.so /usr/lib/csound/plugins/libshape.so /usr/lib/csound/plugins/libeqfil.so /usr/lib/csound/plugins/libmixer.so /usr/lib/csound/plugins/libcrossfm.so /usr/lib/csound/plugins/libpvsbuffer.so /usr/lib/csound/plugins/libmodmatrix.so /usr/lib/csound/plugins/libhrtfnew.so /usr/lib/csound/plugins/libpvoc.so /usr/lib/csound/plugins/libdoppler.so /usr/lib/csound/plugins/libminmax.so /usr/lib/csound/plugins/libfareygen.so /usr/lib/csound/plugins/libdssi4cs.so /usr/lib/csound/plugins/libchua.so /usr/lib/csound/plugins/libscansyn.so /usr/lib/csound/plugins/libfareyseq.so /usr/lib/csound/plugins/librtpulse.so /usr/lib/csound/plugins/libhrtferX.so /usr/lib/csound/plugins/libsystem_call.so /usr/lib/csound/plugins/libpvlock.so /usr/lib/csound/plugins/libcompress.so /usr/lib/csound/plugins/libcpumeter.so /usr/lib/csound/plugins/libbabo.so /usr/lib/csound/plugins/libstackops.so /usr/lib/csound/plugins/libmutexops.so /usr/lib/csound/plugins/libcs_pan2.so === Installing header files === /usr/include/csound/cfgvar.h /usr/include/csound/cscore.h /usr/include/csound/csdl.h /usr/include/csound/csound.h /usr/include/csound/csound.hpp /usr/include/csound/csoundCore.h /usr/include/csound/cwindow.h /usr/include/csound/msg_attr.h /usr/include/csound/OpcodeBase.hpp /usr/include/csound/pstream.h /usr/include/csound/pvfileio.h /usr/include/csound/soundio.h /usr/include/csound/sysdep.h /usr/include/csound/text.h /usr/include/csound/version.h /usr/include/csound/float-version-double.h /usr/include/csound/float-version.h /usr/include/csound/CppSound.hpp /usr/include/csound/filebuilding.h /usr/include/csound/CsoundFile.hpp /usr/include/csound/csPerfThread.hpp === Installing language interfaces === === Installing Localisation files === /usr/share/locale/de/LC_MESSAGES/csound5.mo /usr/share/locale/en_GB/LC_MESSAGES/csound5.mo /usr/share/locale/en_US/LC_MESSAGES/csound5.mo /usr/share/locale/es_CO/LC_MESSAGES/csound5.mo /usr/share/locale/fr/LC_MESSAGES/csound5.mo /usr/share/locale/it/LC_MESSAGES/csound5.mo /usr/share/locale/ro/LC_MESSAGES/csound5.mo === Installing documentation === /usr/share/doc/csound/COPYING /usr/share/doc/csound/ChangeLog /usr/share/doc/csound/INSTALL /usr/share/doc/csound/readme-csound5.txt === Installing Tcl/Tk modules and scripts === /usr/lib/csound/tcl/nsliders.tk /usr/bin/matrix.tk === Installing uninstall script === /usr/bin/uninstall-csound5 === Installing MD5 checksums === /usr/csound5-2011-11-29.md5sums Csound installation has been successfully completed. Before running Csound, make sure that the following environment variables are set: OPCODEDIR=/usr/lib/csound/plugins CSSTRNGS=/usr/share/locale Csound can be uninstalled by running /usr/bin/uninstall-csound5 ~/csound5$export OPCODEDIR=/usr/lib/csound/plugins ~/csound5$cd .. ~$ csound toot.csd time resolution is 1.250 ns 0dBFS level = 32768.0 Csound version 5.14 beta (float samples) Nov 29 2011 libsndfile-1.0.21 UnifiedCSD: toot.csd STARTING FILE Creating options Creating orchestra Creating score stdopcod.c: error: globals already allocated On Tue, Nov 29, 2011 at 3:03 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: you need to clear all the plugins in your OPCODEDIR because they were moved to the csound library and now they're duplicated in your system. |
Date | 2011-11-29 14:42 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] (no subject) |
Not just uninstall, nut run the script cleanup.sh in the build directory and then build again and install You installed plugins that shoul;d not exist ==John > Still don't get it to work (but building from an old 5.13-tarball works > fine)... > > ~/csound5$ sudo rm -rf /usr/lib/csound/plugins/* > ~/csound5$ sudo python install.py > install.py:6: DeprecationWarning: the md5 module is deprecated; use > hashlib > instead > import md5 > Csound5 Linux installer by Istvan Varga > > /usr > *** WARNING: found an already existing installation of Csound > *** Uninstall it ? Type 'yes', or 'no' to quit: yes > --- Removing old Csound installation... > > === Installing executables === > /usr/bin/csound > /usr/bin/cvanal > /usr/bin/dnoise > /usr/bin/envext > /usr/bin/extractor > /usr/bin/het_export > /usr/bin/het_import > /usr/bin/hetro > /usr/bin/lpanal > /usr/bin/lpc_export > /usr/bin/lpc_import > /usr/bin/mixer > /usr/bin/pvanal > /usr/bin/pv_export > /usr/bin/pv_import > /usr/bin/atsa > /usr/bin/pvlook > /usr/bin/scale > /usr/bin/sndinfo > /usr/bin/srconv > /usr/bin/scsort > /usr/bin/extract > /usr/bin/cs > /usr/bin/csb64enc > /usr/bin/makecsd > /usr/bin/scot > /usr/bin/brkpt > /usr/bin/linseg > /usr/bin/tabdes > === Installing libraries === > /usr/lib/libcsound.a > === Installing plugins === > /usr/lib/csound/plugins/librtalsa.so > /usr/lib/csound/plugins/libphisem.so > /usr/lib/csound/plugins/libambicode1.so > /usr/lib/csound/plugins/libudprecv.so > /usr/lib/csound/plugins/libcs_date.so > /usr/lib/csound/plugins/libtabfns.so > /usr/lib/csound/plugins/libpartikkel.so > /usr/lib/csound/plugins/libcs_pvs_ops.so > /usr/lib/csound/plugins/libugakbari.so > /usr/lib/csound/plugins/libloscilx.so > /usr/lib/csound/plugins/libvaops.so > /usr/lib/csound/plugins/libudpsend.so > /usr/lib/csound/plugins/libserial.so > /usr/lib/csound/plugins/libsfont.so > /usr/lib/csound/plugins/libcontrol.so > /usr/lib/csound/plugins/libstdopcod.so > /usr/lib/csound/plugins/libfluidOpcodes.so > /usr/lib/csound/plugins/libstdutil.so > /usr/lib/csound/plugins/libgabnew.so > /usr/lib/csound/plugins/libftest.so > /usr/lib/csound/plugins/libsignalflowgraph.so > /usr/lib/csound/plugins/librtjack.so > /usr/lib/csound/plugins/libtabsum.so > /usr/lib/csound/plugins/libmodal4.so > /usr/lib/csound/plugins/libvosim.so > /usr/lib/csound/plugins/libpitch.so > /usr/lib/csound/plugins/libjacko.so > /usr/lib/csound/plugins/libjackTransport.so > /usr/lib/csound/plugins/libharmon.so > /usr/lib/csound/plugins/libbarmodel.so > /usr/lib/csound/plugins/libvbap.so > /usr/lib/csound/plugins/libptrack.so > /usr/lib/csound/plugins/libcsladspa.so > /usr/lib/csound/plugins/libscoreline.so > /usr/lib/csound/plugins/liburandom.so > /usr/lib/csound/plugins/libampmidid.so > /usr/lib/csound/plugins/libwidgets.so > /usr/lib/csound/plugins/libgrain4.so > /usr/lib/csound/plugins/libphysmod.so > /usr/lib/csound/plugins/libshape.so > /usr/lib/csound/plugins/libeqfil.so > /usr/lib/csound/plugins/libmixer.so > /usr/lib/csound/plugins/libcrossfm.so > /usr/lib/csound/plugins/libpvsbuffer.so > /usr/lib/csound/plugins/libmodmatrix.so > /usr/lib/csound/plugins/libhrtfnew.so > /usr/lib/csound/plugins/libpvoc.so > /usr/lib/csound/plugins/libdoppler.so > /usr/lib/csound/plugins/libminmax.so > /usr/lib/csound/plugins/libfareygen.so > /usr/lib/csound/plugins/libdssi4cs.so > /usr/lib/csound/plugins/libchua.so > /usr/lib/csound/plugins/libscansyn.so > /usr/lib/csound/plugins/libfareyseq.so > /usr/lib/csound/plugins/librtpulse.so > /usr/lib/csound/plugins/libhrtferX.so > /usr/lib/csound/plugins/libsystem_call.so > /usr/lib/csound/plugins/libpvlock.so > /usr/lib/csound/plugins/libcompress.so > /usr/lib/csound/plugins/libcpumeter.so > /usr/lib/csound/plugins/libbabo.so > /usr/lib/csound/plugins/libstackops.so > /usr/lib/csound/plugins/libmutexops.so > /usr/lib/csound/plugins/libcs_pan2.so > === Installing header files === > /usr/include/csound/cfgvar.h > /usr/include/csound/cscore.h > /usr/include/csound/csdl.h > /usr/include/csound/csound.h > /usr/include/csound/csound.hpp > /usr/include/csound/csoundCore.h > /usr/include/csound/cwindow.h > /usr/include/csound/msg_attr.h > /usr/include/csound/OpcodeBase.hpp > /usr/include/csound/pstream.h > /usr/include/csound/pvfileio.h > /usr/include/csound/soundio.h > /usr/include/csound/sysdep.h > /usr/include/csound/text.h > /usr/include/csound/version.h > /usr/include/csound/float-version-double.h > /usr/include/csound/float-version.h > /usr/include/csound/CppSound.hpp > /usr/include/csound/filebuilding.h > /usr/include/csound/CsoundFile.hpp > /usr/include/csound/csPerfThread.hpp > === Installing language interfaces === > === Installing Localisation files === > /usr/share/locale/de/LC_MESSAGES/csound5.mo > /usr/share/locale/en_GB/LC_MESSAGES/csound5.mo > /usr/share/locale/en_US/LC_MESSAGES/csound5.mo > /usr/share/locale/es_CO/LC_MESSAGES/csound5.mo > /usr/share/locale/fr/LC_MESSAGES/csound5.mo > /usr/share/locale/it/LC_MESSAGES/csound5.mo > /usr/share/locale/ro/LC_MESSAGES/csound5.mo > === Installing documentation === > /usr/share/doc/csound/COPYING > /usr/share/doc/csound/ChangeLog > /usr/share/doc/csound/INSTALL > /usr/share/doc/csound/readme-csound5.txt > === Installing Tcl/Tk modules and scripts === > /usr/lib/csound/tcl/nsliders.tk > /usr/bin/matrix.tk > === Installing uninstall script === > /usr/bin/uninstall-csound5 > === Installing MD5 checksums === > /usr/csound5-2011-11-29.md5sums > > Csound installation has been successfully completed. > Before running Csound, make sure that the following environment > variables are set: > OPCODEDIR=/usr/lib/csound/plugins > CSSTRNGS=/usr/share/locale > Csound can be uninstalled by running /usr/bin/uninstall-csound5 > > ~/csound5$export OPCODEDIR=/usr/lib/csound/plugins > ~/csound5$cd .. > ~$ csound toot.csd > time resolution is 1.250 ns > 0dBFS level = 32768.0 > Csound version 5.14 beta (float samples) Nov 29 2011 > libsndfile-1.0.21 > UnifiedCSD: toot.csd > STARTING FILE > Creating options > Creating orchestra > Creating score > stdopcod.c: error: globals already allocated > > > > On Tue, Nov 29, 2011 at 3:03 PM, Victor Lazzarini > |
Date | 2011-11-29 15:11 |
From | Anders Genell |
Subject | Re: [Cs-dev] (no subject) |
Attachments | None None |
That did it! Thanks! /Anders On Tue, Nov 29, 2011 at 3:42 PM, <jpff@cs.bath.ac.uk> wrote: Not just uninstall, nut run the script cleanup.sh in the build directory |
Date | 2011-11-29 16:04 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] (no subject) |
Hi, This is something important to bear in mind for the windows installers (and possibly linux and OS Xas well) for the next version, otherwise upgrading will break Csound for most people, and we'll get a flood of reports and bad press... Maybe there's a way to blacklist the old plugins in the new versions to avoid problems? Cheers, Andrés On Tue, Nov 29, 2011 at 3:11 PM, Anders Genell |
Date | 2011-11-29 16:08 |
From | Felipe Sateler |
Subject | Re: [Cs-dev] (no subject) |
Debian packages will suffer no such issues. As part of the upgrade, the contents of old packages are deleted and the contents of the new packages are written to the filesystem. Possibly the csound plugin loader should stop loading plugins which try to define already defined opcodes. I have no idea if this is easy to do, though. On Tue, Nov 29, 2011 at 13:04, Andres Cabrera |
Date | 2011-11-29 16:09 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] (no subject) |
> Hi, > > This is something important to bear in mind for the windows installers > (and possibly linux and OS Xas well) for the next version, otherwise > upgrading will break Csound for most people, and we'll get a flood of > reports and bad press... > > Maybe there's a way to blacklist the old plugins in the new versions > to avoid problems? > There is a way; plugins check the API version to see if they are compatable. The downside is an API bump. Or we could enforse a barrier at 5.14.xx for xx < 50 ==John ff ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |