Csound Csound-dev Csound-tekno Search About

[Cs-dev] dispfft and QuteCsound

Date2009-04-28 13:48
FromVictor.Lazzarini@nuim.ie
Subject[Cs-dev] dispfft and QuteCsound
AttachmentsNone  None  None  None  

Date2009-04-29 10:02
Fromvictor
SubjectRe: [Cs-dev] dispfft and QuteCsound
AttachmentsNone  None  
Further to this, I have fixed the FLTK graphs so that display() does not
keep redrawing all graphs, only the currently displayed one. This fix is
in FL_graph.cpp, so it's only to do with FLTK. In CVS now.
 
QuteCsound could do the same: check what is selected and then only
redraw that one.
 
Victor
----- Original Message -----
Sent: Tuesday, April 28, 2009 1:48 PM
Subject: [Cs-dev] dispfft and QuteCsound

Andres,

I have been looking at this issue and I reckon it's something
you need to address in your client code. 
Basically, it looks like no matter which fft graph you have
displayed, the widget will attempt to redraw the last one
that a Csound instrument asked for. 

The opcode dispfft calls display() which in its turn
calls csoundDrawGraphCallback_(). This appears to be trying
to redraw everything, not only the displayed graph. Then
we get the last graph on the screen, not the one we selected.
If the two opcodes have different display intervals, then there is
alternation of graphs, if you select one that is not the last
being drawn. 

This issue appears to be there on FLTK as well. I will investigate
further.

Regards

Victor


Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,National University of Ireland, Maynooth


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel