On Friday 07 April 2006 09:52, matt ingalls wrote: > + pvanal: -g doesn't throw error, but no graphics are produced > + lpanal: unrecognised flag -g Graph displays are now restored for pvanal (but not lpanal yet). As these were only implemented for the old PVOC code which has been removed, the graphs had to be reimplemented and now may not behave exactly the same way as in 4.xx. Currently, up to 30 frames can be displayed; if the file is longer, it is split up into 30 segments, and the average magnitudes over those 30 segments are shown. Also, if the file has multiple channels, the channels are averaged for the FFT displays. If your host application does not set up its own graph callbacks, the FLTK plugin that is included with the canonical distribution is used. To register your own display implementation, call these functions between csoundPreCompile() and csoundCompile(): csoundSetMakeGraphCallback(csound, makeGraphCallback); csoundSetDrawGraphCallback(csound, drawGraphCallback); csoundSetKillGraphCallback(csound, killGraphCallback); csoundSetMakeXYinCallback(csound, makeXYinCallback); csoundSetReadXYinCallback(csound, readXYinCallback); csoundSetKillXYinCallback(csound, killXYinCallback); csoundSetExitGraphCallback(csound, exitGraphCallback); csoundSetIsGraphable(csound, 1); ------------------------------------------------------- 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