Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] VC02 segfaulting tests

Date2006-04-10 11:20
FromIstvan Varga
SubjectRe: [Cs-dev] VC02 segfaulting tests
AttachmentsNone  fftw_wrapper.c  

Date2006-04-11 15:23
FromIstvan Varga
SubjectRe: [Cs-dev] VC02 segfaulting tests
AttachmentsNone  fftw_wrapper.c.gz  

Date2006-04-11 16:32
FromIstvan Varga
SubjectRe: [Cs-dev] VC02 segfaulting tests
AttachmentsNone  

Date2006-04-11 23:49
FromIain Duncan
SubjectRe: [Cs-dev] VC02 segfaulting tests
Thanks Istvan. I'm not clear and how this works though, will using this
replace the old vco2 code then?

Thanks
Iain

Istvan Varga wrote:
> Here is a new version with a minor fix and a few improvements.
> 
> On Monday 10 April 2006 12:20, Istvan Varga wrote:
> 
> 
>>Here is a plugin that lets you use FFTW instead of the default FFT code
>>in Csound (this version only supports real FFT with power of two sizes,
>>but that is used by almost all opcodes anyway).
>>
>>Build it with one of the following command lines (replace the include
>>path as needed, and make sure that the file csGblMtx.h is also found):
>>
>>gcc -Wall -O2 -shared -fPIC -I/usr/local/include/csound fftw_wrapper.c  \
>>    -o libfftw_wrapper.so -lfftw3 -lm -lpthread
>>
>>  (for single precision Csound and double precision FFTW)
>>
>>gcc -Wall -O2 -shared -fPIC -DFFTW_USE_FLOAT                            \
>>    -I/usr/local/include/csound fftw_wrapper.c -o libfftw_wrapper.so    \
>>    -lfftw3f -lm -lpthread
>>
>>  (for single precision Csound and single precision FFTW - this is
>>   faster than the above, and is recommended if you have the FFTW library
>>   with 32 bit floats)
>>
>>gcc -Wall -O2 -shared -fPIC -DUSE_DOUBLE -I/usr/local/include/csound    \
>>    fftw_wrapper.c -o libfftw_wrapper.so -lfftw3 -lm -lpthread
>>
>>  (for double precision Csound and double precision FFTW)
>>
>>So far, I have only tested the first type of build (the others may or may
>>not work), and the code is not quite perfect yet, but if it does work for
>>you, then this plugin may be useful.
>>
>>On Sunday 09 April 2006 12:55, Iain Duncan wrote:
>>
>>
>>>I had it working running 32bit linux on this chip, which was fine. I
>>>have only recently switched to pure 64 bit gentoo ( and you can see why
>>>I waited! ). If I can't get csound performing better than with 32 bit, I
>>>will likely switch back as that's really the only reason for the fast
>>>machine.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net