Property ALSignalGen.TALSignalGen.Asymmetry

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' Asymmetry : Real '''read''' FAsymmetry '''write''' SetAsymmetry;
+
'''property''' Asymmetry : Real '''read''' FAsymmetry '''write''' SetAsymmetry '''default''' 0;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' double Asymmetry = { '''read'''=FAsymmetry,  '''write'''=SetAsymmetry };
+
'''__property''' double Asymmetry = { '''read'''=FAsymmetry,  '''write'''=SetAsymmetry,  '''default'''=0 };
 
</code>
 
</code>
  

Revision as of 20:29, 10 June 2013

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 Asymmetry : Real read FAsymmetry write SetAsymmetry default 0;

C++ Builder:

__property double Asymmetry = { read=FAsymmetry, write=SetAsymmetry, default=0 };

Summary

The Amplitude of generated triangle signal.

Description

Use this property to specify the Asymmetry for triangle signals.


Delphi example:

ALSignalGen1.SignalType := atTriangle;
ALSignalGen1.Asymmetry := 0.3;

C++ Builder example:

ALSignalGen1->SignalType = atTriangle;
ALSignalGen1->Asymmetry = 0.3;

Visual C++(MFC/Win32) example:

ALSignalGen1.SignalType = atTriangle;
ALSignalGen1.Asymmetry = 0.3;

C# example:

signalGen1.SignalType = Mitov.AudioLab.SignalType.Triangle;
signalGen1.Asymmetry = 0.3;

Visual C++/CLI example:

signalGen1->SignalType = Mitov.AudioLab::SignalType::Triangle;
signalGen1->Asymmetry = 0.3;

C# example:

signalGen1.SignalType = Mitov.AudioLab.SignalType.Triangle;
signalGen1.Asymmetry = 0.3;

VB example:

SignalGen1.SignalType = Mitov.AudioLab.SignalType.Triangle
SignalGen1.Asymmetry = 0.3

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox