[PD] sndfiler - threaded soundfiler
Lorenz Schori
lorenz.schori at gmx.ch
Sun Nov 20 23:43:40 CET 2005
hallo georg
thank you. great to have those threading issues optionaly solved
seperate from pd-devel. got it to compile and sort of run on macosx/
pd-miller-0.39. there are some issues in sndfiler/src/Makefile.pd_main:
line 98: here you should give at least -lsndfile. -L/sw/lib and -L/
opt/local/lib are for fink/darwinports. perhaps this could be
somewhere else (LDPATH).
LD_DARWIN = -bundle -undefined suppress -flat_namespace \
-bundle_loader $(PD_PATH)/bin/pd --export-dynamic \
-L/sw/lib -L/opt/local/lib -lsndfile
line 103: should be like this:
$(LD) $(LD_DARWIN) -o $*.pd_darwin $*.o $(LIB)
after some time playing around and getting gap free audio (again
thank you!) pd died. among others it left those lines in the crash.log:
Thread 4 Crashed:
0 <<00000000>> 0xffff8a48 __memcpy + 680 (cpu_capabilities.h:189)
1 pd 0x000378b4 copybytes + 56
(m_memory.c:48)
2 sndfiler.pd_darwin 0x003e4578 sndfiler_t_resize + 204
(bundle1.s:283)
3 sndfiler.pd_darwin 0x003e3a64 sndfiler_thread + 76
(bundle1.s:283)
4 libSystem.B.dylib 0x9002b200 _pthread_body + 96
probably this was caused by me loading files, resizing arrays and
trying to tabread~ them at the same time :). probably it's because i
compiled them with gcc 4, i'll try 3.3 tomorrow. anyway great work.
lorenz
Am 20.11.2005 um 22:05 schrieb Georg Holzmann:
> Hallo!
>
> a threaded soundfiler for PD using libsndfile.
> by Tim Blechmann for pd_devel - also adapted now to have a threaded
> resize and to work with main pd.
>
> binaries+source here:
> http://grh.mur.at/software/sndfiler.html
> or in cvs ...
>
> LG
> Georg
>
> PS: README file:
>
> REQUIREMENTS:
> - pd >= 0.39
> - libsndfile
> - for main PD you will also need threadlib:
> http://grh.mur.at/software/threadlib.html
>
> FEATURES:
> - threaded reading of multichannel soundfiles into arrays
> - threaded resize of arrays
>
>
> For more information look at the help patch !
>
> See the file INSTALL for installation instructions.
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
> listinfo/pd-list
>
More information about the Pd-list
mailing list