Class ChannelCoarseTuningParameter
Channel Coarse Tuning registered parameter.
Inheritance
ChannelCoarseTuningParameter
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class ChannelCoarseTuningParameter : RegisteredParameter, ITimedObject, INotifyTimeChanged
Constructors
ChannelCoarseTuningParameter()
Declaration
public ChannelCoarseTuningParameter()
ChannelCoarseTuningParameter(sbyte)
Declaration
public ChannelCoarseTuningParameter(sbyte halfSteps)
Parameters
Type |
Name |
Description |
sbyte |
halfSteps |
The number of half-steps to tune by. |
Exceptions
ChannelCoarseTuningParameter(sbyte, ParameterValueType)
Declaration
public ChannelCoarseTuningParameter(sbyte halfSteps, ParameterValueType valueType)
Parameters
Type |
Name |
Description |
sbyte |
halfSteps |
Number of half-steps to tune by. |
ParameterValueType |
valueType |
The type of parameter's data which defines whether it
represents exact value, increment or decrement. |
Exceptions
Fields
MaxHalfSteps
Represents the largest possible number of half-steps to tune by.
Declaration
public const sbyte MaxHalfSteps = 63
Field Value
MinHalfSteps
Represents the smallest possible number of half-steps to tune by.
Declaration
public const sbyte MinHalfSteps = -64
Field Value
Properties
HalfSteps
Gets or sets the number of half-steps to tune by.
Declaration
public sbyte HalfSteps { 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