Home Units Hierarchy Routines All identifiers

Class TunadspFFTControl

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TunadspFFTControl = class(tGraphicControl)

Description

FFT Control

Hierarchy

Overview

Methods

Public function displayMBSPBands(numBands: unsigned; values: punaMBSPBands; nSamples: unsigned): bool;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;
Protected procedure onFFTDone(sender: tObject); virtual;
Protected procedure Paint(); override;
Protected procedure paintOnDC(dc: hDC); virtual;

Properties

Published property active: boolean read getActive write setActive default false;
Published property Align;
Published property Anchors;
Published property bandColorGrid: tColor index 3 read getBandColor write setBandColor default cldef_BandGrid;
Published property bandColorLow: tColor index 0 read getBandColor write setBandColor default cldef_BandLow;
Published property bandColorMed: tColor index 1 read getBandColor write setBandColor default cldef_BandMed;
Published property bandColorTop: tColor index 2 read getBandColor write setBandColor default cldef_BandTop;
Published property bandGap: unsigned read f_bandGap write f_bandGap default 0;
Published property bandWidth: unsigned read f_bandWidth write f_bandWidth default 1;
Published property channel: unsigned read getChannel write setChannel default 0;
Published property color: tColor read getColorBack write setColorBack default clBlack;
Published property drawGrid: boolean read f_drawGrid write f_drawGrid default true;
Published property drawStyle: TunadspFFTDrawStype read f_dstyle write f_dstyle default unaFFTDraw_Solid;
Published property fallback: int read f_fallback write setFallback default 80;
Public property fft: TunadspFFTPipe read f_pipe;
Published property Font;
Published property interval: unsigned read getInterval write setInterval default 100;
Published property OnClick;
Published property OnContextPopup;
Published property OnDblClick;
Published property OnMouseDown;
Published property OnMouseMove;
Published property OnMouseUp;
Published property OnMouseWheel;
Published property OnMouseWheelDown;
Published property OnMouseWheelUp;
Published property OnResize;
Published property ParentColor;
Published property ParentFont;
Published property ParentShowHint;
Published property PopupMenu;
Published property steps: unsigned read getSteps write setSteps default 8;
Published property Visible;

Description

Methods

Public function displayMBSPBands(numBands: unsigned; values: punaMBSPBands; nSamples: unsigned): bool;
 
Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 
Protected procedure onFFTDone(sender: tObject); virtual;
 
Protected procedure Paint(); override;
 
Protected procedure paintOnDC(dc: hDC); virtual;
 

Properties

Published property active: boolean read getActive write setActive default false;

Specifies whether this control is active and should display bars.

Published property Align;
 
Published property Anchors;
 
Published property bandColorGrid: tColor index 3 read getBandColor write setBandColor default cldef_BandGrid;

Color of grid.

Published property bandColorLow: tColor index 0 read getBandColor write setBandColor default cldef_BandLow;

Color of low portion of a bar.

Published property bandColorMed: tColor index 1 read getBandColor write setBandColor default cldef_BandMed;

Color of medium portion of a bar.

Published property bandColorTop: tColor index 2 read getBandColor write setBandColor default cldef_BandTop;

Color of top portion of a bar.

Published property bandGap: unsigned read f_bandGap write f_bandGap default 0;

Gap between bars/bands in pixels.

Published property bandWidth: unsigned read f_bandWidth write f_bandWidth default 1;

Width of each bar/band in pixels.

Published property channel: unsigned read getChannel write setChannel default 0;

Channle number to display spectrum for.

Published property color: tColor read getColorBack write setColorBack default clBlack;

Background color.

Published property drawGrid: boolean read f_drawGrid write f_drawGrid default true;

Draw grid.

Published property drawStyle: TunadspFFTDrawStype read f_dstyle write f_dstyle default unaFFTDraw_Solid;

Draw style.

Published property fallback: int read f_fallback write setFallback default 80;

Fallback speed, 0 (instant) or from 1 (quite slow) to 99 (quite fast).

Public property fft: TunadspFFTPipe read f_pipe;

Internal data pipe.

Published property Font;
 
Published property interval: unsigned read getInterval write setInterval default 100;

Update interval (milliseconds).

Published property OnClick;
 
Published property OnContextPopup;
 
Published property OnDblClick;
 
Published property OnMouseDown;
 
Published property OnMouseMove;
 
Published property OnMouseUp;
 
Published property OnMouseWheel;
 
Published property OnMouseWheelDown;
 
Published property OnMouseWheelUp;
 
Published property OnResize;
 
Published property ParentColor;
 
Published property ParentFont;
 
Published property ParentShowHint;
 
Published property PopupMenu;
 
Published property steps: unsigned read getSteps write setSteps default 8;

FFT steps = log2(windowSize).

Published property Visible;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09