Table of Contents

Class CreatePlaySoundOrFrequencyPayload

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

Represents an operator that creates a message payload that starts the sound index (if less than 32) or frequency (if greater or equal than 32).

public class CreatePlaySoundOrFrequencyPayload
Inheritance
CreatePlaySoundOrFrequencyPayload
Derived
Inherited Members

Properties

PlaySoundOrFrequency

Gets or sets the value that starts the sound index (if less than 32) or frequency (if greater or equal than 32).

public ushort PlaySoundOrFrequency { get; set; }

Property Value

ushort

Methods

GetMessage(MessageType)

Creates a message that starts the sound index (if less than 32) or frequency (if greater or equal than 32).

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the PlaySoundOrFrequency register.

GetPayload()

Creates a message payload for the PlaySoundOrFrequency register.

public ushort GetPayload()

Returns

ushort

The created message payload value.