Property ALSignalGen.TALSignalGen.CurrentPhase

From Mitov Wiki Doc
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TALSignalGen

Contents

Syntax

Delphi:

property CurrentPhase : Single read FIntPhase;

C++ Builder:

__property float CurrentPhase = { read=FIntPhase };

Summary

Returns the current phase of the signal generator

Description

Use this property to get the current internal phase of the signal generator. It is meaningful only when the generator is active.

Use this property to obtain what is the stating phase in radians of the next buffer to be generated.


Delphi example:

var APhase : Real;
APhase := ALSignalGen1.CurrentPhase;

C++ Builder example:

double APhase = ALSignalGen1->CurrentPhase;

Visual C++(MFC/Win32) example:

double APhase = ALSignalGen1.CurrentPhase;

C# example:

double APhase = signalGen1.CurrentPhase;

Visual C++/CLI example:

double APhase = signalGen1->CurrentPhase;

C# example:

double APhase = signalGen1.CurrentPhase;

VB example:

Dim APhase As Double = signalGen1.CurrentPhase

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox