Class ChannelFineTuningParameter
Channel Fine Tuning registered parameter.
Inheritance
ChannelFineTuningParameter
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class ChannelFineTuningParameter : RegisteredParameter, ITimedObject, INotifyTimeChanged
Constructors
ChannelFineTuningParameter()
Declaration
public ChannelFineTuningParameter()
ChannelFineTuningParameter(float)
Declaration
public ChannelFineTuningParameter(float cents)
Parameters
Type |
Name |
Description |
float |
cents |
The number of cents to tune by. |
Exceptions
ChannelFineTuningParameter(float, ParameterValueType)
Declaration
public ChannelFineTuningParameter(float cents, ParameterValueType valueType)
Parameters
Type |
Name |
Description |
float |
cents |
The number of cents to tune by. |
ParameterValueType |
valueType |
The type of parameter's data which defines whether it
represents exact value, increment or decrement. |
Exceptions
Fields
MaxCents
Represents the largest possible number of cents to tune by.
Declaration
public const float MaxCents = 100
Field Value
MinCents
Represents the smallest possible number of cents to tune by.
Declaration
public const float MinCents = -100
Field Value
Properties
Cents
Gets or sets the number of cents to tune by.
Declaration
public float Cents { get; set; }
Property Value
Exceptions
Methods
Clone()
Clones object by creating a copy of it.
Declaration
public override ITimedObject Clone()
Returns
Overrides
GetData(out SevenBitNumber, out SevenBitNumber?)
Returns MSB and LSB that represent data of the current parameter.
Declaration
protected override void GetData(out SevenBitNumber msb, out SevenBitNumber? lsb)
Parameters
Overrides
GetIncrementStepsCount()
Returns the number of increment/decrement steps based on the value of the
current parameter.
Declaration
protected override int GetIncrementStepsCount()
Returns
Type |
Description |
int |
The number of increment/decrement steps based on the value of the
current parameter. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
A string that represents the current object. |
Overrides
Implements
Extension Methods