Table of Contents

Class CreateAnalogDataPayload

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

Represents an operator that creates a message payload that contains sampled analog input data or dynamic sound parameters controlled by the ADC channels. Values are zero if not used.

public class CreateAnalogDataPayload
Inheritance
CreateAnalogDataPayload
Derived
Inherited Members

Properties

Adc0

Gets or sets a value that the sampled analog input value on ADC0.

public ushort Adc0 { get; set; }

Property Value

ushort

Adc1

Gets or sets a value that the sampled analog input value on ADC1.

public ushort Adc1 { get; set; }

Property Value

ushort

AttenuationLeft

Gets or sets a value that the amplitude of the left channel controlled by ADC0.

public ushort AttenuationLeft { get; set; }

Property Value

ushort

AttenuationRight

Gets or sets a value that the amplitude of the right channel controlled by ADC0.

public ushort AttenuationRight { get; set; }

Property Value

ushort

Frequency

Gets or sets a value that the output frequency controlled by ADC1.

public ushort Frequency { get; set; }

Property Value

ushort

Methods

GetMessage(MessageType)

Creates a message that contains sampled analog input data or dynamic sound parameters controlled by the ADC channels. Values are zero if not used.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the AnalogData register.

GetPayload()

Creates a message payload for the AnalogData register.

public AnalogDataPayload GetPayload()

Returns

AnalogDataPayload

The created message payload value.