libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
FFT Graph

Draw advanced FFT graph on device context (HDC) or window (HWND).

libZPlay library implements advanced FFT graph drawing. With one function you can draw advanced FFT graph on device context or window handle. Graph is based on data in wave buffer and is fully synchronized with audio data. User just need to refresh drawing with custom rate (e.g. 10 times in second, or faster). 

There are 4 types of FFT graph (line, area, bar, spectrum): 

 

Graph type 
Screenshot 
Lines 
 
Area 
 
Bars 
 
Spectrum 
 

 

 

There are 2 types of horizontal scale ( linear, logarithmic): 

 

Graph type 
Screenshot 
Linear 
 
Logarithmic 
 

 

 

User can also change area transparency, subgrid, ... You can draw graph on device context (HDC) or window control (HWND). 

 

You can set custom background bitmap

 

To draw and configure FFT graph use:

 

Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr