Table of Contents

Constructor AnalogDataPayload

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

AnalogDataPayload(ushort, ushort, ushort, ushort, ushort)

Initializes a new instance of the AnalogDataPayload structure.

public AnalogDataPayload(ushort adc0, ushort adc1, ushort attenuationLeft, ushort attenuationRight, ushort frequency)

Parameters

adc0 ushort

The sampled analog input value on ADC0.

adc1 ushort

The sampled analog input value on ADC1.

attenuationLeft ushort

The amplitude of the left channel controlled by ADC0.

attenuationRight ushort

The amplitude of the right channel controlled by ADC0.

frequency ushort

The output frequency controlled by ADC1.