Hello,
Is there new versions of the [sndfiler] object or something similar (an object similar to [soundfiler] that could read ogg sound files into tables ) that comes with pd-extended compilation? Why pd-extended can't compile this?
I could not find the object at sourceforge svn and the version at http://grh.mur.at/software/sndfiler.html is not compiling here
headers at svn
sorry if i 'm just lost...
thanks
glerm
Hey,
now I could compile, I was using the wrong Makefile:
make -f Makefile.pd_main pd_linux
with the pd sources of sourceforge svn ...
I also compiled the threadlib from sourceforge svn (/externals/grh/.) and seems ok ...
But I got an error at puredata (version 041.4 extended 2009 01 21)
/usr/lib/pd/extra/sndfiler.pd_linux: /usr/lib/pd/extra/sndfiler.pd_linux: undefined symbol: fifo_init sndfiler ... couldn't create
some clues?
thanx
glerm
Hallo!
make -f Makefile.pd_main pd_linux
with the pd sources of sourceforge svn ...
I also compiled the threadlib from sourceforge svn (/externals/grh/.) and seems ok ...
Fine !
But I got an error at puredata (version 041.4 extended 2009 01 21)
/usr/lib/pd/extra/sndfiler.pd_linux: /usr/lib/pd/extra/sndfiler.pd_linux: undefined symbol: fifo_init sndfiler ... couldn't create
Hm - did you also load the threadlib external ? (because this is needed) So you have to _first_ load the threadlib, and the the sndfiler !
BTW: if you don't need the threaded soundfiler it is maybe better to just convert the ogg files to wav and then read it with the normal soundfiler object !
LG Georg
Hm - did you also load the threadlib external ? (because this is needed) So you have to _first_ load the threadlib, and the the sndfiler !
I tried with
pd -lib threadlib
then
threadlib vers.0.1, library for threaded patching and externals 2005, by Georg Holzmann grh@mur.at heavily based on pd_devel code by Tim Blechmann WARNING: this is very experimental and may crash your patches !
ok.
but sndfiler still not working (same error /usr/lib/pd/extra/sndfiler.pd_linux: /usr/lib/pd/extra/sndfiler.pd_linux: undefined symbol: fifo_init sndfiler ... couldn't create )
BTW: if you don't need the threaded soundfiler it is maybe better to just convert the ogg files to wav and then read it with the normal soundfiler object !
I like to use your external because ogg files save lots of disk space, and it's easier to distribute patches with the samples attached...
Why can't pd-extended compile sndfiler ?
thanx
glerm
Hallo!
I tried with
pd -lib threadlib
then
threadlib vers.0.1, library for threaded patching and externals 2005, by Georg Holzmann <grh@mur.at mailto:grh@mur.at> heavily based on pd_devel code by Tim Blechmann WARNING: this is very experimental and may crash your patches !
ok.
but sndfiler still not working (same error /usr/lib/pd/extra/sndfiler.pd_ linux: /usr/lib/pd/extra/sndfiler.pd_linux: undefined symbol: fifo_init sndfiler ... couldn't create )
OK - so then there must be a problem during linking I guess ... I have to look into it.
I like to use your external because ogg files save lots of disk space, and it's easier to distribute patches with the samples attached...
Yes I understand - but OTOH it is much harder do distribute a patch which uses sndfiler, because everyone has to compile it ;) (which can be quite tricky - especially for non-pd experts)
Why can't pd-extended compile sndfiler ?
I think I tried to add sndfiler to the pd-extended build system (which should be quite straight forward) a year ago - but did not finish because it has a dependecy to libsndfile - then pd-extended would need to distribute this library as well ...
But I agree that this is the way to go, then it should just work.
LG Georg
On Feb 13, 2009, at 12:00 PM, Georg Holzmann wrote:
Hallo!
I tried with
pd -lib threadlib
then
threadlib vers.0.1, library for threaded patching and externals 2005, by Georg Holzmann <grh@mur.at mailto:grh@mur.at> heavily based on pd_devel code by Tim Blechmann WARNING: this is very experimental and may crash your patches !
ok.
but sndfiler still not working (same error /usr/lib/pd/extra/sndfiler.pd_ linux: /usr/lib/pd/extra/sndfiler.pd_linux: undefined symbol:
fifo_init sndfiler ... couldn't create )OK - so then there must be a problem during linking I guess ... I have to look into it.
I like to use your external because ogg files save lots of disk
space, and it's easier to distribute patches with the samples attached...Yes I understand - but OTOH it is much harder do distribute a patch which uses sndfiler, because everyone has to compile it ;) (which can be quite tricky - especially for non-pd experts)
Why can't pd-extended compile sndfiler ?
I think I tried to add sndfiler to the pd-extended build system (which should be quite straight forward) a year ago - but did not finish because it has a dependecy to libsndfile - then pd-extended would need to distribute this library as well ...
But I agree that this is the way to go, then it should just work
LG Georg
libsndfile is installed on all the GNU/Linux and Mac OS X auto-build
servers. I think it was installed on the Windows server too, but
that's down due to a dead drive. (to return soon).
.hc
As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously. - Benjamin Franklin
Hallo, glerm soares hat gesagt: // glerm soares wrote:
Is there new versions of the [sndfiler] object or something similar (an object similar to [soundfiler] that could read ogg sound files into tables ) that comes with pd-extended compilation? Why pd-extended can't compile this?
You can also use oggread~ with tabwrite~ to load ogg files into tables. Use an upsampled subpatch to do this faster than the file's duration as in the attached example.
Frank
2009/2/13 Frank Barknecht fbar@footils.org
Hallo,
You can also use oggread~ with tabwrite~ to load ogg files into tables. Use an upsampled subpatch to do this faster than the file's duration as in the attached example.
wow
thanks a lot Frank!
this example is very rich and opened my mind... :)
cheers!
glerm
Hallo, glerm soares hat gesagt: // glerm soares wrote:
this example is very rich and opened my mind... :)
It's the same hack Miller mentioned some time ago to work around soundfiler's non-threadedness.
Frank