Csound Csound-dev Csound-tekno Search About

Re: csound processor optimizations?

Date1999-05-06 05:31
From"Job M. van Zuijlen"
SubjectRe: csound processor optimizations?
As far as I know (others will correct me!), the compiler would have to
take care of any special characteristics/opcodes of the processor you
are using.  Version 5 of the MS C++ compiler has a Pentium setting that
makes use of extensions introduced with this processor.  I suspect that
at some point newer versions of compilers would make use of the advances
of P2 and P3 processors.  I don't think there is a need to change the
source code, recompiling with the right compiler (when available) would
be enough.  However, there may be changes possible in the source code
that would give further speed improvements.  There are few versions of
Csound aimed at real time, such as Gabriel Maldonado's DirectCsound. 
Gabriel may be able to tell you more about the benefits of the new
pentiums and/or whether he did something special to the code.

Job van Zuijlen

Josh Whiting wrote:
> 
> I am wondering if any versions of csound are available that are optimized
> for certain processors, i.e. P2 or P3, or other processors.  I am not really
> technically knowledgeable enough to know what optimizations that might
> include or how to implement them by modifying the source code, but i am at
> least aware that the P3 has a new instruction set that provides a
> significant increase in FPU operations per cycle, and software such as Seer
> System's Reality is optimized to take advantage of it.
> 
> The reason I ask is because I need to use csound in real time.  I don't
> really need any of the advanced synthesis opcodes, just basics and the midi
> features.  I have been using a digital synthesizer (the roland jx-305, which
> is sample-based) and a software sequencer to make my music but I am
> frustrated by the synthesizer's limitations (especially because it isn't
> expandable - i cannot use my own samples).  I see csound as having strong
> potential as a substitute (and its free!).
> 
> so, any help in finding an optimized csound or anything else that would help
> me get it going in real time would be greatly appreciated.
> 
> thanks
> josh whiting