hey,
what do you ppl use to play compressed soundfiles in pd these days? mp3play seems to have disappeared and there's only the old d_mp3 at the iem ftp server. there doesn't seem to be any oggplay and pdogg doesn't seem to contain anything for playing soundfiles. recommendations?
thanks, ub
mhhm, cool, but build of 0.13 fails at:
source='ReadFlac.cpp' object='ReadFlac.o' libtool=no
depfile='.deps/ReadFlac.Po' tmpdepfile='.deps/ReadFlac.TPo'
depmode=gcc /bin/sh ../depcomp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/
-I/usr/local/lib/pd/flext/ -I../include/ -DUNIX -Wno-deprecated -Wall
-Wimplicit -Wunused -Wmissing-prototypes -O1 -I/usr/local/lib/pd/flext
-DFLEXT_SYS=2 -DFLEXT_THREADS -DFLEXT_SHARED -DREAD_VORBIS
-DREAD_MAD -c -o ReadFlac.o test -f 'ReadFlac.cpp' || echo './'
ReadFlac.cpp
g++ -DFLEXT_SYS=2 -DFLEXT_THREADS -DFLEXT_SHARED -DREAD_VORBIS
-DREAD_MAD -L/usr/local/lib -ldl -shared -o readanysf~.pd_linux
Fifo.o Input.o InputFile.o InputStream.o ReadRaw.o Readsf.o main.o
ReadMad.o ReadVorbis.o ReadFlac.o -lflext -lpthread -lsamplerate
-lflext -logg -lvorbis -lvorbisfile -lmad
with:
/usr/bin/ld: cannot find -lflext
flextpath is usr/local/lib/pd/flext/ (default), frsehly installed 0.4.6
thanks for any suggestions or ideas,
ub
patrick wrote:
http://aug.ment.org/readanysf/download.php readanysf~
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
On Sat, 18 Sep 2004, ub wrote:
/usr/bin/ld: cannot find -lflext flextpath is usr/local/lib/pd/flext/ (default), frsehly installed 0.4.6 thanks for any suggestions or ideas, ub
you will need , unfortunately, flext 4.5
for some reason that I simply cannot figure out, flext 4.6 causes bad things to happen when you de-allocate memory.
so, to compile you will need to make your system "see" the flext libraries for compiling.
this could mean adding '/usr/local/lib/pd/flext/' to /etc/ld.so.conf and running 'ldconfig' as root, or if that doesn't work for some reason (doesn't work on my system with flext), you need to move the libflext.so to /usr/local/lib or some place else on your system that is searched for linkig libraries.
-august.
Hey August,
you will need , unfortunately, flext 4.5
for some reason that I simply cannot figure out, flext 4.6 causes bad things to happen when you de-allocate memory.
Do you have an idea which bad things, or do you have a stripped-down example showing that behavior?
best greetings, Thomas
I don't have a computer to test with right now, but I believe it would crash PD everytime you called a deconstrucor in a class.
any ideas?
A change that has been made in flext is that new and delete operators are now global and get their memory from PD's getbytes. That could be a source of problems, but only if memory is reserved in one DLL and destroyed in another one, with different new and delete scopes used. You could try compiling flext with FLEXT_NOGLOBALNEW defined, which makes flext allocate memory with the normal C library functions.
servas, Thomas
On Sat, 18 Sep 2004, august wrote:
Do you have an idea which bad things, or do you have a stripped-down example showing that behavior?
I don't have a computer to test with right now, but I believe it would crash PD everytime you called a deconstrucor in a class.
you know you're approaching an artistic enclave when destructors are called "deconstructors". In Pd it's simply called a "free function", but if you open the jMax .h files you can read "deconstructor" in the equivalent spot.
In one of my programs I've also had something called a deconstructor, but it wasn't a free-func, it was a serializer, much like a "save function" in Pd (savefn). (And I thought I was being funny...)
Mathieu Bouchard http://artengine.ca/matju
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I am also trying to install (with pd 0.38-0test4), and I got "cannot find-lflext" with both flext 0.4.6 (from cvs) and then also when I installed 0.4.5 afterwards. Perhaps there is a different problem?
matt
august wrote: | | On Sat, 18 Sep 2004, ub wrote: | | |>/usr/bin/ld: cannot find -lflext |>flextpath is usr/local/lib/pd/flext/ (default), frsehly installed 0.4.6 |>thanks for any suggestions or ideas, |>ub | | | | you will need , unfortunately, flext 4.5 | | for some reason that I simply cannot figure out, flext 4.6 causes bad | things to happen when you de-allocate memory. | | so, to compile you will need to make your system "see" the flext libraries | for compiling. | | this could mean adding '/usr/local/lib/pd/flext/' to /etc/ld.so.conf and | running 'ldconfig' as root, or if that doesn't work for some reason | (doesn't work on my system with flext), you need to move the libflext.so | to /usr/local/lib or some place else on your system that is searched for | linkig libraries. | | -august. | | _______________________________________________ | PD-list@iem.at mailing list | UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list |
Matthew Shanley E-mail: mshanley@alum.rpi.edu
GnuPG Public Key ID: 0x71BB0EC1
august wrote:
this could mean adding '/usr/local/lib/pd/flext/' to /etc/ld.so.conf and running 'ldconfig' as root, or if that doesn't work for some reason (doesn't work on my system with flext), you need to move the libflext.so to /usr/local/lib or some place else on your system that is searched for linkig libraries.
yep, worksforme now, but i also had to copy/symlink libflext.so to /usr/local/lib